|
Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
|
Abstract type to compute pressure residual. More...

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) |
Definition at line 48 of file adjoint_pnpn_res.f90.
|
staticpure virtual |
| [in,out] | p | Adjoint pressure field. |
| [in,out] | u | Adjoint velocity x-component. |
| [in,out] | v | Adjoint velocity y-component. |
| [in,out] | w | Adjoint velocity z-component. |
| [in,out] | p_res | Pressure residual output. |
| [in] | f_x | Explicit forcing x-component. |
| [in] | f_y | Explicit forcing y-component. |
| [in] | f_z | Explicit forcing z-component. |
| [in,out] | c_xh | Coefficients on the pressure space. |
| [in,out] | gs_xh | Gather-scatter operator on the pressure space. |
| [in] | bc_prs_surface | Pressure boundary surface normals. |
| [in] | bc_sym_surface | Symmetry boundary surface normals. |
| [in,out] | ax | Helmholtz operator. |
| [in] | bd | BDF coefficient for the current step. |
| [in] | dt | Time-step size. |
| [in] | mu | Dynamic viscosity field. |
| [in] | rho | Density field. |
| [in,out] | event | Backend 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.