Calculation of interpolation stencils. More...
Public Types | |
enum | patchCellType { OTHER = 0, PATCH = 1, OVERSET = 2 } |
enum | cellType { CALCULATED = 0, INTERPOLATED = 1, HOLE = 2 } |
Static Public Member Functions | |
static autoPtr< cellCellStencil > | New (const fvMesh &, const dictionary &dict, const bool update=true) |
static const labelIOList & | zoneID (const fvMesh &) |
static void | globalCellCells (const globalIndex &gi, const polyMesh &mesh, const boolList &isValidDonor, const labelList &selectedCells, labelListList &cellCells, pointListList &cellCellCentres) |
Static Protected Member Functions | |
static labelList | count (const label size, const labelUList &lst) |
template<class Type > | |
static tmp< volScalarField > | createField (const fvMesh &mesh, const word &name, const UList< Type > &) |
Protected Attributes | |
const fvMesh & | mesh_ |
wordHashSet | nonInterpolatedFields_ |
Static Protected Attributes | |
static const Enum< cellType > | cellTypeNames_ |
Calculation of interpolation stencils.
Looks up zoneID labelIOList to give the zoning. Wrapped in MeshObject as cellCellStencilObject. Kept separate so meshes can implement more clever methods (e.g. solid body motion does not require full recalculation)
Definition at line 57 of file cellCellStencil.H.
enum patchCellType |
Enumerator | |
---|---|
OTHER | |
PATCH | |
OVERSET |
Definition at line 61 of file cellCellStencil.H.
enum cellType |
Enumerator | |
---|---|
CALCULATED | |
INTERPOLATED | |
HOLE |
Definition at line 68 of file cellCellStencil.H.
cellCellStencil | ( | const fvMesh & | mesh | ) |
Definition at line 49 of file cellCellStencil.C.
|
virtual |
Definition at line 86 of file cellCellStencil.C.
|
staticprotected |
Definition at line 136 of file cellCellStencil.C.
References Foam::BitOps::count(), forAll, Pstream::listCombineGather(), and Foam::Zero.
|
staticprotected |
TypeName | ( | "cellCellStencil" | ) |
declareRunTimeSelectionTable | ( | autoPtr | , |
cellCellStencil | , | ||
mesh | , | ||
(const fvMesh &mesh, const dictionary &dict, const bool update) | , | ||
(mesh, dict, update) | |||
) |
|
static |
Definition at line 57 of file cellCellStencil.C.
References DebugInFunction, dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, dictionary::get(), mesh, and update().
|
pure virtual |
Implemented in inverseDistance, cellVolumeWeight, trackingInverseDistance, and cellCellStencilObject.
|
pure virtual |
Implemented in inverseDistance, cellVolumeWeight, and cellCellStencilObject.
|
pure virtual |
Implemented in inverseDistance, cellVolumeWeight, and cellCellStencilObject.
|
pure virtual |
Implemented in inverseDistance, cellVolumeWeight, and cellCellStencilObject.
|
pure virtual |
Implemented in inverseDistance, cellVolumeWeight, and cellCellStencilObject.
|
pure virtual |
Implemented in inverseDistance, cellVolumeWeight, and cellCellStencilObject.
|
pure virtual |
Implemented in inverseDistance, cellVolumeWeight, and cellCellStencilObject.
|
pure virtual |
Implemented in inverseDistance, cellVolumeWeight, cellCellStencilObject, and leastSquares.
|
virtual |
Reimplemented in cellCellStencilObject.
Definition at line 151 of file cellCellStencil.C.
|
virtual |
bool localStencil | ( | const labelUList & | slots | ) | const |
Definition at line 163 of file cellCellStencil.C.
References forAll.
|
static |
Definition at line 92 of file cellCellStencil.C.
References polyMesh::dbDir(), polyMesh::facesInstance(), Time::findInstance(), forAll, objectRegistry::foundObject(), objectRegistry::lookupObject(), mesh, polyMesh::meshSubDir, IOobject::MUST_READ, primitiveMesh::nCells(), IOobject::NO_READ, IOobject::NO_WRITE, regIOobject::store(), fvMesh::time(), and zoneID.
Referenced by dynamicOversetFvMesh::writeObject().
|
inline |
Definition at line 206 of file cellCellStencil.H.
References cellCellStencil::mesh_.
|
static |
Definition at line 177 of file cellCellStencil.C.
References primitiveMesh::cellCentres(), cells, primitiveMesh::cells(), polyMesh::faceNeighbour(), polyMesh::faceOwner(), forAll, Foam::identity(), globalIndex::localSize(), globalIndex::localStart(), mesh, primitiveMesh::nCells(), primitiveMesh::nInternalFaces(), List::setSize(), syncTools::swapBoundaryCellList(), and globalIndex::toGlobal().
Foam::tmp<Foam::volScalarField> createField | ( | const fvMesh & | mesh, |
const word & | name, | ||
const UList< Type > & | psi | ||
) |
Definition at line 28 of file cellCellStencilTemplates.C.
References Foam::dimless, fld, forAll, mesh, Foam::name(), psi, tmp::ref(), and Foam::Zero.
|
staticprotected |
Definition at line 81 of file cellCellStencil.H.
|
protected |
Definition at line 84 of file cellCellStencil.H.
Referenced by cellCellStencil::zoneID().
|
protected |
Definition at line 87 of file cellCellStencil.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.