Implements the source_term_t
type and a wrapper source_term_wrapper_t
.
◆ source_term_compute_wrapper()
subroutine source_term::source_term_compute_wrapper |
( |
class(source_term_t), intent(inout) |
this, |
|
|
real(kind=rp), intent(in) |
t, |
|
|
integer, intent(in) |
tstep |
|
) |
| |
|
private |
- Parameters
-
t | Time value. |
tstep | Current time step. |
Definition at line 178 of file source_term.f90.
◆ source_term_free_base()
subroutine source_term::source_term_free_base |
( |
class(source_term_t), intent(inout) |
this | ) |
|
|
private |
◆ source_term_init_base()
subroutine source_term::source_term_init_base |
( |
class(source_term_t), intent(inout) |
this, |
|
|
type(field_list_t) |
fields, |
|
|
type(coef_t), intent(inout), target |
coef, |
|
|
real(kind=rp), intent(in) |
start_time, |
|
|
real(kind=rp), intent(in) |
end_time |
|
) |
| |
|
private |
- 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 134 of file source_term.f90.
◆ source_term_wrapper_free()