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

Compute adjoint pressure residual. More...

Public Member Functions

subroutine adjoint_prs_res (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)
 

Detailed Description

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.
rhoDensity field.
eventBackend event handle (optional for device backends).

Definition at line 79 of file adjoint_pnpn_res.f90.

Constructor & Destructor Documentation

◆ adjoint_prs_res()

subroutine adjoint_pnpn_residual::adjoint_prs_res::adjoint_prs_res ( 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 
)
virtual
Parameters
[in,out]pAdjoint pressure field.
[in,out]uAdjoint velocity x-component.
[in,out]vAdjoint velocity y-component.
[in,out]wAdjoint velocity z-component.
[in,out]p_resPressure residual output.
[in]f_xExplicit forcing x-component.
[in]f_yExplicit forcing y-component.
[in]f_zExplicit forcing z-component.
[in,out]c_xhCoefficients on the pressure space.
[in,out]gs_xhGather-scatter operator on the pressure space.
[in]bc_prs_surfacePressure boundary surface normals.
[in]bc_sym_surfaceSymmetry boundary surface normals.
[in,out]axHelmholtz operator.
[in]bdBDF coefficient for the current step.
[in]dtTime-step size.
[in]muDynamic viscosity field.
[in]rhoDensity field.
[in,out]eventBackend event handle.

Definition at line 79 of file adjoint_pnpn_res.f90.


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