|
| Interpolate () |
|
| Interpolate (const InterpolateParameters &interpParams_, const bool timing=LogicalFalse) |
|
| ~Interpolate () |
|
int | initialize (const InterpolateParameters &interpParams_, const bool timing=LogicalFalse) |
|
int | interpolateCoarseToFine (realArray &fineGridArray, const Index Iv[3], const realArray &coarseGridArray, const IntegerArray &amrRefinementRatio_=Overture::nullIntArray()) |
|
int | interpolateFineToCoarse (realArray &coarseGridArray, const Index Iv[3], const realArray &fineGridArray, const IntegerArray &amrRefinementRatio_=Overture::nullIntArray()) |
|
int | interpolateFineFromCoarse (realArray &fineGridArray, const Index Iv[3], const realArray &coarseGridArray, const IntegerArray &amrRefinementRatio_=Overture::nullIntArray(), const int update=0, const int transferWidth=useDefaultTransferWidth) |
| Interpolate fine from coarse.
|
|
int | interpolateFineFromCoarse (realArray &fineGridArray, const intSerialArray &mask, const Index Iv[3], const realArray &coarseGridArray, const IntegerArray &amrRefinementRatio_=Overture::nullIntArray(), const int update=0, const int transferWidth=useDefaultTransferWidth, const MaskOptionEnum maskOption=maskGreaterThanZero) |
| Interpolate coarse to fine with a mask.
|
|
int | interpolateCoarseFromFine (realArray &coarseGridArray, const Index Iv[3], const realArray &fineGridArray, const IntegerArray &amrRefinementRatio_=Overture::nullIntArray(), const InterpolateOptionEnum interpOption=injection, const int update=0, const int transferWidth=useDefaultTransferWidth) |
| Interpolate coarse from fine.
|
|
int | interpolateCoarseFromFine (realArray &coarseGridArray, const intSerialArray &mask, const Index Iv[3], const realArray &fineGridArray, const IntegerArray &amrRefinementRatio_=Overture::nullIntArray(), const InterpolateOptionEnum interpOption=injection, const int update=0, const int transferWidth=useDefaultTransferWidth, const MaskOptionEnum maskOption=maskGreaterThanZero) |
| Interpolate coarse to fine with a mask.
|
|
|
int | initializeCoefficients (const int maxRefinementRatio_, const int interpolateOrder_, const int numberOfDimensions_, const int *interpolateOffset_) |
|
int | computeIndexes (const realArray &uc, int *lm, Index *Jf, Index *Jc, const Index *If, const int *lmr, const int R, const int *A, const int *r, const int *stride, const int *extra, const int *offset, InterpolateParameters::InterpolateOffsetDirection *iod) |
|
int | displayEverything (const int *r, const int *extra, const int *offset, const int *lm, const int *lmr, const Index *Iv, const Index *If, const Index *Jf, const Index *Jc) |
|
Interpolate coarse from fine.
- Parameters
-
Iv[3] | : coarse grid points to interpolate |
update | : 0= set uf=interpolant(uc) 1= set uf=uf+interpolant(uc) |
transferWidth | : by default use the current value of interpolateOrder+1, otherwise use this width. This value is only used with the fullWeighting options. The default full weighting width is 3. Author WDH. |
References Overture::abort(), amrRefinementRatio, assert, CopyArray::copyArray(), doNotUseMask, getCPU(), getLocalArrayWithGhostBoundaries(), injection, interpCoarseFromFine, interpolateOrder, max(), min(), numberOfDimensions, printF(), R0, timing, and useDefaultTransferWidth.
Referenced by Ogmg::buildPredefinedVariableCoefficients(), Ogmg::fineToCoarse(), and interpolateFineFromCoarse().
Interpolate coarse to fine with a mask.
- Parameters
-
Iv[3] | : coarse grid points to interpolate |
update | : 0= set uf=interpolant(uc) 1= set uf=uf+interpolant(uc) |
transferWidth | : by default use the current value of interpolateOrder+1, otherwise use this width. This value is only used with the fullWeighting options. The default full weighting width is 3. |
References Overture::abort(), amrRefinementRatio, assert, c, computeIndexes(), CopyArray::copyArray(), getCPU(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), injection, interpCoarseFromFine, interpolateOrder, max(), min(), numberOfDimensions, printF(), R0, timing, and useDefaultTransferWidth.
Interpolate fine from coarse.
- Parameters
-
Iv[3] | : fine grid points to interpolate |
update | : 0= set uf=interpolant(uc) 1= set uf=uf+interpolant(uc) |
transferWidth | : by default use the current value of interpolateOrder, otherwise use this width. The default is transferWidth==2 corresponding to linear interpolation. Author WDH. |
References amrRefinementRatio, assert, IndexBox::base(), IndexBox::bound(), ParallelUtility::copy(), CopyArray::copyArray(), debug, debugFile, display(), doNotUseMask, getCPU(), CopyArray::getLocalArrayBoxWithGhost(), getLocalArrayWithGhostBoundaries(), interpFineFromCoarse, interpolateOrder, max(), min(), NULL, numberOfDimensions, IndexBox::setBounds(), timing, and useDefaultTransferWidth.
Referenced by Ogmg::coarseToFine(), InterpolateRefinements::interpolateRefinementBoundaries(), and InterpolateRefinements::interpolateRefinements().
Interpolate coarse to fine with a mask.
- Parameters
-
Iv[3] | : fine grid points to interpolate |
update | : 0= set uf=interpolant(uc) 1= set uf=uf+interpolant(uc) |
transferWidth | : by default use the current value of interpolateOrder, otherwise use this width. The default is transferWidth==2 corresponding to linear interpolation. |
References Overture::abort(), amrRefinementRatio, IndexBox::base(), IndexBox::bound(), ParallelUtility::copy(), CopyArray::copyArray(), debug, display(), getCPU(), CopyArray::getLocalArrayBoxWithGhost(), getLocalArrayWithGhostBoundaries(), interpFineFromCoarse, interpolateCoarseFromFine(), interpolateOrder, max(), min(), NULL, numberOfDimensions, IndexBox::setBounds(), timing, and useDefaultTransferWidth.