Implements the centrifugal_source_term_t type. Maintainer: Adam Peplinski.
|
| subroutine | centrifugal_source_term_init_from_json (this, json, fields, coef, variable_name) |
| | The common constructor using a JSON object.
|
| |
| subroutine | centrifugal_source_term_init_from_components (this, fields, omega, ref_point, coef, start_time, end_time) |
| | The constructor from type components.
|
| |
| subroutine | centrifugal_source_term_free (this) |
| | Destructor.
|
| |
| subroutine | centrifugal_source_term_compute (this, time) |
| | Computes the source term and adds the result to fields.
|
| |
◆ centrifugal_source_term_compute()
◆ centrifugal_source_term_free()
◆ centrifugal_source_term_init_from_components()
| subroutine centrifugal_source_term::centrifugal_source_term_init_from_components |
( |
class(centrifugal_source_term_t), intent(inout) |
this, |
|
|
class(field_list_t), intent(in), target |
fields, |
|
|
real(kind=rp), dimension(3), intent(in) |
omega, |
|
|
real(kind=rp), dimension(3), intent(in) |
ref_point, |
|
|
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. |
| omega | The rotation vector. |
| ref_point | The reference point. |
| 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 125 of file centrifugal_source_term.f90.
◆ centrifugal_source_term_init_from_json()
| subroutine centrifugal_source_term::centrifugal_source_term_init_from_json |
( |
class(centrifugal_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 |
|
) |
| |
- Parameters
-
| json | The JSON object for the source. |
| fields | A list of fields for adding the source values. |
| coef | The SEM coeffs. |
| variable_name | The name of the variable for this source term. |
Definition at line 85 of file centrifugal_source_term.f90.