Main Page   File List   File Members  

AMRData.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Client-side functions

void AMR_Create (int MPI_communicator, int components, int dimension, int centering, int type, int ordering, int *levelhandle)
void AMR_AddPatchInt (int levelhandle, CONST int *loRange, CONST int *hiRange, CONST int *loValid, CONST int *hiValid, CONST int *dataPtr)
void AMR_AddPatchFloat (int levelhandle, CONST int *loRange, CONST int *hiRange, CONST int *loValid, CONST int *hiValid, CONST float *dataPtr)
void AMR_AddPatchDouble (int levelhandle, CONST int *loRange, CONST int *hiRange, CONST int *loValid, CONST int *hiValid, CONST double *dataPtr)
void AMR_AddPatchLong (int levelhandle, CONST int *loRange, CONST int *hiRange, CONST int *loValid, CONST int *hiValid, CONST long *dataPtr)
void AMR_Close (int levelhandle)
void AMR_Delete (int levelhandle)

Server Server-side functions

void AMR_GetInfo (int levelhandle, int *MPI_communicator, int *nComponents, int *dimension, int *centering, int *type, int *ordering, int *localcount)
void AMR_GetPatchInfo (int levelhandle, int patch, int *loRange, int *hiRange, int *loValid, int *hiValid)
void AMR_GetPatchInt (int levelhandle, int patch, int **dataPtr)
void AMR_GetPatchFloat (int levelhandle, int patch, float **dataPtr)
void AMR_GetPatchDouble (int levelhandle, int patch, double **dataPtr)
void AMR_GetPatchLong (int levelhandle, int patch, long **dataPtr)

Fortran binding for functions

void amrcreate_ (int *MPI_communicator, int *components, int *dimension, int *centering, int *type, int *ordering, int *levelhandle)
void amraddpatchint_ (int *levelhandle, int *loRange, int *hiRange, int *loValid, int *hiValid, int *dataPtr)
void amraddpatchfloat_ (int *levelhandle, int *loRange, int *hiRange, int *loValid, int *hiValid, float *dataPtr)
void amraddpatchdouble_ (int *levelhandle, int *loRange, int *hiRange, int *loValid, int *hiValid, double *dataPtr)
void amraddpatchlong_ (int *levelhandle, int *loRange, int *hiRange, int *loValid, int *hiValid, long *dataPtr)
void amrclose_ (int *levelhandle)
void amrdelete_ (int *levelhandle)
void amrgetinfo_ (int *levelhandle, int *MPI_communicator, int *nComponents, int *dimension, int *centering, int *type, int *ordering, int *localcount)
void amrgetpatchinfo_ (int *levelhandle, int *patch, int *loRange, int *hiRange, int *loValid, int *hiValid)
void amrgetpatchint_ (int *levelhandle, int *patch, int *data)
void amrgetpatchfloat_ (int *levelhandle, int *patch, float *data)
void amrgetpatchdouble_ (int *levelhandle, int *patch, double *data)
void amrgetpatchlong_ (int *levelhandle, int *patch, long *data)

Defines

#define CONST

Functions

void AMR_setErrorHandler (void(*e)(char *))

Variables

void(*)(char *) AMR_getErrorHandler ()


Define Documentation

#define CONST
 

  • centering
    • Cell-centered : int centering = 0
    • Face-centered-X: int centering = 1
    • " Y: int centering = 2
    • " Z: int centering = 3
    • Edge-centered X :int centering = 4
    • Edge-centered Y :int centering = 5
    • Edge-centered Z :int centering = 6
    • Node-centered : int centering = 7
    • Face-centered : int centering = 8
    • other tough luck
  • type
    • int : int type = 0
    • double : int type = 1
    • float : int type = 2
    • long : int type = 3
    • float complex : tough luck (no such native type for C/C++/Python)
    • double complex: "
  • ordering
    • val = data[c*(jnum*inum)+j*inum+i] : int ordering = 0
    • val = data[j*(comps*inum)+i*comps+c]: int ordering = 1
    • other : tough luck (?)

Client-Server

The terminology "client" and "server" here are abstract. They do not imply any kind of data movement or communication or that sockets are hiding in here. "client" refers to the software package that has a native representation of the AMR data. "server" is the package that has an algortihm or module that will act on this data (provides "service" for a "client")


