Skip to content

Modification of M1perp weightedmassoperator, addition of the class Lo…#238

Draft
emilegrivet wants to merge 4 commits intodevelfrom
modification_of_M1perp_WeightedMassOperator
Draft

Modification of M1perp weightedmassoperator, addition of the class Lo…#238
emilegrivet wants to merge 4 commits intodevelfrom
modification_of_M1perp_WeightedMassOperator

Conversation

@emilegrivet
Copy link
Copy Markdown

Correction of the Weighted Mass Operator M1perp to take into account any distribution of magnetic field equilibrium, and modification of the tests in propagators/tests/test_gyrokinetic_poisson.py to verify the implementation of M1perp.

Two tests have been implemented.
The first one is a comparison between two resolutions of a 3d Poisson equation with the diffusion matrix M1 and M1perp, the solutions are then integrated along the third direction (parallel to the magnetic field) and compared (they should be equal).
The second one is a comparison between two resolutions of a Poisson equation in a 3d domain, the first is directly performed over the whole with M1perp. The other resolution consist of multiple of resolutions of 2d Poisson equation along perpendicular (to the magnetic field) slices of the domain. These two resolutions should provide the same results.

…calProjectionMatrix in feec/utilities.py, and modification and addition of two tests in propagators/test_gyrokinetic_poisson.py for M1perp testing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant