60 CHARACTER(CHRLEN) :: RCSIdentString = &
61 '$RCSfile: RFLO_ModExtrapolation.F90,v $ $Revision: 1.3 $'
89 inoff,ijnoff,idb,ide,var )
96 INTEGER ::
ibeg,
iend,
jbeg,
jend,
kbeg, kend, ndum, idb, ide, inoff, ijnoff
97 REAL(RFREAL),
POINTER :: var(:,:)
103 INTEGER :: nelm, ndim, ijkn, ijkn1, ijkn2,
error
110 IF ((
SIZE( var,1 ) < nelm) .OR. (
SIZE( var,2 ) /= ndim))
THEN
111 WRITE(stderr,
'(A)') solver_name
112 WRITE(stderr,
'(A,1X,A)') solver_name,
'ERROR in RFLO_ExtrapRegDummyNode: '
113 WRITE(stderr,
'(A,1X,A)') solver_name,
'inconsistent 1st or 2nd dimension'
114 WRITE(stderr,
'(A)') solver_name
116 CALL mpi_abort(
error )
124 ijkn = indijk(
i ,
j ,
k ,inoff,ijnoff)
125 ijkn1 = indijk(
i+1 ,
j ,
k ,inoff,ijnoff)
126 ijkn2 = indijk(
i+2 ,
j ,
k ,inoff,ijnoff)
127 var(idb:ide,ijkn) = 2*var(idb:ide,ijkn1) - var(idb:ide,ijkn2)
130 ijkn = indijk(
i ,
j ,
k ,inoff,ijnoff)
131 ijkn1 = indijk(
i-1 ,
j ,
k ,inoff,ijnoff)
132 ijkn2 = indijk(
i-2 ,
j ,
k ,inoff,ijnoff)
133 var(idb:ide,ijkn) = 2*var(idb:ide,ijkn1) - var(idb:ide,ijkn2)
141 ijkn = indijk(
i ,
j ,
k ,inoff,ijnoff)
142 ijkn1 = indijk(
i ,
j+1 ,
k ,inoff,ijnoff)
143 ijkn2 = indijk(
i ,
j+2 ,
k ,inoff,ijnoff)
144 var(idb:ide,ijkn) = 2*var(idb:ide,ijkn1) - var(idb:ide,ijkn2)
147 ijkn = indijk(
i ,
j ,
k ,inoff,ijnoff)
148 ijkn1 = indijk(
i ,
j-1 ,
k ,inoff,ijnoff)
149 ijkn2 = indijk(
i ,
j-2 ,
k ,inoff,ijnoff)
150 var(idb:ide,ijkn) = 2*var(idb:ide,ijkn1) - var(idb:ide,ijkn2)
158 ijkn = indijk(
i ,
j ,
k ,inoff,ijnoff)
159 ijkn1 = indijk(
i ,
j ,
k+1 ,inoff,ijnoff)
160 ijkn2 = indijk(
i ,
j ,
k+2 ,inoff,ijnoff)
161 var(idb:ide,ijkn) = 2*var(idb:ide,ijkn1) - var(idb:ide,ijkn2)
163 DO k=kend-ndum+1,kend
164 ijkn = indijk(
i ,
j ,
k ,inoff,ijnoff)
165 ijkn1 = indijk(
i ,
j ,
k-1 ,inoff,ijnoff)
166 ijkn2 = indijk(
i ,
j ,
k-2 ,inoff,ijnoff)
167 var(idb:ide,ijkn) = 2*var(idb:ide,ijkn1) - var(idb:ide,ijkn2)
196 inoff,ijnoff,idb,ide,var )
200 #include "Indexing.h"
204 REAL(RFREAL),
POINTER :: var(:,:)
210 INTEGER :: nelm, ndim, ijkn, ijkn1, ijkn2,
error
217 IF ((
SIZE( var,1 ) < nelm) .OR. (
SIZE( var,2 ) /= ndim))
THEN
218 WRITE(stderr,
'(A)') solver_name
219 WRITE(stderr,
'(A,1X,A)') solver_name,
'ERROR in RFLO_ExtrapRegDummyNode: '
220 WRITE(stderr,
'(A,1X,A)') solver_name,
'inconsistent 1st or 2nd dimension'
221 WRITE(stderr,
'(A)') solver_name
223 CALL mpi_abort(
error )
231 ijkn = indijk(
i ,
j ,
k ,inoff,ijnoff)
232 ijkn1 = indijk(
i+1 ,
j ,
k ,inoff,ijnoff)
233 ijkn2 = indijk(
i+2 ,
j ,
k ,inoff,ijnoff)
234 var(idb:ide,ijkn) = 2*var(idb:ide,ijkn1) - var(idb:ide,ijkn2)
237 ijkn = indijk(
i ,
j ,
k ,inoff,ijnoff)
238 ijkn1 = indijk(
i-1 ,
j ,
k ,inoff,ijnoff)
239 ijkn2 = indijk(
i-2 ,
j ,
k ,inoff,ijnoff)
240 var(idb:ide,ijkn) = 2*var(idb:ide,ijkn1) - var(idb:ide,ijkn2)
248 ijkn = indijk(
i ,
j ,
k ,inoff,ijnoff)
249 ijkn1 = indijk(
i ,
j+1 ,
k ,inoff,ijnoff)
250 ijkn2 = indijk(
i ,
j+2 ,
k ,inoff,ijnoff)
251 var(idb:ide,ijkn) = 2*var(idb:ide,ijkn1) - var(idb:ide,ijkn2)
254 ijkn = indijk(
i ,
j ,
k ,inoff,ijnoff)
255 ijkn1 = indijk(
i ,
j-1 ,
k ,inoff,ijnoff)
256 ijkn2 = indijk(
i ,
j-2 ,
k ,inoff,ijnoff)
257 var(idb:ide,ijkn) = 2*var(idb:ide,ijkn1) - var(idb:ide,ijkn2)
265 ijkn = indijk(
i ,
j ,
k ,inoff,ijnoff)
266 ijkn1 = indijk(
i ,
j ,
k+1 ,inoff,ijnoff)
267 ijkn2 = indijk(
i ,
j ,
k+2 ,inoff,ijnoff)
268 var(idb:ide,ijkn) = 2*var(idb:ide,ijkn1) - var(idb:ide,ijkn2)
271 ijkn = indijk(
i ,
j ,
k ,inoff,ijnoff)
272 ijkn1 = indijk(
i ,
j ,
k-1 ,inoff,ijnoff)
273 ijkn2 = indijk(
i ,
j ,
k-2 ,inoff,ijnoff)
274 var(idb:ide,ijkn) = 2*var(idb:ide,ijkn1) - var(idb:ide,ijkn2)
**********************************************************************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
**********************************************************************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
**********************************************************************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
**********************************************************************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