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

Abstract type to compute velocity residual. More...

Inheritance diagram for adjoint_pnpn_residual::adjoint_pnpn_vel_res_t:

Static Public Member Functions

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

Detailed Description

Definition at line 54 of file adjoint_pnpn_res.f90.

Member Function/Subroutine Documentation

◆ compute()

procedure(adjoint_vel_res), deferred, nopass adjoint_pnpn_residual::adjoint_pnpn_vel_res_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 
)
staticpure virtual
Parameters
[in]axHelmholtz operator.
[in,out]mshMesh object.
[in,out]xhVelocity space.
[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]u_resResidual for adjoint velocity x-component.
[in,out]v_resResidual for adjoint velocity y-component.
[in,out]w_resResidual for adjoint velocity z-component.
[in]f_xExplicit forcing x-component.
[in]f_yExplicit forcing y-component.
[in]f_zExplicit forcing z-component.
[in,out]c_xhCoefficients on the velocity space.
[in]muDynamic viscosity field.
[in]rhoDensity field.
[in]bdBDF coefficient for the current step.
[in]dtTime-step size.
[in]nNumber of degrees of freedom.

Implemented in adjoint_pnpn_res_cpu::adjoint_pnpn_vel_res_cpu_t, and adjoint_pnpn_res_device::adjoint_pnpn_vel_res_device_t.

Definition at line 56 of file adjoint_pnpn_res.f90.


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