Overture  Version 25
Static Public Member Functions | Static Public Attributes | List of all members
CopyArray Class Reference

#include <ParallelUtility.h>

Static Public Member Functions

static int copyArray (const floatDistributedArray &u, Index *Iv, IndexBox *vBox, floatSerialArray &vLocal)
 
static int copyArray (const doubleDistributedArray &u, Index *Iv, IndexBox *vBox, doubleSerialArray &vLocal)
 
static int copyArray (const intDistributedArray &u, Index *Iv, IndexBox *vBox, intSerialArray &vLocal)
 
static int copyArray (floatArray &dest, Index *D, const floatArray &src, Index *S, int nd=4)
 
static int copyArray (doubleArray &dest, Index *D, const doubleArray &src, Index *S, int nd=4)
 
static int copyArray (intArray &dest, Index *D, const intArray &src, Index *S, int nd=4)
 
static int copyArray (const floatSerialArray &uLocal, const Index *Jv, const intSerialArray &uProcessorSet, floatDistributedArray &v, const Index *Iv)
 
static int copyArray (const doubleSerialArray &uLocal, const Index *Jv, const intSerialArray &uProcessorSet, doubleDistributedArray &v, const Index *Iv)
 
static int copyArray (const intSerialArray &uLocal, const Index *Jv, const intSerialArray &uProcessorSet, intDistributedArray &v, const Index *Iv)
 
static int copyArray (floatSerialArray &dest, int destProcessor, floatSerialArray &src, int srcProcessor)
 
static int copyArray (doubleSerialArray &dest, int destProcessor, doubleSerialArray &src, int srcProcessor)
 
static int copyArray (intSerialArray &dest, int destProcessor, intSerialArray &src, int srcProcessor)
 
static void getLocalArrayInterval (const floatDistributedArray &u, int p, int *pv)
 
static void getLocalArrayInterval (const doubleDistributedArray &u, int p, int *pv)
 
static void getLocalArrayInterval (const intDistributedArray &u, int p, int *pv)
 
static bool getLocalArrayBox (int p, const floatDistributedArray &u, IndexBox &uBox)
 
static bool getLocalArrayBox (int p, const doubleDistributedArray &u, IndexBox &uBox)
 
static bool getLocalArrayBox (int p, const intDistributedArray &u, IndexBox &uBox)
 
static bool getLocalArrayBoxWithGhost (int p, const floatDistributedArray &u, IndexBox &uBox)
 
static bool getLocalArrayBoxWithGhost (int p, const doubleDistributedArray &u, IndexBox &uBox)
 
static bool getLocalArrayBoxWithGhost (int p, const intDistributedArray &u, IndexBox &uBox)
 
static void copyCoarseToFine (const floatArray &uc, const floatArray &uf, Index *Iv, floatSerialArray &uc2, int *ratio, int *ghost)
 
static void copyCoarseToFine (const doubleArray &uc, const doubleArray &uf, Index *Iv, doubleSerialArray &uc2, int *ratio, int *ghost)
 
static void copyCoarseToFine (const intArray &uc, const intArray &uf, Index *Iv, intSerialArray &uc2, int *ratio, int *ghost)
 
static void getAggregateArray (floatSerialArray &u, Index *Iv, floatSerialArray &u0, int p0)
 
static void getAggregateArray (doubleSerialArray &u, Index *Iv, doubleSerialArray &u0, int p0)
 
static void getAggregateArray (intSerialArray &u, Index *Iv, intSerialArray &u0, int p0)
 

Static Public Attributes

static int debug =0
 

Member Function Documentation

int CopyArray::copyArray ( const floatDistributedArray u,
Index *  Iv,
IndexBox vBox,
floatSerialArray &  vLocal 
)
static
int CopyArray::copyArray ( const doubleDistributedArray u,
Index *  Iv,
IndexBox vBox,
doubleSerialArray &  vLocal 
)
static
int CopyArray::copyArray ( const intDistributedArray u,
Index *  Iv,
IndexBox vBox,
intSerialArray &  vLocal 
)
static
int CopyArray::copyArray ( floatArray &  dest,
Index *  D,
const floatArray &  src,
Index *  S,
int  nd = 4 
)
static
int CopyArray::copyArray ( doubleArray &  dest,
Index *  D,
const doubleArray &  src,
Index *  S,
int  nd = 4 
)
static
int CopyArray::copyArray ( intArray &  dest,
Index *  D,
const intArray &  src,
Index *  S,
int  nd = 4 
)
static
int CopyArray::copyArray ( const floatSerialArray &  uLocal,
const Index *  Jva,
const intSerialArray &  uProcessorSet,
floatDistributedArray v,
const Index *  Iva 
)
static

on the order v is assigned (i.e. not well defined)

  1. This routine does NOT perform a ghost boundary update so it is up to the calling program to do this if desired.

