|
Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
|


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). | |
Definition at line 54 of file adjoint_pnpn_res_cpu.f90.
|
staticvirtual |
| p | Adjoint pressure field. |
| p_res | Pressure residual output. |
| u | Adjoint velocity x-component. |
| v | Adjoint velocity y-component. |
| w | Adjoint velocity z-component. |
| f_x | Explicit forcing x-component. |
| f_y | Explicit forcing y-component. |
| f_z | Explicit forcing z-component. |
| c_Xh | Coefficients on the pressure space. |
| gs_Xh | Gather-scatter operator on the pressure space. |
| bc_prs_surface | Pressure boundary surface normals. |
| bc_sym_surface | Symmetry boundary surface normals. |
| Ax | Helmholtz operator. |
| bd | BDF coefficient for the current step. |
| dt | Time-step size. |
| mu | Dynamic viscosity field (assumed constant). |
| rho | Density field (assumed constant). |
| event | Backend 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.