#include <InterpolateRefinements.h>
|
| 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 |
|
InterpolateRefinements::InterpolateRefinements |
( |
int |
numberOfDimensions | ) |
|
References debug, Interpolate::initialize(), interp, interpParams, max(), myid, numberOfDimensions, numberOfGhostLines, refinementRatio, InterpolateParameters::setInterpolateOrder(), timeForBoundaryCoarseFromFine, timeForCoarseFromFine, timeForRefinementBoundaries, and timeForRefinements.
InterpolateRefinements::~InterpolateRefinements |
( |
| ) |
|
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::getIndex |
( |
const BOX & |
box, |
|
|
Index |
Iv[3] |
|
) |
| |
|
static |
int InterpolateRefinements::getIndex |
( |
const BOX & |
box, |
|
|
int |
side, |
|
|
int |
axis, |
|
|
Index |
Iv[3] |
|
) |
| |
|
static |
References Overture::abort(), allLevels, assert, GenericGridCollection::baseGridNumber, C, c, debug, doubleGridCollectionFunction::getComponentBase(), doubleGridCollectionFunction::getComponentBound(), getCPU(), doubleGridCollectionFunction::getGridCollection(), getIndex(), getLocalArrayWithGhostBoundaries(), GenericGridCollection::gridNumber, interp, interpParams, intersects(), mask, MappedGrid::mask(), mask2, nullRange, GenericGridCollection::numberOfComponentGrids(), numberOfDimensions, GridCollection::numberOfDimensions(), GenericGridCollection::numberOfRefinementLevels(), GridCollection::refinementLevel, refinementRatio, and timeForCoarseFromFine.
Referenced by ErrorEstimator::interpolateAndApplyBoundaryConditions().
References allLevels, assert, GenericGridCollection::baseGridNumber, C, c, debug, doubleGridCollectionFunction::getComponentBase(), doubleGridCollectionFunction::getComponentBound(), doubleGridCollectionFunction::getGridCollection(), getIndex(), ParentChildSiblingInfo::getParentBoxes(), GenericGridCollection::gridNumber, mask, MappedGrid::mask(), mask2, nullRange, GenericGridCollection::numberOfComponentGrids(), numberOfDimensions, GridCollection::numberOfDimensions(), MappedGrid::numberOfDimensions(), GenericGridCollection::numberOfRefinementLevels(), GridCollection::refinementLevel, and refinementRatio.
References Overture::abort(), allLevels, assert, GenericGridCollection::baseGridNumber, MappedGrid::boundaryCondition(), boxWasAdjustedInPeriodicDirection(), buildBaseBox(), C, c, ParallelUtility::copy(), debug, debugFile, display(), End, FOR_3D, FOR_3IJD, doubleGridCollectionFunction::getComponentBase(), doubleGridCollectionFunction::getComponentBound(), getCPU(), doubleGridCollectionFunction::getGridCollection(), getIndex(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), GridCollection::getParentChildSiblingInfo(), MappedGrid::gridIndexRange(), GenericGridCollection::gridNumber, i2, MappedGrid::indexRange(), interp, Interpolate::interpolateFineFromCoarse(), intersects(), isPeriodic, mask, MASK, MappedGrid::mask(), myid, nullRange, GenericGridCollection::numberOfComponentGrids(), numberOfDimensions, GridCollection::numberOfDimensions(), numberOfGhostLines, GenericGridCollection::numberOfRefinementLevels(), openDebugFile(), GridCollection::refinementLevel, refinementRatio, Start, timeForRefinementBoundaries, U0, U2, and GridCollection::updateParentChildSiblingInfo().
Referenced by ErrorEstimator::interpolateAndApplyBoundaryConditions(), and interpolateRefinements().
References allLevels, assert, GenericGridCollection::baseGridNumber, C, c, debug, doubleGridCollectionFunction::getComponentBase(), doubleGridCollectionFunction::getComponentBound(), getCPU(), doubleGridCollectionFunction::getGridCollection(), getIndex(), getLocalArrayWithGhostBoundaries(), ParentChildSiblingInfo::getParentGhostBoxes(), ParentChildSiblingInfo::getSiblingGhostBoxes(), GenericGridCollection::gridNumber, interp, Interpolate::interpolateCoarseToFine(), Interpolate::interpolateFineFromCoarse(), mask, MappedGrid::mask(), nullRange, GenericGridCollection::numberOfComponentGrids(), numberOfDimensions, GridCollection::numberOfDimensions(), numberOfGhostLines, GenericGridCollection::numberOfRefinementLevels(), GridCollection::refinementLevel, refinementRatio, s, and timeForBoundaryCoarseFromFine.
References Overture::abort(), assert, assign(), GenericGridCollection::baseGridNumber, Overture::checkMemoryUsage(), ParallelUtility::copy(), debug, dimension, display(), displayMask(), extendedGridIndexRange(), getCPU(), Overture::getCurrentMemoryUsage(), doubleGridCollectionFunction::getGridCollection(), getIndex(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), ParallelUtility::getSum(), GenericGridCollection::gridNumber, hasSameDistribution(), interp, Interpolate::interpolateFineFromCoarse(), interpolateRefinementBoundaries(), intersects(), isPeriodic, mask, Interpolate::maskEqualZero, min(), myid, GenericGridCollection::numberOfBaseGrids(), GenericGridCollection::numberOfComponentGrids(), numberOfDimensions, GridCollection::numberOfDimensions(), GenericGridCollection::numberOfRefinementLevels(), Regrid::outputRefinementInfo(), printF(), GridCollection::refinementFactor, GridCollection::refinementLevel, refinementRatio, Start, timeForRefinements, and Interpolate::useDefaultTransferWidth.
Box InterpolateRefinements::intersects |
( |
const Box & |
box1, |
|
|
const Box & |
box2 |
|
) |
| |
|
static |
void InterpolateRefinements::openDebugFile |
( |
| ) |
|
|
protected |
void InterpolateRefinements::printStatistics |
( |
FILE * |
file = NULL | ) |
const |
int InterpolateRefinements::setNumberOfGhostLines |
( |
int |
numberOfGhostLines | ) |
|
int InterpolateRefinements::setOrderOfInterpolation |
( |
int |
order | ) |
|
int InterpolateRefinements::debug |
FILE * InterpolateRefinements::debugFile =NULL |
|
static |
int InterpolateRefinements::myid |
|
protected |
int InterpolateRefinements::numberOfDimensions |
|
protected |
int InterpolateRefinements::numberOfGhostLines |
|
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: