We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When taking the curl of a scalar function in 2D, this should be interpreted as the vector Curl operator, whose result is a vector with two components.
SymPDE thinks instead that the result is scalar, as can be checked with this code:
from sympde.topology import Square, ScalarFunctionSpace, element_of from sympde.calculus import curl domain = Square('Omega') V = ScalarFunctionSpace('V', domain) u = element_of(V, name='u') expr = curl(u) print(expr.is_scalar)
This incorrectly prints True to terminal, instead of False.
True
False
The correct result is obtained by replacing curl with rot.
curl
rot
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When taking the curl of a scalar function in 2D, this should be interpreted as the vector Curl operator, whose result is a vector with two components.
SymPDE thinks instead that the result is scalar, as can be checked with this code:
This incorrectly prints
True
to terminal, instead ofFalse
.The correct result is obtained by replacing
curl
withrot
.The text was updated successfully, but these errors were encountered: