Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
Loading...
Searching...
No Matches
adjoint_pnpn_res_cpu::adjoint_pnpn_vel_res_cpu_t Type Reference
Inheritance diagram for adjoint_pnpn_res_cpu::adjoint_pnpn_vel_res_cpu_t:
Collaboration diagram for adjoint_pnpn_res_cpu::adjoint_pnpn_vel_res_cpu_t:

Static Public Member Functions

procedure, nopass compute (ax, u, v, w, u_res, v_res, w_res, p, f_x, f_y, f_z, c_xh, msh, xh, mu, rho, bd, dt, n)
 Compute adjoint velocity residual (CPU backend).
 

Detailed Description

Definition at line 59 of file adjoint_pnpn_res_cpu.f90.

Member Function/Subroutine Documentation

◆ compute()

procedure, nopass adjoint_pnpn_res_cpu::adjoint_pnpn_vel_res_cpu_t::compute ( class(ax_t), intent(in ax,
type(field_t), intent(inout u,
type(field_t), intent(inout v,
type(field_t), intent(inout w,
type(field_t), intent(inout u_res,
type(field_t), intent(inout v_res,
type(field_t), intent(inout w_res,
type(field_t), intent(inout p,
type(field_t), intent(in f_x,
type(field_t), intent(in f_y,
type(field_t), intent(in f_z,
type(coef_t), intent(inout c_xh,
type(mesh_t), intent(inout msh,
type(space_t), intent(inout xh,
type(field_t), intent(in mu,
type(field_t), intent(in rho,
real(kind=rp), intent(in bd,
real(kind=rp), intent(in dt,
integer, intent(in n 
)
staticvirtual
Parameters
AxHelmholtz operator.
uAdjoint velocity x-component.
vAdjoint velocity y-component.
wAdjoint velocity z-component.
u_resResidual for adjoint velocity x-component.
v_resResidual for adjoint velocity y-component.
w_resResidual for adjoint velocity z-component.
pAdjoint pressure field.
f_xExplicit forcing x-component.
f_yExplicit forcing y-component.
f_zExplicit forcing z-component.
c_XhCoefficients on the velocity space.
mshMesh object.
XhVelocity space.
muDynamic viscosity field (assumed constant).
rhoDensity field (assumed constant).
bdBDF coefficient for the current step.
dtTime-step size.
nNumber of degrees of freedom.

Implements adjoint_pnpn_residual::adjoint_pnpn_vel_res_t.

Definition at line 61 of file adjoint_pnpn_res_cpu.f90.


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