Neko  0.9.99
A portable framework for high-order spectral element flow simulations
adv_no_dealias Module Reference

Subroutines to add advection terms to the RHS of a transport equation.

Data Types

type  adv_no_dealias_t
 Type encapsulating advection routines with no dealiasing applied. More...
 

Functions/Subroutines

subroutine init_no_dealias (this, coef)
 Constructor. More...
 
subroutine free_no_dealias (this)
 Destructor. More...
 
subroutine compute_advection_no_dealias (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. More...
 
subroutine compute_scalar_advection_no_dealias (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. More...
 

Function/Subroutine Documentation

◆ compute_advection_no_dealias()

subroutine adv_no_dealias::compute_advection_no_dealias ( class(adv_no_dealias_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(inout)  Xh,
type(coef_t), intent(inout)  coef,
integer, intent(in)  n,
real(kind=rp), intent(in), optional  dt 
)
private
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 107 of file adv_no_dealias.f90.

Here is the call graph for this function:

◆ compute_scalar_advection_no_dealias()

subroutine adv_no_dealias::compute_scalar_advection_no_dealias ( class(adv_no_dealias_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(inout)  Xh,
type(coef_t), intent(inout)  coef,
integer, intent(in)  n,
real(kind=rp), intent(in), optional  dt 
)
private
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 156 of file adv_no_dealias.f90.

Here is the call graph for this function:

◆ free_no_dealias()

subroutine adv_no_dealias::free_no_dealias ( class(adv_no_dealias_t), intent(inout)  this)
private

Definition at line 84 of file adv_no_dealias.f90.

Here is the call graph for this function:

◆ init_no_dealias()

subroutine adv_no_dealias::init_no_dealias ( class(adv_no_dealias_t), intent(inout)  this,
type(coef_t), intent(in)  coef 
)
Parameters
coefThe coefficients of the (space, mesh) pair.

Definition at line 71 of file adv_no_dealias.f90.