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

Static Public Member Functions

procedure, nopass compute (p, p_res, u, v, w, f_x, f_y, f_z, c_xh, gs_xh, bc_prs_surface, bc_sym_surface, ax, bd, dt, mu, rho, event)
 Compute adjoint pressure residual (CPU backend).
 

Detailed Description

Definition at line 54 of file adjoint_pnpn_res_cpu.f90.

Member Function/Subroutine Documentation

◆ compute()

procedure, nopass adjoint_pnpn_res_cpu::adjoint_pnpn_prs_res_cpu_t::compute ( type(field_t), intent(inout p,
type(field_t), intent(inout p_res,
type(field_t), intent(inout u,
type(field_t), intent(inout v,
type(field_t), intent(inout w,
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(gs_t), intent(inout gs_xh,
type(facet_normal_t), intent(in bc_prs_surface,
type(facet_normal_t), intent(in bc_sym_surface,
class(ax_t), intent(inout ax,
real(kind=rp), intent(in bd,
real(kind=rp), intent(in dt,
type(field_t), intent(in mu,
type(field_t), intent(in rho,
type(c_ptr), intent(inout event 
)
staticvirtual
Parameters
pAdjoint pressure field.
p_resPressure residual output.
uAdjoint velocity x-component.
vAdjoint velocity y-component.
wAdjoint velocity z-component.
f_xExplicit forcing x-component.
f_yExplicit forcing y-component.
f_zExplicit forcing z-component.
c_XhCoefficients on the pressure space.
gs_XhGather-scatter operator on the pressure space.
bc_prs_surfacePressure boundary surface normals.
bc_sym_surfaceSymmetry boundary surface normals.
AxHelmholtz operator.
bdBDF coefficient for the current step.
dtTime-step size.
muDynamic viscosity field (assumed constant).
rhoDensity field (assumed constant).
eventBackend event handle (unused on CPU).

Implements adjoint_pnpn_residual::adjoint_pnpn_prs_res_t.

Definition at line 56 of file adjoint_pnpn_res_cpu.f90.


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