Implements the simple_brinkman_source_term_t
type.
|
subroutine | simple_brinkman_source_term_init_from_json (this, json, fields, coef) |
| The common constructor using a JSON object.
|
|
subroutine | simple_brinkman_source_term_init_from_components (this, f_x, f_y, f_z, chi, u, v, w, coef) |
| The constructor from type components.
|
|
subroutine | simple_brinkman_source_term_free (this) |
| Destructor.
|
|
subroutine | simple_brinkman_source_term_compute (this, t, tstep) |
| Computes the source term and adds the result to fields .
|
|
◆ simple_brinkman_source_term_compute()
◆ simple_brinkman_source_term_free()
◆ simple_brinkman_source_term_init_from_components()
subroutine simple_brinkman_source_term::simple_brinkman_source_term_init_from_components |
( |
class(simple_brinkman_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, |
|
|
type(field_t), intent(in), target |
chi, |
|
|
type(field_t), intent(in), target |
u, |
|
|
type(field_t), intent(in), target |
v, |
|
|
type(field_t), intent(in), target |
w, |
|
|
type(coef_t) |
coef |
|
) |
| |
|
private |
- Parameters
-
f_x,f_y,f_z | the RHS of the equation (either primal or adjoint) |
design | the design |
u,v,w | the velocity field (either primal or adjoint) |
coef | The SEM coeffs. |
Definition at line 92 of file simple_brinkman_source_term.f90.
◆ simple_brinkman_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 73 of file simple_brinkman_source_term.f90.