aboutsummaryrefslogtreecommitdiff
path: root/src/include/pGV.h
diff options
context:
space:
mode:
authorallen <allen@b61c5cb5-eaca-4651-9a7a-d64986f99364>2000-03-23 15:18:57 +0000
committerallen <allen@b61c5cb5-eaca-4651-9a7a-d64986f99364>2000-03-23 15:18:57 +0000
commit3641f4c7513fffd1f0d026f1a859ecaa78712682 (patch)
tree322b86eeaf723d4940ffaff81d5b02819146d39c /src/include/pGV.h
parenta5844c641aa3c1b179d0176acf16fcd3607d439c (diff)
Major changes to PUGH as the dearly loved pGF is removed, and a grid function
is lowered to being simply a special case of a grid array, pGA. Grid arrays can all have different sizes, which means that now the size of a GA is moved from the GH to a structure on the GA, along with a lot of other connectivity and additional information which was formerly on the GH. If you need to care about these changes, take a look at the files in src/include/pGH.h and src/include/pGA.h, to see the new structures (I'll leave the old files pGF.h and SetupPGF.c around for a while to compare with). Also, look at a PUGH dependent file which has already been converted, such as CactusPUGHIO/IOASCII/src/Write1D.c. Warning: This commit breaks the development versions of IOHDF5 and IsoSurfacer, these will be fixed real quick. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@182 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src/include/pGV.h')
-rw-r--r--src/include/pGV.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/pGV.h b/src/include/pGV.h
index 4cae517..a69f10d 100644
--- a/src/include/pGV.h
+++ b/src/include/pGV.h
@@ -16,6 +16,8 @@ extern "C"
{
#endif
+#define DATINDEX(GH,i,j,k) ((i) + GH->lnsize[0]*((j)+GH->lnsize[1]*(k)))
+
typedef enum {pgv_none, pgv_scalar, pgv_array, pgv_gf} pgv_type;
typedef struct PConnectivity
@@ -23,7 +25,7 @@ typedef struct PConnectivity
int dim;
int *nprocs;
int **neighbours;
- int periodic; /* Is the system periodic? */
+ int *perme; /* Is the system periodic? */
} pConnectivity;
typedef struct PGS