Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
Loading...
Searching...
No Matches
adjoint_pnpn_residual::adjoint_pnpn_prs_res_t Type Referenceabstract

Abstract type to compute pressure residual. More...

Inheritance diagram for adjoint_pnpn_residual::adjoint_pnpn_prs_res_t:

Static Public Member Functions

procedure(adjoint_prs_res), deferred, 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)
 

Detailed Description

Definition at line 48 of file adjoint_pnpn_res.f90.

Member Function/Subroutine Documentation

◆ compute()

procedure(adjoint_prs_res), deferred, nopass adjoint_pnpn_residual::adjoint_pnpn_prs_res_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 
)
staticpure 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.

Implemented in adjoint_pnpn_res_cpu::adjoint_pnpn_prs_res_cpu_t, and adjoint_pnpn_res_device::adjoint_pnpn_prs_res_device_t.

Definition at line 50 of file adjoint_pnpn_res.f90.


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