|
Overture
Version 25
|
#include "CompositeGrid.h"#include "UnstructuredMapping.h"#include "display.h"#include "HDF_DataBase.h"#include "App.h"#include "ParallelUtility.h"#include "SparseArray.h"
Macros | |
| #define | COMPOSITE_GRID_FOR_3(range, i, j, k) |
| #define | REFERENCE(x) x.reference(rcData->x) |
| #define | REF_ARRAY(x) if (x.getDataPointer() != rcData->x.getDataPointer()) REFERENCE(x) |
| #define | SET_GRID(x) if (x.gridCollectionData == rcData) x.gridCollection = this |
| #define | FOR_COLLECTION(X) |
| #define | g_boundaryCondition(i, j) g_boundaryCondition_ [(i) + 2 * (j)] |
| #define | g_gridSpacing(i) g_gridSpacing_ [(i)] |
| #define | g_indexRange(i, j) g_indexRange_ [(i) + 2 * (j)] |
| #define | g_extendedIndexRange(i, j) g_extendedIndexRange_[(i) + 2 * (j)] |
| #define | g_isCellCentered(i) g_isCellCentered_ [(i)] |
| #define | g_isPeriodic(i) g_isPeriodic_ [(i)] |
| #define | r_(i, j) r__ [(i) + r_s * (j)] |
| #define | interpolationStencil_(i, j, k) interpolationStencil__[(i) + iS_s1 * (j) + iS_s2 * (k)] |
| #define | useBackupRules_(i) useBackupRules__ [(i)] |
| #define | iw0_(i) iw0__ [(i)] |
| #define | refinementFactor_(i, j) refinementFactor__ [(i) + 3 * (j)] |
| #define | g_boundaryCondition(i, j) g_boundaryCondition_ [(i) + 2 * (j)] |
| #define | g_discretizationWidth(i) g_discretizationWidth_[(i)] |
| #define | g_indexRange(i, j) g_indexRange_ [(i) + 2 * (j)] |
| #define | g_numberOfGhostPoints(i, j) g_numberOfGhostPoints_[(i) + 2 * (j)] |
| #define | g_isCellCentered(i) g_isCellCentered_ [(i)] |
| #define | g_isPeriodic(i) g_isPeriodic_ [(i)] |
| #define | g2_indexRange(i, j) g2_indexRange_ [(i) + 2 * (j)] |
| #define | g2_extendedIndexRange(i, j) g2_extendedIndexRange_[(i) + 2 * (j)] |
| #define | g2_gridSpacing(i) g2_gridSpacing_ [(i)] |
| #define | g2_useGhostPoints g2_useGhostPoints_ |
| #define | r_(i, j) r__ [(i) + r_s * (j)] |
| #define | interpolationStencil_(i, j, k) interpolationStencil__[(i) + iS_s1 * (j) + iS_s2 * (k)] |
| #define | useBackupRules_(i) useBackupRules__ [(i)] |
| #define | iw0_(i) iw0__ [(i)] |
| #define | g_extendedIndexRange(i, j) g_extendedIndexRange_[(j)][(i)] |
| #define | iab(i, j) iab_[(i) + 2 * (j)] |
| #define | g_boundaryCondition(i, j) g_boundaryCondition_ [(i) + 2 * (j)] |
| #define | g_dimension(i, j) g_dimension_ [(i) + 2 * (j)] |
| #define | g_discretizationWidth(i) g_discretizationWidth_[(i)] |
| #define | g_gridSpacing(i) g_gridSpacing_ [(i)] |
| #define | g_indexRange(i, j) g_indexRange_ [(i) + 2 * (j)] |
| #define | g_extendedIndexRange(i, j) g_extendedIndexRange_ [(i) + 2 * (j)] |
| #define | g_isCellCentered(i) g_isCellCentered_ [(i)] |
| #define | g_isPeriodic(i) g_isPeriodic_ [(i)] |
| #define | g_mask(i, j, k) g_mask_ [(i)+i10*(j)+j10*(k)] |
| #define | r_(i, j) r__ [(i) + r_s * (j)] |
| #define | useBackupRules_(i) useBackupRules__ [(i)] |
| #define | ok_(i) ok__ [(i)] |
| #define | iw0_(i) iw0__ [(i)] |
| #define | ov0_(i) ov0__ [(i)] |
| #define | iab2_(i, j, k) iab2__[(j) + 2 * (k)] |
| #define | INTERPOLEELOCATION(i0, i1) interpoleeLocationp[i0+interpoleeLocationDim0*(i1)] |
| #define | INTERPOLEELOCATION1(i0, i1) interpoleeLocation1p[i0+interpoleeLocation1Dim0*(i1)] |
| #define | INTERPOLATIONPOINT(i0, i1) interpolationPointp[i0+interpolationPointDim0*(i1)] |
| #define | INTERPOLATIONPOINT1(i0, i1) interpolationPoint1p[i0+interpolationPoint1Dim0*(i1)] |
| #define | INTERPOLATIONCOORDINATES(i0, i1) interpolationCoordinatesp[i0+interpolationCoordinatesDim0*(i1)] |
| #define | INTERPOLATIONCOORDINATES1(i0, i1) interpolationCoordinates1p[i0+interpolationCoordinates1Dim0*(i1)] |
| #define | INTERPOLEEGRID(i0) interpoleeGridp[i0] |
| #define | INTERPOLEEGRID1(i0) interpoleeGrid1p[i0] |
| #define | NG(i0) ngp[i0] |
| #define | GRIDSTART(i0) gridStartp[i0] |
| #define | VARIABLEINTERPOLATIONWIDTH(i0) variableInterpolationWidthp[i0] |
| #define | VARIABLEINTERPOLATIONWIDTH1(i0) variableInterpolationWidth1p[i0] |
Functions | |
| ostream & | operator<< (ostream &s, const CompositeGrid &g) |
| #define COMPOSITE_GRID_FOR_3 | ( | range, | |
| i, | |||
| j, | |||
| k | |||
| ) |
| #define FOR_COLLECTION | ( | X | ) |
Referenced by GenericGridCollection::updateReferences(), GridCollection::updateReferences(), and CompositeGrid::updateReferences().
| #define g2_extendedIndexRange | ( | i, | |
| j | |||
| ) | g2_extendedIndexRange_[(i) + 2 * (j)] |
Referenced by CompositeGridData::getInterpolationStencil().
| #define g2_gridSpacing | ( | i | ) | g2_gridSpacing_ [(i)] |
Referenced by CompositeGridData::getInterpolationStencil().
| #define g2_indexRange | ( | i, | |
| j | |||
| ) | g2_indexRange_ [(i) + 2 * (j)] |
Referenced by CompositeGridData::getInterpolationStencil().
| #define g2_useGhostPoints g2_useGhostPoints_ |
Referenced by CompositeGridData::getInterpolationStencil().
| #define g_boundaryCondition | ( | i, | |
| j | |||
| ) | g_boundaryCondition_ [(i) + 2 * (j)] |
| #define g_boundaryCondition | ( | i, | |
| j | |||
| ) | g_boundaryCondition_ [(i) + 2 * (j)] |
| #define g_boundaryCondition | ( | i, | |
| j | |||
| ) | g_boundaryCondition_ [(i) + 2 * (j)] |
| #define g_dimension | ( | i, | |
| j | |||
| ) | g_dimension_ [(i) + 2 * (j)] |
Referenced by CompositeGridData::canInterpolate().
| #define g_discretizationWidth | ( | i | ) | g_discretizationWidth_[(i)] |
| #define g_discretizationWidth | ( | i | ) | g_discretizationWidth_[(i)] |
| #define g_extendedIndexRange | ( | i, | |
| j | |||
| ) | g_extendedIndexRange_[(i) + 2 * (j)] |
Referenced by CompositeGridData::getInterpolationStencil().
| #define g_extendedIndexRange | ( | i, | |
| j | |||
| ) | g_extendedIndexRange_[(j)][(i)] |
| #define g_extendedIndexRange | ( | i, | |
| j | |||
| ) | g_extendedIndexRange_ [(i) + 2 * (j)] |
| #define g_gridSpacing | ( | i | ) | g_gridSpacing_ [(i)] |
| #define g_gridSpacing | ( | i | ) | g_gridSpacing_ [(i)] |
| #define g_indexRange | ( | i, | |
| j | |||
| ) | g_indexRange_ [(i) + 2 * (j)] |
| #define g_indexRange | ( | i, | |
| j | |||
| ) | g_indexRange_ [(i) + 2 * (j)] |
| #define g_indexRange | ( | i, | |
| j | |||
| ) | g_indexRange_ [(i) + 2 * (j)] |
| #define g_isCellCentered | ( | i | ) | g_isCellCentered_ [(i)] |
| #define g_isCellCentered | ( | i | ) | g_isCellCentered_ [(i)] |
| #define g_isCellCentered | ( | i | ) | g_isCellCentered_ [(i)] |
| #define g_isPeriodic | ( | i | ) | g_isPeriodic_ [(i)] |
| #define g_isPeriodic | ( | i | ) | g_isPeriodic_ [(i)] |
| #define g_isPeriodic | ( | i | ) | g_isPeriodic_ [(i)] |
| #define g_mask | ( | i, | |
| j, | |||
| k | |||
| ) | g_mask_ [(i)+i10*(j)+j10*(k)] |
Referenced by CompositeGridData::canInterpolate(), and CanInterpolate::cgCanInterpolate().
| #define g_numberOfGhostPoints | ( | i, | |
| j | |||
| ) | g_numberOfGhostPoints_[(i) + 2 * (j)] |
Referenced by CompositeGridData::getInterpolationStencil().
| #define GRIDSTART | ( | i0 | ) | gridStartp[i0] |
Referenced by Ogmg::buildExtraLevels(), Ogmg::buildExtraLevelsNew(), and CompositeGrid::sortInterpolationPoints().
| #define iab | ( | i, | |
| j | |||
| ) | iab_[(i) + 2 * (j)] |
Referenced by Ogen::canDiscretize(), CanInterpolate::canInterpolate(), CompositeGridData::canInterpolate(), CanInterpolate::canInterpolateOld(), CanInterpolate::cgCanInterpolate(), Ogen::isNeededForDiscretization(), Ogen::isNeededForMultigridRestriction(), Ogen::isOnInterpolationBoundary(), Ogen::markPointsNeededForInterpolation(), Ogen::markPointsNeededForInterpolationNew(), and Ogen::markPointsReallyNeededForInterpolation().
| #define iab2_ | ( | i, | |
| j, | |||
| k | |||
| ) | iab2__[(j) + 2 * (k)] |
Referenced by CompositeGridData::canInterpolate(), and CanInterpolate::cgCanInterpolate().
| #define INTERPOLATIONCOORDINATES | ( | i0, | |
| i1 | |||
| ) | interpolationCoordinatesp[i0+interpolationCoordinatesDim0*(i1)] |
Referenced by Ogmg::buildExtraLevels(), and CompositeGrid::sortInterpolationPoints().
| #define INTERPOLATIONCOORDINATES1 | ( | i0, | |
| i1 | |||
| ) | interpolationCoordinates1p[i0+interpolationCoordinates1Dim0*(i1)] |
Referenced by Ogmg::buildExtraLevels(), and CompositeGrid::sortInterpolationPoints().
| #define INTERPOLATIONPOINT | ( | i0, | |
| i1 | |||
| ) | interpolationPointp[i0+interpolationPointDim0*(i1)] |
Referenced by Ogmg::buildExtraLevels(), and CompositeGrid::sortInterpolationPoints().
| #define INTERPOLATIONPOINT1 | ( | i0, | |
| i1 | |||
| ) | interpolationPoint1p[i0+interpolationPoint1Dim0*(i1)] |
Referenced by Ogmg::buildExtraLevels(), and CompositeGrid::sortInterpolationPoints().
| #define interpolationStencil_ | ( | i, | |
| j, | |||
| k | |||
| ) | interpolationStencil__[(i) + iS_s1 * (j) + iS_s2 * (k)] |
| #define interpolationStencil_ | ( | i, | |
| j, | |||
| k | |||
| ) | interpolationStencil__[(i) + iS_s1 * (j) + iS_s2 * (k)] |
| #define INTERPOLEEGRID | ( | i0 | ) | interpoleeGridp[i0] |
Referenced by Ogmg::buildExtraLevels(), PlotIt::plotGrid2d(), and CompositeGrid::sortInterpolationPoints().
| #define INTERPOLEEGRID1 | ( | i0 | ) | interpoleeGrid1p[i0] |
Referenced by Ogmg::buildExtraLevels(), and CompositeGrid::sortInterpolationPoints().
| #define INTERPOLEELOCATION | ( | i0, | |
| i1 | |||
| ) | interpoleeLocationp[i0+interpoleeLocationDim0*(i1)] |
Referenced by Ogmg::buildExtraLevels(), and CompositeGrid::sortInterpolationPoints().
| #define INTERPOLEELOCATION1 | ( | i0, | |
| i1 | |||
| ) | interpoleeLocation1p[i0+interpoleeLocation1Dim0*(i1)] |
Referenced by Ogmg::buildExtraLevels(), and CompositeGrid::sortInterpolationPoints().
| #define iw0_ | ( | i | ) | iw0__ [(i)] |
| #define iw0_ | ( | i | ) | iw0__ [(i)] |
| #define iw0_ | ( | i | ) | iw0__ [(i)] |
| #define NG | ( | i0 | ) | ngp[i0] |
Referenced by Ogmg::buildExtraLevels(), Ogmg::buildExtraLevelsNew(), and CompositeGrid::sortInterpolationPoints().
| #define ok_ | ( | i | ) | ok__ [(i)] |
Referenced by CompositeGridData::canInterpolate(), and CanInterpolate::cgCanInterpolate().
| #define ov0_ | ( | i | ) | ov0__ [(i)] |
Referenced by CompositeGridData::canInterpolate(), and CanInterpolate::cgCanInterpolate().
| #define r_ | ( | i, | |
| j | |||
| ) | r__ [(i) + r_s * (j)] |
| #define r_ | ( | i, | |
| j | |||
| ) | r__ [(i) + r_s * (j)] |
| #define r_ | ( | i, | |
| j | |||
| ) | r__ [(i) + r_s * (j)] |
| #define refinementFactor_ | ( | i, | |
| j | |||
| ) | refinementFactor__ [(i) + 3 * (j)] |
Referenced by CompositeGridData::getInterpolationStencil().
Referenced by CompositeGrid::updateReferences().
| #define useBackupRules_ | ( | i | ) | useBackupRules__ [(i)] |
| #define useBackupRules_ | ( | i | ) | useBackupRules__ [(i)] |
| #define useBackupRules_ | ( | i | ) | useBackupRules__ [(i)] |
| #define VARIABLEINTERPOLATIONWIDTH | ( | i0 | ) | variableInterpolationWidthp[i0] |
Referenced by Ogmg::buildExtraLevels(), and CompositeGrid::sortInterpolationPoints().
| #define VARIABLEINTERPOLATIONWIDTH1 | ( | i0 | ) | variableInterpolationWidth1p[i0] |
Referenced by Ogmg::buildExtraLevels(), and CompositeGrid::sortInterpolationPoints().
| ostream& operator<< | ( | ostream & | s, |
| const CompositeGrid & | g | ||
| ) |
References CompositeGrid::epsilon(), CompositeGrid::interpolationIsAllExplicit(), CompositeGrid::interpolationIsAllImplicit(), CompositeGrid::interpolationIsImplicit, CompositeGrid::interpolationOverlap, CompositeGrid::interpolationPreference, CompositeGrid::interpolationWidth, CompositeGrid::mayCutHoles, CompositeGrid::mayInterpolate, CompositeGrid::multigridCoarseningRatio, CompositeGrid::multigridProlongationWidth, CompositeGrid::multigridRestrictionWidth, CompositeGrid::numberOfCompleteMultigridLevels(), GenericGridCollection::numberOfComponentGrids(), GenericGridCollection::numberOfGrids(), CompositeGrid::numberOfInterpolationPoints, and GenericGridCollection::numberOfMultigridLevels().
1.8.3