Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
adv_dummy Module Reference

Implements adv_dummy_t

Data Types

type  adv_dummy_t
 A zero-valued advection that can be used to kill the advection term. More...
 

Functions/Subroutines

subroutine init_adv_dummy (this, coef)
 Constructor.
 
subroutine free_adv_dummy (this)
 Destructor.
 
subroutine compute_adv_dummy (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.
 
subroutine compute_scalar_adv_dummy (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.
 

Function/Subroutine Documentation

◆ compute_adv_dummy()

subroutine adv_dummy::compute_adv_dummy ( 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 
)
private

Here, does nothing.

Parameters
vxThe x component of velocity.
vyThe y component of velocity.
vzThe z component of velocity.
fxThe x component of source term.
fyThe y component of source term.
fzThe z component of source term.
XhThe function space.
coefThe coefficients of the (Xh, mesh) pair.
nTypically the size of the mesh.
dtCurrent time-step, not required for this method.

Definition at line 88 of file adv_dummy.f90.

◆ compute_scalar_adv_dummy()

subroutine adv_dummy::compute_scalar_adv_dummy ( 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 
)
private

Here, does nothing.

Parameters
thisThe object.
vxThe x component of velocity.
vyThe y component of velocity.
vzThe z component of velocity.
sThe scalar.
fsThe source term.
XhThe function space.
coefThe coefficients of the (Xh, mesh) pair.
nTypically the size of the mesh.
dtCurrent time-step, not required for this method.

Definition at line 113 of file adv_dummy.f90.

◆ free_adv_dummy()

subroutine adv_dummy::free_adv_dummy ( class(adv_dummy_t), intent(inout this)
private

Definition at line 70 of file adv_dummy.f90.

◆ init_adv_dummy()

subroutine adv_dummy::init_adv_dummy ( class(adv_dummy_t), intent(inout this,
type(coef_t), intent(in coef 
)
Parameters
coefThe coefficients of the (space, mesh) pair.

Definition at line 63 of file adv_dummy.f90.