Neko
0.8.1
A portable framework for high-order spectral element flow simulations
|
Wrapper contaning and executing the fluid source terms. More...
Public Member Functions | |
procedure, pass(this) | init => fluid_source_term_init |
Constructor. More... | |
procedure, pass(this) | free => fluid_source_term_free |
Destructor. More... | |
procedure, pass(this) | compute => fluid_source_term_compute |
Add all the source terms to the passed right-hand side fields. More... | |
Public Attributes | |
class(source_term_wrapper_t), dimension(:), allocatable | source_terms |
Array of ordinary source terms. More... | |
type(field_t), pointer | f_x => null() |
X-component of the right-hand side. More... | |
type(field_t), pointer | f_y => null() |
Y-component of the right-hand side. More... | |
type(field_t), pointer | f_z => null() |
Z-component of the right-hand side. More... | |
Private Member Functions | |
procedure, nopass, private | init_user_source |
Initialize the user source term. More... | |
Wrapper contaning and executing the fluid source terms.
Exists mainly to keep the fluid_scheme_t
type smaller and also as placeholder for future optimizations.
Definition at line 55 of file fluid_source_term.f90.
procedure, pass(this) fluid_source_term::fluid_source_term_t::compute |
Add all the source terms to the passed right-hand side fields.
Definition at line 70 of file fluid_source_term.f90.
procedure, pass(this) fluid_source_term::fluid_source_term_t::free |
Destructor.
Definition at line 68 of file fluid_source_term.f90.
procedure, pass(this) fluid_source_term::fluid_source_term_t::init |
Constructor.
Definition at line 66 of file fluid_source_term.f90.
|
private |
Initialize the user source term.
Definition at line 72 of file fluid_source_term.f90.
type(field_t), pointer fluid_source_term::fluid_source_term_t::f_x => null() |
X-component of the right-hand side.
Definition at line 59 of file fluid_source_term.f90.
type(field_t), pointer fluid_source_term::fluid_source_term_t::f_y => null() |
Y-component of the right-hand side.
Definition at line 61 of file fluid_source_term.f90.
type(field_t), pointer fluid_source_term::fluid_source_term_t::f_z => null() |
Z-component of the right-hand side.
Definition at line 63 of file fluid_source_term.f90.
class(source_term_wrapper_t), dimension(:), allocatable fluid_source_term::fluid_source_term_t::source_terms |
Array of ordinary source terms.
Definition at line 57 of file fluid_source_term.f90.