Closed lecoanet closed 7 months ago
@kburns pointed out that the error goes away if we change the basis of the NCC to zbasis.derivative_basis(1)
. Of course at that stage the matrix is singular, but that is the correct behavior. Nevertheless, the code should apply the correct conversion to the NCC without the user having to change the NCC basis.
This should be fixed with https://github.com/DedalusProject/dedalus/commit/b00863365cc230244dbe6e5e171445fb5b376367.
Kyle confirms this fixes the issue.
I'm trying to solve the following eigenvalue problem using Cartesian coordinates where u depends on y (ComplexFourier) and z (ChebyshevT) only:
When trying to build the matrices, I run into the following error:
This seems to be related to both the cross product and the curl operations.
Kyle Augustson found this issue.