![]() |
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
|
Poisson solver using finite element.
Solve Poisson equation on irregular cartesian domain with finite elements.
Derived types and interfaces | |
| type | sll_t_poisson_2d_fem |
| Structure to solve Poisson equation on 2d domain. Mesh is cartesian and could be irregular. More... | |
| interface | sll_o_create |
| Initialize the solver. More... | |
| interface | sll_o_solve |
| Compute the electric potential. More... | |
Functions/Subroutines | |
| subroutine | initialize_poisson_2d_fem (self, x, y, nn_x, nn_y) |
| Initialize Poisson solver object using finite elements method. More... | |
| integer function | som (nx, i, j, k) |
| Get the node index. More... | |
| subroutine | solve_poisson_2d_fem (self, ex, ey, rho) |
| Solve the poisson equation. More... | |
|
private |
Initialize Poisson solver object using finite elements method.
| self | solver data structure | |
| [in] | nn_x | number of cells along x |
| [in] | nn_y | number of cells along y |
| x | x nodes coordinates | |
| y | y nodes coordinates |
Definition at line 57 of file sll_m_poisson_2d_fem.F90.
|
private |
Solve the poisson equation.
| self | Poisson solver object |
| ex | x electric field |
| ey | y electric field |
| rho | charge density |
Definition at line 221 of file sll_m_poisson_2d_fem.F90.
|
private |
Get the node index.
Definition at line 204 of file sll_m_poisson_2d_fem.F90.
1.9.1