62 TYPE(t_region
),
POINTER :: regions(:)
63 INTEGER,
INTENT(IN) :: ireg
66 INTEGER :: ir, iedge,
icorner,
i,
j,
k, ijk, icv
69 CHARACTER(CHRLEN) :: rcsidentstring
72 INTEGER ::
status(mpi_status_size)
74 INTEGER :: ilev, iregsrc, ibuff, ncv, ndim,
source,
tag
77 REAL(RFREAL),
POINTER :: cv(:,:)
80 TYPE(t_level
),
POINTER :: level
81 TYPE(t_dcelltransf
),
POINTER :: rcvpeuleccell
86 '$RCSfile: PEUL_ReceiveCornerEdgeCells.F90,v $ $Revision: 1.3 $'
88 global => regions(ireg)%global
91 'PEUL_ReceiveCornerEdgeCells.F90' )
95 ilev = regions(ireg)%currLevel
96 level => regions(ireg)%levels(ilev)
104 DO ir=1,global%nRegions
105 IF (regions(ir)%procid /= global%myProcid)
THEN
106 IF (level%rcvPeulEcCells(ir)%nCells > 0)
THEN
108 rcvpeuleccell => level%rcvPeulEcCells(ir)
109 ndim = rcvpeuleccell%nCells
113 source = regions(ir)%procid
114 tag = regions(ireg)%localNumber + peul_tag_shift
115 CALL mpi_recv( rcvpeuleccell%buff,ncv*ndim,mpi_rfreal, &
117 IF (global%mpierr /= 0) CALL
errorstop( global,err_mpi_trouble,__line__ )
123 IF (level%edgeCells(iedge)%interact)
THEN
132 ijkc = indijk(
i,
j,
k,icoff,ijcoff)
133 iregsrc = level%edgeCells(iedge)%cells(ijk)%srcRegion
134 IF (iregsrc == ir)
THEN
136 IF (level%edgeCells(iedge)%cells(ijk)%rotate)
THEN
140 cv(icv,ijkc) = rcvpeuleccell%buff(ibuff+(icv-1)*ndim)
154 IF (level%cornerCells(
icorner)%interact)
THEN
163 ijkc = indijk(
i,
j,
k,icoff,ijcoff)
164 iregsrc = level%cornerCells(
icorner)%cells(ijk)%srcRegion
165 IF (iregsrc == ir)
THEN
167 IF (level%cornerCells(
icorner)%cells(ijk)%rotate)
THEN
171 cv(icv,ijkc) = rcvpeuleccell%buff(ibuff+(icv-1)*ndim)
subroutine rflo_getedgecellsindices(region, iLev, iedge, iebeg, ieend, jebeg, jeend, kebeg, keend)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE ibeg
subroutine registerfunction(global, funName, fileName)
int status() const
Obtain the status of the attribute.
subroutine peul_receivecorneredgecells(regions, iReg)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE knode iend
subroutine rflo_getcelloffset(region, iLev, iCellOffset, ijCellOffset)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE icorner
subroutine rflo_getcornercellsindices(region, iLev, icorner, icbeg, icend, jcbeg, jcend, kcbeg, kcend)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE knode jend
CGAL::Point_2< R > source() const
subroutine errorstop(global, errorCode, errorLine, addMessage)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE knode jbeg
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE knode kbeg
subroutine deregisterfunction(global)