Implements the coriolis_source_term_t
type. Maintainer: Timofey Mukha.
|
subroutine | coriolis_source_term_init_from_json (this, json, fields, coef) |
| The common constructor using a JSON object. More...
|
|
subroutine | coriolis_source_term_init_from_components (this, fields, omega, u_geo, coef, start_time, end_time) |
| The constructor from type components. More...
|
|
subroutine | coriolis_source_term_free (this) |
| Destructor. More...
|
|
subroutine | coriolis_source_term_compute (this, t, tstep) |
| Computes the source term and adds the result to fields . More...
|
|
◆ coriolis_source_term_compute()
subroutine coriolis_source_term::coriolis_source_term_compute |
( |
class(coriolis_source_term_t), intent(inout) |
this, |
|
|
real(kind=rp), intent(in) |
t, |
|
|
integer, intent(in) |
tstep |
|
) |
| |
|
private |
◆ coriolis_source_term_free()
subroutine coriolis_source_term::coriolis_source_term_free |
( |
class(coriolis_source_term_t), intent(inout) |
this | ) |
|
|
private |
◆ coriolis_source_term_init_from_components()
subroutine coriolis_source_term::coriolis_source_term_init_from_components |
( |
class(coriolis_source_term_t), intent(inout) |
this, |
|
|
class(field_list_t), intent(inout), target |
fields, |
|
|
real(kind=rp), dimension(3), intent(in) |
omega, |
|
|
real(kind=rp), dimension(3), intent(in) |
u_geo, |
|
|
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. |
u_geo | The geostrophic wind. |
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 130 of file coriolis_source_term.f90.
◆ coriolis_source_term_init_from_json()
subroutine coriolis_source_term::coriolis_source_term_init_from_json |
( |
class(coriolis_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 72 of file coriolis_source_term.f90.