Implements the adjoint_lube_source_term_t
type.
|
subroutine | adjoint_lube_source_term_init_from_json (this, json, fields, coef) |
| The common constructor using a JSON object.
|
|
subroutine | adjoint_lube_source_term_init_from_components (this, f_x, f_y, f_z, design, k, u, v, w, mask, if_mask, coef) |
| The constructor from type components.
|
|
subroutine | adjoint_lube_source_term_free (this) |
| Destructor.
|
|
subroutine | adjoint_lube_source_term_compute (this, t, tstep) |
| Computes the source term and adds the result to fields .
|
|
◆ adjoint_lube_source_term_compute()
◆ adjoint_lube_source_term_free()
◆ adjoint_lube_source_term_init_from_components()
subroutine adjoint_lube_source_term::adjoint_lube_source_term_init_from_components |
( |
class(adjoint_lube_source_term_t), intent(inout) |
this, |
|
|
type(field_t), intent(in), pointer |
f_x, |
|
|
type(field_t), intent(in), pointer |
f_y, |
|
|
type(field_t), intent(in), pointer |
f_z, |
|
|
class(design_t), intent(in), target |
design, |
|
|
real(kind=rp) |
k, |
|
|
type(field_t), intent(in), target |
u, |
|
|
type(field_t), intent(in), target |
v, |
|
|
type(field_t), intent(in), target |
w, |
|
|
class(point_zone_t), intent(in), target |
mask, |
|
|
logical |
if_mask, |
|
|
type(coef_t), intent(in) |
coef |
|
) |
| |
|
private |
- Parameters
-
f_x,f_y,f_z | the RHS of the adjoint |
design | the design |
K | a scale |
u,v,w | the velocity fields of the primal |
Definition at line 116 of file adjoint_lube_source_term.f90.
◆ adjoint_lube_source_term_init_from_json()
- 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 95 of file adjoint_lube_source_term.f90.