Register the (CPU) radiation boundary condition. GPU builds overwrite this registration with the device kernel in AdditionalInit_LinearEuler3D.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(LinearEuler3D_t), | intent(inout) | :: | this |
subroutine AdditionalInit_LinearEuler3D_t(this)
!! Register the (CPU) radiation boundary condition. GPU builds overwrite
!! this registration with the device kernel in AdditionalInit_LinearEuler3D.
implicit none
class(LinearEuler3D_t),intent(inout) :: this
! Local
procedure(SELF_bcMethod),pointer :: bcfunc
bcfunc => hbc3d_Radiation_LinearEuler3D
call this%hyperbolicBCs%RegisterBoundaryCondition( &
SELF_BC_RADIATION,"radiation",bcfunc)
endsubroutine AdditionalInit_LinearEuler3D_t