Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
advection::compute_adv Interface Reference

A factory for advection_t decendants. Both creates and initializes the object. More...

Public Member Functions

subroutine compute_adv (this, vx, vy, vz, fx, fy, fz, xh, coef, n, dt)
 

Detailed Description

Parameters
objectThe object allocated by the factory.
jsonThe parameter file.
coefThe coefficients of the (space, mesh) pair.
ulag,vlag,wlagThe lagged velocity fields.
dtlagThe lagged time steps.
tlagThe lagged times.
time_schemeThe bdf-ext time scheme used in the method.
use_dummyIf true, a dummy zero-valued advection type is
slagThe lagged scalar field. allocated. This can be used to kill the advection term.
Note
The factory both allocates and initializes object. Add advection operator to the right-hand-side for a fluid.
Parameters
thisThe object.
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 used in OIFS method.

Definition at line 96 of file advection.f90.

Constructor & Destructor Documentation

◆ compute_adv()

subroutine advection::compute_adv::compute_adv ( class(advection_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 
)
virtual

Definition at line 96 of file advection.f90.


The documentation for this interface was generated from the following file: