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...
|
procedure, pass(this) | init (this, json, fields, coef) |
| The common constructor using a JSON object.
|
|
procedure, pass(this) | init_from_compenents (this, fields, values, coef, start_time, end_time) |
| The constructor from type components.
|
|
procedure, pass(this) | free (this) |
| Destructor.
|
|
procedure, pass(this) | compute_ (this, t, tstep) |
| Computes the source term and adds the result to fields .
|
|
procedure, pass(this) | init_base (this, fields, coef, start_time, end_time) |
| Constructor for the source_term_t (base) type.
|
|
procedure, pass(this) | free_base (this) |
| Destructor for the source_term_t (base) type.
|
|
procedure, pass(this) | compute (this, t, tstep) |
| Executes compute_ based on time conditions.
|
|
procedure(source_term_init), deferred, pass | init (this, json, fields, coef) |
| The common constructor using a JSON object.
|
|
procedure(source_term_free), deferred, pass | free (this) |
| Destructor.
|
|
procedure(source_term_compute), deferred, pass | compute_ (this, t, tstep) |
| Computes the source term and adds the result to fields .
|
|
Definition at line 51 of file const_source_term.f90.
◆ compute()
- Parameters
-
t | Time value. |
tstep | Current time step. |
Definition at line 58 of file source_term.f90.
◆ compute_() [1/2]
◆ compute_() [2/2]
◆ free() [1/2]
◆ free() [2/2]
◆ free_base()
◆ init() [1/2]
procedure, pass(this) const_source_term::const_source_term_t::init |
( |
class(const_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 |
|
) |
| |
- 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 56 of file const_source_term.f90.
◆ init() [2/2]
procedure(source_term_init), deferred, pass source_term::source_term_t::init |
( |
class(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 |
|
) |
| |
|
pure virtualinherited |
◆ init_base()
procedure, pass(this) source_term::source_term_t::init_base |
( |
class(source_term_t), intent(inout) |
this, |
|
|
type(field_list_t) |
fields, |
|
|
type(coef_t), intent(in), target |
coef, |
|
|
real(kind=rp), intent(in) |
start_time, |
|
|
real(kind=rp), intent(in) |
end_time |
|
) |
| |
|
inherited |
- Parameters
-
json | JSON object initializing the source term. |
fields | The list of fields updated by the source term. |
coef | The SEM coefficients. Constructor for the source_term_t (base) type. |
fields | A list of pointers to fields to be updated by the source term. |
coef | SEM coefs. |
start_time | When to start adding the source term. |
end_time | When to stop adding the source term. |
Definition at line 54 of file source_term.f90.
◆ init_from_compenents()
procedure, pass(this) const_source_term::const_source_term_t::init_from_compenents |
( |
class(const_source_term_t), intent(inout) |
this, |
|
|
class(field_list_t), intent(in), 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 |
|
) |
| |
- 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 58 of file const_source_term.f90.
◆ coef
◆ end_time
real(kind=rp) source_term::source_term_t::end_time = huge(0.0_rp) |
|
inherited |
◆ fields
◆ start_time
real(kind=rp) source_term::source_term_t::start_time = 0.0_rp |
|
inherited |
◆ values
The documentation for this type was generated from the following file: