Register the (CPU) no-normal-flow and radiation boundary conditions. GPU builds call this parent and then overwrite both registrations with the device kernels in AdditionalInit_LinearEuler2D.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(LinearEuler2D_t), | intent(inout) | :: | this |
subroutine AdditionalInit_LinearEuler2D_t(this)
!! Register the (CPU) no-normal-flow and radiation boundary conditions.
!! GPU builds call this parent and then overwrite both registrations with
!! the device kernels in AdditionalInit_LinearEuler2D.
implicit none
class(LinearEuler2D_t),intent(inout) :: this
! Local
procedure(SELF_bcMethod),pointer :: bcfunc
bcfunc => hbc2d_NoNormalFlow_LinearEuler2D
call this%hyperbolicBCs%RegisterBoundaryCondition( &
SELF_BC_NONORMALFLOW,"no_normal_flow",bcfunc)
bcfunc => hbc2d_Radiation_LinearEuler2D
call this%hyperbolicBCs%RegisterBoundaryCondition( &
SELF_BC_RADIATION,"radiation",bcfunc)
endsubroutine AdditionalInit_LinearEuler2D_t