References abs(), assert, IndexBox::base(), IndexBox::bound(), debug, debugFile, display(), FOR_BOX, getLocalArrayBox(), getLocalArrayWithGhostBoundaries(), i2, IndexBox::intersect(), IndexBox::isEmpty(), max(), MAX_DISTRIBUTED_DIMENSIONS, min(), NULL, OV_ABORT, Overture::OV_COMM, IndexBox::processor, IndexBox::size(), U, and V.

int CopyArray::copyArray ( const doubleSerialArray &  uLocal,
const Index *  Jva,
const intSerialArray &  uProcessorSet,
doubleDistributedArray v,
const Index *  Iva 
)
static

on the order v is assigned (i.e. not well defined)

  1. This routine does NOT perform a ghost boundary update so it is up to the calling program to do this if desired.

References abs(), assert, IndexBox::base(), IndexBox::bound(), debug, debugFile, display(), FOR_BOX, getLocalArrayBox(), getLocalArrayWithGhostBoundaries(), i2, IndexBox::intersect(), IndexBox::isEmpty(), max(), MAX_DISTRIBUTED_DIMENSIONS, min(), NULL, OV_ABORT, Overture::OV_COMM, IndexBox::processor, IndexBox::size(), U, and V.

int CopyArray::copyArray ( const intSerialArray &  uLocal,
const Index *  Jva,
const intSerialArray &  uProcessorSet,
intDistributedArray v,
const Index *  Iva 
)
static

on the order v is assigned (i.e. not well defined)

  1. This routine does NOT perform a ghost boundary update so it is up to the calling program to do this if desired.

References abs(), assert, IndexBox::base(), IndexBox::bound(), debug, debugFile, display(), FOR_BOX, getLocalArrayBox(), getLocalArrayWithGhostBoundaries(), i2, IndexBox::intersect(), IndexBox::isEmpty(), max(), MAX_DISTRIBUTED_DIMENSIONS, min(), NULL, OV_ABORT, Overture::OV_COMM, IndexBox::processor, IndexBox::size(), U, and V.

int CopyArray::copyArray ( floatSerialArray &  dest,
int  destProcessor,
floatSerialArray &  src,
int  srcProcessor 
)
static

References assert, D, debug, and MPI_COMM_WORLD.

int CopyArray::copyArray ( doubleSerialArray &  dest,
int  destProcessor,
doubleSerialArray &  src,
int  srcProcessor 
)
static

References assert, D, debug, and MPI_COMM_WORLD.

int CopyArray::copyArray ( intSerialArray &  dest,
int  destProcessor,
intSerialArray &  src,
int  srcProcessor 
)
static

References assert, D, debug, and MPI_COMM_WORLD.

void CopyArray::copyCoarseToFine ( const floatArray &  uc,
const floatArray &  uf,
Index *  Iv,
floatSerialArray &  uc2,
int *  ratio,
int *  ghost 
)
static
void CopyArray::copyCoarseToFine ( const doubleArray &  uc,
const doubleArray &  uf,
Index *  Iv,
doubleSerialArray &  uc2,
int *  ratio,
int *  ghost 
)
static
void CopyArray::copyCoarseToFine ( const intArray &  uc,
const intArray &  uf,
Index *  Iv,
intSerialArray &  uc2,
int *  ratio,
int *  ghost 
)
static
void CopyArray::getAggregateArray ( floatSerialArray &  u,
Index *  Iv,
floatSerialArray &  u0,
int  p0 
)
static
void CopyArray::getAggregateArray ( doubleSerialArray &  u,
Index *  Iv,
doubleSerialArray &  u0,
int  p0 
)
static
void CopyArray::getAggregateArray ( intSerialArray &  u,
Index *  Iv,
intSerialArray &  u0,
int  p0 
)
static
bool CopyArray::getLocalArrayBox ( int  p,
const floatDistributedArray u,
IndexBox uBox 
)
static
bool CopyArray::getLocalArrayBox ( int  p,
const doubleDistributedArray u,
IndexBox uBox 
)
static
bool CopyArray::getLocalArrayBox ( int  p,
const intDistributedArray u,
IndexBox uBox 
)
static
bool CopyArray::getLocalArrayBoxWithGhost ( int  p,
const floatDistributedArray u,
IndexBox uBox 
)
static
bool CopyArray::getLocalArrayBoxWithGhost ( int  p,
const doubleDistributedArray u,
IndexBox uBox 
)
static
bool CopyArray::getLocalArrayBoxWithGhost ( int  p,
const intDistributedArray u,
IndexBox uBox 
)
static
void CopyArray::getLocalArrayInterval ( const floatDistributedArray u,
int  p,
int *  pv 
)
static

References MAX_DISTRIBUTED_DIMENSIONS, and min().

Referenced by getLocalArrayBox().

void CopyArray::getLocalArrayInterval ( const doubleDistributedArray u,
int  p,
int *  pv 
)
static
void CopyArray::getLocalArrayInterval ( const intDistributedArray u,
int  p,
int *  pv 
)
static

Member Data Documentation

int CopyArray::debug =0
static

Referenced by copyArray().


The documentation for this class was generated from the following files: