|
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, variable_name) |
| 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, c_xh_gl, gll_to_gl, dealias, scratch_gl) |
| The constructor from type components. | |
| procedure, pass(this) | free (this) |
| Destructor. | |
| procedure, pass(this) | compute_ (this, time) |
Computes the source term and adds the result to fields. | |
Public Attributes | |
| type(field_t), pointer | chi => null() |
| the fields corresponding to \(\chi\) | |
| type(field_t), pointer | u => null() |
| the fields corresponding to u | |
| type(field_t), pointer | v => null() |
| the fields corresponding to v | |
| type(field_t), pointer | w => null() |
| the fields corresponding to w | |
| type(space_t), pointer | xh_gll |
| The original space used in the simulation. | |
| type(space_t), pointer | xh_gl |
| The additional higher-order space used in dealiasing. | |
| type(coef_t), pointer | c_xh_gl |
| cfs of the higher-order space | |
| type(interpolator_t), pointer | gll_to_gl |
| Interpolator between the original and higher-order spaces. | |
| logical | dealias |
| if dealiasing should be applied | |
| type(scratch_registry_t), pointer | scratch_gl |
| GL scratch registry. | |
Definition at line 59 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, |
| type(time_state_t), intent(in) | time | ||
| ) |
| this | The source term. |
| time | The time state. |
Definition at line 92 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 90 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, | ||
| character(len=*), intent(in) | variable_name | ||
| ) |
| this | The source term. |
| 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 where the source term acts. |
Definition at line 84 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), intent(in) | coef, | ||
| type(coef_t), intent(in), target | c_xh_gl, | ||
| type(interpolator_t), intent(in), target | gll_to_gl, | ||
| logical, intent(in) | dealias, | ||
| type(scratch_registry_t), intent(in), target | scratch_gl | ||
| ) |
| this | The source term. |
| f_x,f_y,f_z | the RHS of the equation (either primal or adjoint). |
| chi | the brinkman amplitude field. |
| u,v,w | the velocity field (either primal or adjoint). |
| coef | The SEM coeffs. |
| c_Xh_GL | The SEM coeffs on the over integration mesh. |
| GLL_to_GL | Interpolator between GLL and GL. |
| dealias | if dealiasing should be applied. |
| scratch_GL | A scratch registry on the GL space. |
Definition at line 87 of file simple_brinkman_source_term.f90.
Definition at line 74 of file simple_brinkman_source_term.f90.
Definition at line 61 of file simple_brinkman_source_term.f90.
| logical simple_brinkman_source_term::simple_brinkman_source_term_t::dealias |
Definition at line 78 of file simple_brinkman_source_term.f90.
Definition at line 76 of file simple_brinkman_source_term.f90.
| type(scratch_registry_t), pointer simple_brinkman_source_term::simple_brinkman_source_term_t::scratch_gl |
Definition at line 80 of file simple_brinkman_source_term.f90.
Definition at line 63 of file simple_brinkman_source_term.f90.
Definition at line 65 of file simple_brinkman_source_term.f90.
Definition at line 67 of file simple_brinkman_source_term.f90.
Definition at line 72 of file simple_brinkman_source_term.f90.
Definition at line 70 of file simple_brinkman_source_term.f90.