|
Neko 1.99.3
A portable framework for high-order spectral element flow simulations
|
A zero-valued advection that can be used to kill the advection term. More...


Public Member Functions | |
| procedure, pass(this) | init (this, coef) |
| Constructor. | |
| procedure, pass(this) | free (this) |
| Destructor. | |
| procedure, pass(this) | compute (this, vx, vy, vz, fx, fy, fz, xh, coef, n, dt) |
| Add the advection term for the fluid, i.e. \(u \cdot \nabla u \), to the RHS. | |
| procedure, pass(this) | compute_scalar (this, vx, vy, vz, s, fs, xh, coef, n, dt) |
| Add the advection term for a scalar, i.e. \(u \cdot \nabla s \), to the RHS. | |
| procedure, pass(this) | compute_ale (this, vx, vy, vz, wm_x, wm_y, wm_z, fx, fy, fz, xh, coef, n, dt) |
| Add the advection term for ALE, i.e. \((u - w_m) \cdot \nabla s \), to the RHS. | |
| procedure, pass(this) | recompute_metrics (this, coef, moving_boundary) |
| Update any metrics needed for the advection computation in ALE. | |
| procedure(compute_adv), deferred, pass | compute (this, vx, vy, vz, fx, fy, fz, xh, coef, n, dt) |
| procedure(compute_scalar_adv), deferred, pass | compute_scalar (this, vx, vy, vz, s, fs, xh, coef, n, dt) |
| procedure(compute_ale_adv), deferred, pass | compute_ale (this, vx, vy, vz, wm_x, wm_y, wm_z, fx, fy, fz, xh, coef, n, dt) |
| procedure(advection_recompute_metrics), deferred, pass | recompute_metrics (this, coef, moving_boundary) |
| procedure(advection_free), deferred, pass | free (this) |
Definition at line 44 of file adv_dummy.f90.
|
pure virtualinherited |
Definition at line 48 of file advection.f90.
| procedure, pass(this) adv_dummy::adv_dummy_t::compute | ( | class(adv_dummy_t), intent(inout) | this, |
| type(field_t), intent(inout) | vx, | ||
| type(field_t), intent(inout) | vy, | ||
| type(field_t), intent(inout) | vz, | ||
| type(field_t), intent(inout) | fx, | ||
| type(field_t), intent(inout) | fy, | ||
| type(field_t), intent(inout) | fz, | ||
| type(space_t), intent(in) | xh, | ||
| type(coef_t), intent(in) | coef, | ||
| integer, intent(in) | n, | ||
| real(kind=rp), intent(in), optional | dt | ||
| ) |
Here, does nothing.
| vx | The x component of velocity. |
| vy | The y component of velocity. |
| vz | The z component of velocity. |
| fx | The x component of source term. |
| fy | The y component of source term. |
| fz | The z component of source term. |
| Xh | The function space. |
| coef | The coefficients of the (Xh, mesh) pair. |
| n | Typically the size of the mesh. |
| dt | Current time-step, not required for this method. |
Definition at line 52 of file adv_dummy.f90.
|
pure virtualinherited |
Definition at line 50 of file advection.f90.
| procedure, pass(this) adv_dummy::adv_dummy_t::compute_ale | ( | class(adv_dummy_t), intent(inout) | this, |
| type(field_t), intent(inout) | vx, | ||
| type(field_t), intent(inout) | vy, | ||
| type(field_t), intent(inout) | vz, | ||
| type(field_t), intent(inout) | wm_x, | ||
| type(field_t), intent(inout) | wm_y, | ||
| type(field_t), intent(inout) | wm_z, | ||
| type(field_t), intent(inout) | fx, | ||
| type(field_t), intent(inout) | fy, | ||
| type(field_t), intent(inout) | fz, | ||
| type(space_t), intent(in) | xh, | ||
| type(coef_t), intent(in) | coef, | ||
| integer, intent(in) | n, | ||
| real(kind=rp), intent(in), optional | dt | ||
| ) |
Definition at line 59 of file adv_dummy.f90.
|
pure virtualinherited |
Definition at line 49 of file advection.f90.
| procedure, pass(this) adv_dummy::adv_dummy_t::compute_scalar | ( | class(adv_dummy_t), intent(inout) | this, |
| type(field_t), intent(inout) | vx, | ||
| type(field_t), intent(inout) | vy, | ||
| type(field_t), intent(inout) | vz, | ||
| type(field_t), intent(inout) | s, | ||
| type(field_t), intent(inout) | fs, | ||
| type(space_t), intent(in) | xh, | ||
| type(coef_t), intent(in) | coef, | ||
| integer, intent(in) | n, | ||
| real(kind=rp), intent(in), optional | dt | ||
| ) |
Here, does nothing.
| this | The object. |
| vx | The x component of velocity. |
| vy | The y component of velocity. |
| vz | The z component of velocity. |
| s | The scalar. |
| fs | The source term. |
| Xh | The function space. |
| coef | The coefficients of the (Xh, mesh) pair. |
| n | Typically the size of the mesh. |
| dt | Current time-step, not required for this method. |
Definition at line 55 of file adv_dummy.f90.
|
pure virtualinherited |
Definition at line 53 of file advection.f90.
Definition at line 49 of file adv_dummy.f90.
| procedure, pass(this) adv_dummy::adv_dummy_t::init | ( | class(adv_dummy_t), intent(inout) | this, |
| type(coef_t), intent(in) | coef | ||
| ) |
| coef | The coefficients of the (space, mesh) pair. |
Definition at line 47 of file adv_dummy.f90.
|
pure virtualinherited |
Definition at line 51 of file advection.f90.
| procedure, pass(this) adv_dummy::adv_dummy_t::recompute_metrics | ( | class(adv_dummy_t), intent(inout) | this, |
| type(coef_t), intent(in) | coef, | ||
| logical, intent(in) | moving_boundary | ||
| ) |
Definition at line 61 of file adv_dummy.f90.