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

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) |
Definition at line 54 of file adjoint_pnpn_res.f90.
|
staticpure virtual |
| [in] | ax | Helmholtz operator. |
| [in,out] | msh | Mesh object. |
| [in,out] | xh | Velocity space. |
| [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] | u_res | Residual for adjoint velocity x-component. |
| [in,out] | v_res | Residual for adjoint velocity y-component. |
| [in,out] | w_res | Residual for adjoint velocity z-component. |
| [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 velocity space. |
| [in] | mu | Dynamic viscosity field. |
| [in] | rho | Density field. |
| [in] | bd | BDF coefficient for the current step. |
| [in] | dt | Time-step size. |
| [in] | n | Number 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.