Implements the fluid_user_source_term_t
type.
|
subroutine | fluid_user_source_term_init (this, json, fields, coef) |
| Costructor from JSON.
|
|
subroutine | fluid_user_source_term_init_from_components (this, fields, coef, source_term_type, eval_vector, eval_pointwise) |
| Costructor from components.
|
|
subroutine | fluid_user_source_term_free (this) |
| Destructor.
|
|
subroutine | fluid_user_source_term_compute (this, t, tstep) |
| Computes the source term and adds the result to fields .
|
|
subroutine | pointwise_eval_driver (this, t) |
| Driver for all pointwise source term evaluatons.
|
|
◆ fluid_user_source_term_compute()
◆ fluid_user_source_term_free()
◆ fluid_user_source_term_init()
This will throw, as the user source term should be initialized directly from components.
Definition at line 134 of file fluid_user_source_term.f90.
◆ fluid_user_source_term_init_from_components()
subroutine fluid_user_source_term::fluid_user_source_term_init_from_components |
( |
class(fluid_user_source_term_t), intent(inout) |
this, |
|
|
type(field_list_t), intent(in), target |
fields, |
|
|
type(coef_t), intent(in), target |
coef, |
|
|
character(len=*) |
source_term_type, |
|
|
procedure(fluid_source_compute_vector), optional |
eval_vector, |
|
|
procedure(fluid_source_compute_pointwise), optional |
eval_pointwise |
|
) |
| |
|
private |
- Parameters
-
fields | A list of 3 fields for adding the source values. |
coef | The SEM coeffs. |
sourc_termtype | The type of the user source term, "user_vector" or "user_pointwise". |
eval_vector | The procedure to vector-compute the source term. |
eval_pointwise | The procedure to pointwise-compute the source term. |
Definition at line 151 of file fluid_user_source_term.f90.
◆ pointwise_eval_driver()