36submodule(adjoint_pnpn_residual) adjoint_pnpn_res_fctry
37 use neko_config,
only : neko_bcknd_device, neko_bcknd_sx
42 use utils,
only: neko_error
51 module subroutine adjoint_pnpn_prs_res_factory(object)
52 class(adjoint_pnpn_prs_res_t),
allocatable,
intent(inout) :: object
54 if (
allocated(object))
then
59 if (neko_bcknd_sx .eq. 1)
then
60 call neko_error(
"not implemented")
61 else if (neko_bcknd_device .eq. 1)
then
67 end subroutine adjoint_pnpn_prs_res_factory
73 module subroutine adjoint_pnpn_vel_res_factory(object)
74 class(adjoint_pnpn_vel_res_t),
allocatable,
intent(inout) :: object
76 if (
allocated(object))
then
80 if (neko_bcknd_sx .eq. 1)
then
81 call neko_error(
"not implemented")
82 else if (neko_bcknd_device .eq. 1)
then
88 end subroutine adjoint_pnpn_vel_res_factory
90end submodule adjoint_pnpn_res_fctry
Residuals in the Pn-Pn formulation (CPU version)
Residuals in the Pn-Pn formulation (device backend)