Function Documentation

void AMR_AddPatchDouble int    levelhandle,
CONST int *    loRange,
CONST int *    hiRange,
CONST int *    loValid,
CONST int *    hiValid,
CONST double *    dataPtr
 

enter aliasing information for a patch on this processor aborts if handle has been closed or deleted, or if type != 2 for handle

void AMR_AddPatchFloat int    levelhandle,
CONST int *    loRange,
CONST int *    hiRange,
CONST int *    loValid,
CONST int *    hiValid,
CONST float *    dataPtr
 

enter aliasing information for a patch on this processor aborts if handle has been closed or deleted, or if type != 1 for handle

void AMR_AddPatchInt int    levelhandle,
CONST int *    loRange,
CONST int *    hiRange,
CONST int *    loValid,
CONST int *    hiValid,
CONST int *    dataPtr
 

enter aliasing information for a patch on this processor aborts if handle has been closed or deleted, or if type != 0 for handle.

void AMR_AddPatchLong int    levelhandle,
CONST int *    loRange,
CONST int *    hiRange,
CONST int *    loValid,
CONST int *    hiValid,
CONST long *    dataPtr
 

enter aliasing information for a patch on this processor aborts if handle has been closed or deleted, or if type != 3 for handle

void AMR_Close int    levelhandle
 

AMR_add* functions can no longer be called on this AMR object

void AMR_Create int    MPI_communicator,
int    components,
int    dimension,
int    centering,
int    type,
int    ordering,
int *    levelhandle
 

void AMR_Delete int    levelhandle
 

closes and removes all alias information for this AMR object

void AMR_GetInfo int    levelhandle,
int *    MPI_communicator,
int *    nComponents,
int *    dimension,
int *    centering,
int *    type,
int *    ordering,
int *    localcount
 

void AMR_GetPatchDouble int    levelhandle,
int    patch,
double **    dataPtr
 

void AMR_GetPatchFloat int    levelhandle,
int    patch,
float **    dataPtr
 

void AMR_GetPatchInfo int    levelhandle,
int    patch,
int *    loRange,
int *    hiRange,
int *    loValid,
int *    hiValid
 

first entry info

void AMR_GetPatchInt int    levelhandle,
int    patch,
int **    dataPtr
 

void AMR_GetPatchLong int    levelhandle,
int    patch,
long **    dataPtr
 

void AMR_setErrorHandler void(*    e)(char *)
 

void amraddpatchdouble_ int *    levelhandle,
int *    loRange,
int *    hiRange,
int *    loValid,
int *    hiValid,
double *    dataPtr
 

void amraddpatchfloat_ int *    levelhandle,
int *    loRange,
int *    hiRange,
int *    loValid,
int *    hiValid,
float *    dataPtr
 

void amraddpatchint_ int *    levelhandle,
int *    loRange,
int *    hiRange,
int *    loValid,
int *    hiValid,
int *    dataPtr
 

void amraddpatchlong_ int *    levelhandle,
int *    loRange,
int *    hiRange,
int *    loValid,
int *    hiValid,
long *    dataPtr
 

void amrclose_ int *    levelhandle
 

void amrcreate_ int *    MPI_communicator,
int *    components,
int *    dimension,
int *    centering,
int *    type,
int *    ordering,
int *    levelhandle
 

See also:
AMR_Create

void amrdelete_ int *    levelhandle
 

void amrgetinfo_ int *    levelhandle,
int *    MPI_communicator,
int *    nComponents,
int *    dimension,
int *    centering,
int *    type,
int *    ordering,
int *    localcount
 

void amrgetpatchdouble_ int *    levelhandle,
int *    patch,
double *    data
 

void amrgetpatchfloat_ int *    levelhandle,
int *    patch,
float *    data
 

void amrgetpatchinfo_ int *    levelhandle,
int *    patch,
int *    loRange,
int *    hiRange,
int *    loValid,
int *    hiValid
 

void amrgetpatchint_ int *    levelhandle,
int *    patch,
int *    data
 

void amrgetpatchlong_ int *    levelhandle,
int *    patch,
long *    data
 


Variable Documentation

void(*)(char*) AMR_getErrorHandler()
 


Generated on Wed Apr 16 14:57:22 2003 for AMRInteroperability by doxygen1.2.16