Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
|
A simple Brinkman source term. More...
Public Member Functions | |
procedure, pass(this) | init (this, json, fields, coef) |
The common constructor using a JSON object. | |
procedure, pass(this) | init_from_components (this, f_x, f_y, f_z, chi, u, v, w, coef) |
The constructor from type components. | |
procedure, pass(this) | free (this) |
Destructor. | |
procedure, pass(this) | compute_ (this, t, tstep) |
Computes the source term and adds the result to fields . | |
Public Attributes | |
type(field_t), pointer | chi |
the fields corresponding to \chi, u, v and w | |
type(field_t), pointer | u |
type(field_t), pointer | v |
type(field_t), pointer | w |
Definition at line 51 of file simple_brinkman_source_term.f90.
procedure, pass(this) simple_brinkman_source_term::simple_brinkman_source_term_t::compute_ | ( | class(simple_brinkman_source_term_t), intent(inout) | this, |
real(kind=rp), intent(in) | t, | ||
integer, intent(in) | tstep | ||
) |
t | The time value. |
tstep | The current time-step. |
Definition at line 65 of file simple_brinkman_source_term.f90.
procedure, pass(this) simple_brinkman_source_term::simple_brinkman_source_term_t::free | ( | class(simple_brinkman_source_term_t), intent(inout) | this | ) |
Definition at line 63 of file simple_brinkman_source_term.f90.
procedure, pass(this) simple_brinkman_source_term::simple_brinkman_source_term_t::init | ( | class(simple_brinkman_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 | ||
) |
json | The JSON object for the source. |
fields | A list of fields for adding the source values. |
coef | The SEM coeffs. |
Definition at line 57 of file simple_brinkman_source_term.f90.
procedure, pass(this) simple_brinkman_source_term::simple_brinkman_source_term_t::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 | ||
) |
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 60 of file simple_brinkman_source_term.f90.
Definition at line 53 of file simple_brinkman_source_term.f90.
Definition at line 53 of file simple_brinkman_source_term.f90.
Definition at line 53 of file simple_brinkman_source_term.f90.
Definition at line 53 of file simple_brinkman_source_term.f90.