Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
Loading...
Searching...
No Matches
advection_adjoint::compute_adv_lin Interface Reference

A factory for advection_adjoint_t descendants. Both creates and initializes the object. More...

Public Member Functions

subroutine compute_adv_lin (this, vx, vy, vz, vxb, vyb, vzb, fx, fy, fz, xh, coef, n)
 

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 fluld.
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.

Definition at line 98 of file advection_adjoint.f90.

Constructor & Destructor Documentation

◆ compute_adv_lin()

subroutine advection_adjoint::compute_adv_lin::compute_adv_lin ( class(advection_adjoint_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)  vxb,
type(field_t), intent(inout)  vyb,
type(field_t), intent(inout)  vzb,
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 
)
virtual

Definition at line 98 of file advection_adjoint.f90.


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