Neko
0.8.1
A portable framework for high-order spectral element flow simulations
|
Implements the scalar_source_term_t
type.
More...
Data Types | |
type | scalar_source_term_t |
Wrapper contaning and executing the scalar source terms. More... | |
Functions/Subroutines | |
subroutine | scalar_source_term_init (this, json, f, coef, user) |
Constructor. More... | |
subroutine | init_user_source (source_term, rhs_fields, coef, type, user) |
Initialize the user source term. More... | |
subroutine | scalar_source_term_free (this) |
Destructor. More... | |
subroutine | scalar_source_term_compute (this, t, tstep) |
Add all the source term to the passed right-hand side fields. More... | |
Implements the scalar_source_term_t
type.
|
private |
Initialize the user source term.
source_term | The allocatable source term to be initialized to a user. |
rhs_fields | The field list with the right-hand-side. |
coef | The SEM coefs. |
type | The type of the user source term, "user_vector" or "user_poinwise". |
user | The user type containing the user source term routines. |
Definition at line 150 of file scalar_source_term.f90.
|
private |
Add all the source term to the passed right-hand side fields.
t | The time value. |
tstep | The current time step. |
Definition at line 186 of file scalar_source_term.f90.
|
private |
Destructor.
Definition at line 168 of file scalar_source_term.f90.
subroutine scalar_source_term::scalar_source_term_init | ( | class(scalar_source_term_t), intent(inout) | this, |
type(json_file), intent(inout) | json, | ||
type(field_t), intent(in), pointer | f, | ||
type(coef_t), intent(inout) | coef, | ||
type(user_t), intent(in) | user | ||
) |
Constructor.
Definition at line 75 of file scalar_source_term.f90.