Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
Loading...
Searching...
No Matches
adv_adjoint_no_dealias.f90 File Reference

Go to the source code of this file.

Data Types

type  adv_lin_no_dealias::adv_lin_no_dealias_t
 Type encapsulating advection routines with no dealiasing applied. More...
 

Modules

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

Functions/Subroutines

subroutine adv_lin_no_dealias::init_no_dealias (this, coef)
 Constructor.
 
subroutine adv_lin_no_dealias::free_no_dealias (this)
 Destructor.
 
subroutine adv_lin_no_dealias::adjoint_advection_no_dealias (this, vx, vy, vz, vxb, vyb, vzb, fx, fy, fz, xh, coef, n)
 Add the adjoint advection term for the fluid in weak form, i.e. \( \int_\Omega v \cdot u' (\nabla \bar{U})^T u^\dagger d\Omega + \int_\Omega \nabla v \cdot (\bar{U} \otimes u^\dagger) d \Omega \), to the RHS.
 
subroutine adv_lin_no_dealias::adjoint_weak_no_dealias_device (f_d, u_i_d, ub, vb, wb, coef, xh, n, work1, work2, work3, w1, w2, w3)
 Compute a single component of \( \int_\Omega \nabla v \cdot (\bar{U} \otimes u^\dagger) d \Omega |_i \) , to the RHS on device.
 
subroutine adv_lin_no_dealias::adjoint_weak_no_dealias_cpu (f, u_i, ub, vb, wb, e, coef, xh, n, work1, work2, work3, w1, w2, w3)
 Compute a single component of \( \int_\Omega \nabla v \cdot (\bar{U} \otimes u^\dagger) d \Omega |_i \) , to the RHS on CPU.
 
subroutine adv_lin_no_dealias::linear_advection_no_dealias (this, vx, vy, vz, vxb, vyb, vzb, fx, fy, fz, xh, coef, n)
 Add the linearized advection term for the fluid, i.e. \(u' \cdot \nabla \bar{U} + \bar{U} \cdot \nabla u' \), to the RHS.