Implements the const_source_term_t
type.
|
type | const_source_term_t |
| A constant source term. The strength is specified with the values keyword, which should be an array, with a value for each component of the source. More...
|
|
|
subroutine | const_source_term_init_from_json (this, json, fields, coef) |
| The common constructor using a JSON object. More...
|
|
subroutine | const_source_term_init_from_components (this, fields, values, coef, start_time, end_time) |
| The constructor from type components. More...
|
|
subroutine | const_source_term_free (this) |
| Destructor. More...
|
|
subroutine | const_source_term_compute (this, t, tstep) |
| Computes the source term and adds the result to fields . More...
|
|
◆ const_source_term_compute()
subroutine const_source_term::const_source_term_compute |
( |
class(const_source_term_t), intent(inout) |
this, |
|
|
real(kind=rp), intent(in) |
t, |
|
|
integer, intent(in) |
tstep |
|
) |
| |
|
private |
◆ const_source_term_free()
subroutine const_source_term::const_source_term_free |
( |
class(const_source_term_t), intent(inout) |
this | ) |
|
|
private |
◆ const_source_term_init_from_components()
subroutine const_source_term::const_source_term_init_from_components |
( |
class(const_source_term_t), intent(inout) |
this, |
|
|
class(field_list_t), intent(inout), target |
fields, |
|
|
real(kind=rp), dimension(:), intent(in) |
values, |
|
|
type(coef_t) |
coef, |
|
|
real(kind=rp), intent(in) |
start_time, |
|
|
real(kind=rp), intent(in) |
end_time |
|
) |
| |
|
private |
- Parameters
-
fields | A list of fields for adding the source values. |
values | The array of values, one for each field. |
coef | The SEM coeffs. |
start_time | When to start adding the source term. |
end_time | When to stop adding the source term. |
Definition at line 95 of file const_source_term.f90.
◆ const_source_term_init_from_json()
subroutine const_source_term::const_source_term_init_from_json |
( |
class(const_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 |
|
) |
| |
- Parameters
-
json | The JSON object for the source. |
fields | A list of fields for adding the source values. |
coef | The SEM coeffs. |
Definition at line 71 of file const_source_term.f90.