![]() |
MFEM v4.9.0
Finite element discretization library
|
Class for simulating incompressible Schrodinger flow. More...
#include <schrodinger_flow.hpp>
Public Member Functions | |
| IncompressibleBaseFlow (Options &config, TSchrodingerSolver &solver) | |
| void | Setup () |
| Setup the solver. | |
| void | Step (const real_t &t) |
| This function performs a single time step of the solver. | |
| void | ConstrainJetVelocity () |
| Restricts the velocity of the wavefunctions. | |
Public Attributes | |
| TSchrodingerSolver & | solver |
| const int | ndofs |
| real_t | omega |
| TGridFunction | isJet |
| TGridFunction | phase |
| TGridFunction | vx |
| TGridFunction | vy |
| TGridFunction | vz |
Class for simulating incompressible Schrodinger flow.
Definition at line 704 of file schrodinger_flow.hpp.
|
inline |
Definition at line 712 of file schrodinger_flow.hpp.
|
inline |
Restricts the velocity of the wavefunctions.
Definition at line 811 of file schrodinger_flow.hpp.
|
inline |
Setup the solver.
This function initializes the solver by setting up the phase, the Jet vectors and normalizing the wave functions. It also adds circular vortex rings if leapfrog is enabled.
Definition at line 733 of file schrodinger_flow.hpp.
|
inline |
This function performs a single time step of the solver.
Definition at line 783 of file schrodinger_flow.hpp.
| TGridFunction mfem::IncompressibleBaseFlow< TSchrodingerSolver, TGridFunction >::isJet |
Definition at line 710 of file schrodinger_flow.hpp.
| const int mfem::IncompressibleBaseFlow< TSchrodingerSolver, TGridFunction >::ndofs |
Definition at line 708 of file schrodinger_flow.hpp.
| real_t mfem::IncompressibleBaseFlow< TSchrodingerSolver, TGridFunction >::omega |
Definition at line 709 of file schrodinger_flow.hpp.
| TGridFunction mfem::IncompressibleBaseFlow< TSchrodingerSolver, TGridFunction >::phase |
Definition at line 710 of file schrodinger_flow.hpp.
| TSchrodingerSolver& mfem::IncompressibleBaseFlow< TSchrodingerSolver, TGridFunction >::solver |
Definition at line 707 of file schrodinger_flow.hpp.
| TGridFunction mfem::IncompressibleBaseFlow< TSchrodingerSolver, TGridFunction >::vx |
Definition at line 710 of file schrodinger_flow.hpp.
| TGridFunction mfem::IncompressibleBaseFlow< TSchrodingerSolver, TGridFunction >::vy |
Definition at line 710 of file schrodinger_flow.hpp.
| TGridFunction mfem::IncompressibleBaseFlow< TSchrodingerSolver, TGridFunction >::vz |
Definition at line 710 of file schrodinger_flow.hpp.