58 TYPE(t_region
),
POINTER :: regions(:)
66 CHARACTER(CHRLEN) :: rcsidentstring
68 INTEGER :: ilev, npatches, bctype, iregdes, ipatchdes
75 rcsidentstring =
'$RCSfile: PLAG_BoundaryConditionsSet.F90,v $ $Revision: 1.3 $'
77 global => regions(ireg)%global
80 'PLAG_BoundaryConditionsSet.F90' )
84 ilev = regions(ireg)%currLevel
85 npatches = regions(ireg)%nPatches
91 patch => regions(ireg)%levels(ilev)%patches(ipatch)
94 iregdes =
patch%srcRegion
95 ipatchdes =
patch%srcPatch
99 IF (bctype>=bc_regionconf .AND. bctype<=bc_regionconf+bc_range)
THEN
100 patchdes => regions(iregdes)%levels(ilev)%patches(ipatchdes)
102 IF (regions(iregdes)%procid == global%myProcid)
THEN
104 patch,patchdes, ireg, iregdes )
109 ELSE IF ( (bctype>=bc_regionint .AND. bctype<=bc_regionint+bc_range) .OR. &
110 (bctype>=bc_regnonconf .AND. bctype<=bc_regnonconf+bc_range) .OR. &
111 (bctype>=bc_tra_peri .AND. bctype<=bc_tra_peri+bc_range) .OR. &
112 (bctype>=bc_rot_peri .AND. bctype<=bc_rot_peri+bc_range) )
THEN
113 patchdes => regions(iregdes)%levels(ilev)%patches(ipatchdes)
115 CALL
errorstop( global,err_unknown_bc,__line__ )
subroutine plag_patchexchangeconf(region, regionDes, patch, patchDes, iReg, iRegDes)
subroutine registerfunction(global, funName, fileName)
subroutine plag_boundaryconditionsset(regions, iReg)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)