64 CLASS(boundary_nogradients),
INTENT(INOUT) :: this
65 CLASS(physics_base),
INTENT(IN) :: Physics
66 CLASS(mesh_base),
INTENT(IN) :: Mesh
67 TYPE(Dict_TYP),
POINTER :: config
72 CALL this%InitBoundary(mesh,physics,no_gradients,
boundcond_name,dir,config)
82 REAL,
INTENT(IN) :: time
87 SELECT CASE(
this%direction%GetType())
94 pvar%data4d(mesh%IMIN-i,mesh%JMIN:mesh%JMAX,mesh%KMIN:mesh%KMAX,:) = &
95 pvar%data4d(mesh%IMIN,mesh%JMIN:mesh%JMAX,mesh%KMIN:mesh%KMAX,:)
100 pvar%data4d(mesh%IMAX+i,mesh%JMIN:mesh%JMAX,mesh%KMIN:mesh%KMAX,:) = &
101 pvar%data4d(mesh%IMAX,mesh%JMIN:mesh%JMAX,mesh%KMIN:mesh%KMAX,:)
106 pvar%data4d(mesh%IMIN:mesh%IMAX,mesh%JMIN-j,mesh%KMIN:mesh%KMAX,:) = &
107 pvar%data4d(mesh%IMIN:mesh%IMAX,mesh%JMIN,mesh%KMIN:mesh%KMAX,:)
112 pvar%data4d(mesh%IMIN:mesh%IMAX,mesh%JMAX+j,mesh%KMIN:mesh%KMAX,:) = &
113 pvar%data4d(mesh%IMIN:mesh%IMAX,mesh%JMAX,mesh%KMIN:mesh%KMAX,:)
118 pvar%data4d(mesh%IMIN:mesh%IMAX,mesh%JMIN:mesh%JMAX,mesh%KMIN-k,:) = &
119 pvar%data4d(mesh%IMIN:mesh%IMAX,mesh%JMIN:mesh%JMAX,mesh%KMIN,:)
124 pvar%data4d(mesh%IMIN:mesh%IMAX,mesh%JMIN:mesh%JMAX,mesh%KMAX+k,:) = &
125 pvar%data4d(mesh%IMIN:mesh%IMAX,mesh%JMIN:mesh%JMAX,mesh%KMAX,:)
135 CLASS(boundary_nogradients),
INTENT(INOUT) :: this
137 CALL this%Finalize_base()
Boundary module for reflecting boundaries.
type(logging_base), save this
derived class for compound of mesh arrays
subroutine finalize(this)
Destructor for nogradients boundary conditions.
pure subroutine setboundarydata(this, Mesh, Physics, time, pvar)
Applies the nogradients boundary condition.
subroutine initboundary_nogradients(this, Mesh, Physics, dir, config)
Constructor for nogradients boundary conditions.
named integer constants for flavour of state vectors
Dictionary for generic data types.
character(len=32), parameter boundcond_name