Implements the scalar_user_source_term_t
type.
|
subroutine | scalar_user_source_term_init (this, json, fields, coef) |
| Constructor from JSON. More...
|
|
subroutine | scalar_user_source_term_init_from_components (this, fields, coef, source_term_type, eval_vector, eval_pointwise) |
| Constructor from components. More...
|
|
subroutine | scalar_user_source_term_free (this) |
| Destructor. More...
|
|
subroutine | scalar_user_source_term_compute (this, t, tstep) |
| Computes the source term and adds the result to fields . More...
|
|
subroutine | pointwise_eval_driver (this, t) |
| Driver for all pointwise source term evaluatons. More...
|
|
◆ pointwise_eval_driver()
◆ scalar_user_source_term_compute()
subroutine scalar_user_source_term::scalar_user_source_term_compute |
( |
class(scalar_user_source_term_t), intent(inout) |
this, |
|
|
real(kind=rp), intent(in) |
t, |
|
|
integer, intent(in) |
tstep |
|
) |
| |
|
private |
◆ scalar_user_source_term_free()
◆ scalar_user_source_term_init()
subroutine scalar_user_source_term::scalar_user_source_term_init |
( |
class(scalar_user_source_term_t), intent(inout) |
this, |
|
|
type(json_file), intent(inout) |
json, |
|
|
type(field_list_t), intent(inout), target |
fields, |
|
|
type(coef_t), intent(inout), target |
coef |
|
) |
| |
|
private |
◆ scalar_user_source_term_init_from_components()
subroutine scalar_user_source_term::scalar_user_source_term_init_from_components |
( |
class(scalar_user_source_term_t), intent(inout) |
this, |
|
|
type(field_list_t), intent(inout), target |
fields, |
|
|
type(coef_t), intent(inout) |
coef, |
|
|
character(len=*) |
source_term_type, |
|
|
procedure(scalar_source_compute_vector), optional |
eval_vector, |
|
|
procedure(scalar_source_compute_pointwise), optional |
eval_pointwise |
|
) |
| |
|
private |
- Parameters
-
fields | A list with 1 field for adding the source values. |
coef | The SEM coeffs. |
sourc_term_type | 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 140 of file scalar_user_source_term.f90.