Implements the user_source_term_t
type.
|
type | user_source_term_t |
| A source term wrapping the user source term routine. Stores fields that are passed to the user routine so tha the user routine never touches the actual RHS fields directly. More...
|
|
◆ user_source_term_compute()
◆ user_source_term_free()
◆ user_source_term_init()
subroutine user_source_term::user_source_term_init |
( |
class(user_source_term_t), intent(inout) |
this, |
|
|
type(json_file), intent(inout) |
json, |
|
|
type(field_list_t), intent(in), target |
fields, |
|
|
type(coef_t), intent(in), target |
coef, |
|
|
character(len=*), intent(in) |
variable_name |
|
) |
| |
This will throw, as the user source term should be initialized directly from components.
Definition at line 87 of file user_source_term.f90.
◆ user_source_term_init_from_components()
subroutine user_source_term::user_source_term_init_from_components |
( |
class(user_source_term_t), intent(inout) |
this, |
|
|
type(field_list_t), intent(in), target |
fields, |
|
|
type(coef_t), intent(in), target |
coef, |
|
|
procedure(user_source_term_intf) |
user_proc, |
|
|
character(len=*), intent(in) |
scheme_name |
|
) |
| |
|
private |
- Parameters
-
fields | A list of 3 fields for adding the source values. |
coef | The SEM coeffs. |
user_proc | The procedure user procedure to compute the source term. |
scheme_name | The name of the scheme that owns this source term. |
Definition at line 104 of file user_source_term.f90.