Overture  Version 25
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
InterpolateRefinements Class Reference

#include <InterpolateRefinements.h>

Collaboration diagram for InterpolateRefinements:
Collaboration graph
[legend]

Public Types

enum  { allLevels =-1 }
 

Public Member Functions

 InterpolateRefinements (int numberOfDimensions)
 
 ~InterpolateRefinements ()
 
int interpolateRefinements (const realGridCollectionFunction &uOld, realGridCollectionFunction &u, int baseLevel=1)
 
int interpolateRefinementBoundaries (realGridCollectionFunction &u, int levelToInterpolate=allLevels, const Range &C=nullRange)
 
int interpolateRefinementBoundaries (ListOfParentChildSiblingInfo &listOfPCSInfo, realGridCollectionFunction &u, int levelToInterpolate=allLevels, const Range &C0=nullRange)
 
int interpolateCoarseFromFine (realGridCollectionFunction &u, int levelToInterpolate=allLevels, const Range &C=nullRange)
 
int interpolateCoarseFromFine (ListOfParentChildSiblingInfo &listOfPCSInfo, realGridCollectionFunction &u, int levelToInterpolate=allLevels, const Range &C=nullRange)
 
int get (const GenericDataBase &dir, const aString &name)
 
int put (GenericDataBase &dir, const aString &name) const
 
int setOrderOfInterpolation (int order)
 
int setNumberOfGhostLines (int numberOfGhostLines)
 
void printStatistics (FILE *file=NULL) const
 

Static Public Member Functions

static int getIndex (const BOX &box, Index Iv[3])
 
static int getIndex (const BOX &box, int side, int axis, Index Iv[3])
 
static Box intersects (const Box &box1, const Box &box2)
 
static Box buildBox (Index Iv[3])
 
static Box buildBaseBox (MappedGrid &mg)
 
static Box buildBox (realArray &u, Index Iv[3], int processor)
 

Public Attributes

int debug
 

Static Public Attributes

static FILE * debugFile =NULL
 

Protected Member Functions

bool boxWasAdjustedInPeriodicDirection (BOX &box, GridCollection &gc, int baseGrid, int level, int &periodicDirection, int &periodShift)
 
void openDebugFile ()
 

Protected Attributes

int numberOfDimensions
 
Interpolate interp
 
InterpolateParameters interpParams
 
IntegerArray refinementRatio
 
int numberOfGhostLines
 
real timeForCoarseFromFine
 
real timeForRefinementBoundaries
 
real timeForRefinements
 
real timeForBoundaryCoarseFromFine
 
int myid
 

Member Enumeration Documentation

anonymous enum
Enumerator
allLevels 

Constructor & Destructor Documentation

InterpolateRefinements::InterpolateRefinements ( int  numberOfDimensions)
InterpolateRefinements::~InterpolateRefinements ( )

Member Function Documentation

bool InterpolateRefinements::boxWasAdjustedInPeriodicDirection ( BOX &  box,
GridCollection gc,
int  baseGrid,
int  level,
int &  periodicDirection,
int &  periodShift 
)
protected
Box InterpolateRefinements::buildBaseBox ( MappedGrid mg)
static
Box InterpolateRefinements::buildBox ( Index  Iv[3])
static
Box InterpolateRefinements::buildBox ( realArray u,
Index  Iv[3],
int  processor 
)
static
int InterpolateRefinements::get ( const GenericDataBase dir,
const aString name 
)
int InterpolateRefinements::getIndex ( const BOX &  box,
Index  Iv[3] 
)
static
int InterpolateRefinements::getIndex ( const BOX &  box,
int  side,
int  axis,
Index  Iv[3] 
)
static
int InterpolateRefinements::interpolateCoarseFromFine ( realGridCollectionFunction u,
int  levelToInterpolate = allLevels,
const Range &  C = nullRange 
)
int InterpolateRefinements::interpolateCoarseFromFine ( ListOfParentChildSiblingInfo listOfPCSInfo,
realGridCollectionFunction u,
int  levelToInterpolate = allLevels,
const Range &  C = nullRange 
)
int InterpolateRefinements::interpolateRefinementBoundaries ( realGridCollectionFunction u,
int  levelToInterpolate = allLevels,
const Range &  C = nullRange 
)
int InterpolateRefinements::interpolateRefinementBoundaries ( ListOfParentChildSiblingInfo listOfPCSInfo,
realGridCollectionFunction u,
int  levelToInterpolate = allLevels,
const Range &  C0 = nullRange 
)
int InterpolateRefinements::interpolateRefinements ( const realGridCollectionFunction uOld,
realGridCollectionFunction u,
int  baseLevel = 1 
)
Box InterpolateRefinements::intersects ( const Box &  box1,
const Box &  box2 
)
static
void InterpolateRefinements::openDebugFile ( )
protected
void InterpolateRefinements::printStatistics ( FILE *  file = NULL) const
int InterpolateRefinements::put ( GenericDataBase dir,
const aString name 
) const
int InterpolateRefinements::setNumberOfGhostLines ( int  numberOfGhostLines)

References numberOfGhostLines.

int InterpolateRefinements::setOrderOfInterpolation ( int  order)

Member Data Documentation

int InterpolateRefinements::debug
FILE * InterpolateRefinements::debugFile =NULL
static
Interpolate InterpolateRefinements::interp
protected
InterpolateParameters InterpolateRefinements::interpParams
protected
int InterpolateRefinements::myid
protected
int InterpolateRefinements::numberOfDimensions
protected
int InterpolateRefinements::numberOfGhostLines
protected
IntegerArray InterpolateRefinements::refinementRatio
protected
real InterpolateRefinements::timeForBoundaryCoarseFromFine
protected
real InterpolateRefinements::timeForCoarseFromFine
protected
real InterpolateRefinements::timeForRefinementBoundaries
protected
real InterpolateRefinements::timeForRefinements
protected

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