Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Indexing.h
Go to the documentation of this file.
1 !******************************************************************************
2 !
3 ! Purpose: calculation of pointers to grid cells/nodes.
4 !
5 ! Description: - IndIJ = pointer to grid cell/node based on i,j indices
6 ! - IndIJK = pointer to grid cell/node based on i,j,k indices
7 !
8 ! Notes: subroutines RFLO_GetCellOffset or RFLO_GetNodeOffset must be called
9 ! BEFORE the functions are used in order to set the correct offsets.
10 !
11 !******************************************************************************
12 !
13 ! $Id: Indexing.h,v 1.1 2003/05/15 03:10:38 jblazek Exp $
14 !
15 ! Copyright: (c) 2003 by the University of Illinois
16 !
17 !******************************************************************************
18 
19 #define IndIJK(i,j,k,iOff,ijOff) ((i)+((j)-1)*(iOff)+((k)-1)*(ijOff))
20 #define IndIJ(i,j,iOff) ((i)+((j)-1)*(iOff))
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed by
Definition: roccomf90.h:7
j indices k indices iOff
Definition: Indexing.h:6
!$Id A and M Breitenfeld **Created on
Definition: rocmanf90.h:1
j indices k indices k
Definition: Indexing.h:6
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of Illinois
Definition: roccomf90.h:20
Definition: adj.h:150
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS 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 v
Definition: roccomf90.h:20
**********************************************************************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 RFLO_GetCellOffset(region, iLev, iCellOffset, ijCellOffset) USE ModDataStruct
#define IndIJ(i, j, iOff)
Definition: Indexing.h:20
blockLoc i
Definition: read.cpp:79
#define IndIJK(i, j, k, iOff, ijOff)
j indices j
Definition: Indexing.h:6
**********************************************************************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 RFLO_GetNodeOffset(region, iLev, iNodeOffset, ijNodeOffset) USE ModDataStruct
!$Id A and M Breitenfeld **Created ** Purpose
Definition: rocmanf90.h:1
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License **** Copyright
Definition: roccomf90.h:7