Public Member Functions | |
TypeName ("cellCellStencilObject") | |
cellCellStencilObject (const fvMesh &mesh, const bool update=true) | |
Construct with mesh. More... | |
virtual | ~cellCellStencilObject ()=default |
Destructor. More... | |
virtual bool | movePoints () |
Callback for geometry motion. More... | |
virtual bool | update () |
Update stencils. Return false if nothing changed. More... | |
virtual const labelUList & | cellTypes () const |
Return the cell type list. More... | |
virtual const labelUList & | interpolationCells () const |
Indices of interpolated cells. More... | |
virtual const mapDistribute & | cellInterpolationMap () const |
Return a communication schedule. More... | |
virtual const labelListList & | cellStencil () const |
Per interpolated cell the neighbour cells (in terms of slots as. More... | |
virtual const List< scalarList > & | cellInterpolationWeights () const |
Weights for cellStencil. More... | |
virtual const scalarList & | cellInterpolationWeight () const |
Per interpolated cell the interpolation factor. (0 = use. More... | |
virtual void | stencilWeights (const point &sample, const pointList &donorCcs, scalarList &weights) const |
Calculate weights for a single acceptor. More... | |
virtual const wordHashSet & | nonInterpolatedFields () const |
Return the names of any (stencil or mesh specific) fields that. More... | |
Public Member Functions inherited from MeshObject< Mesh, MeshObjectType, Type > | |
MeshObject (const Mesh &mesh) | |
Construct on Mesh type. More... | |
virtual | ~MeshObject ()=default |
Destructor. More... | |
const Mesh & | mesh () const |
virtual bool | writeData (Ostream &os) const |
Public Member Functions inherited from cellCellStencil | |
TypeName ("cellCellStencil") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, cellCellStencil, mesh,(const fvMesh &mesh, const dictionary &dict, const bool update),(mesh, dict, update)) | |
cellCellStencil (const fvMesh &) | |
Construct from fvMesh. More... | |
virtual | ~cellCellStencil () |
Destructor. More... | |
virtual wordHashSet & | nonInterpolatedFields () |
Return non-const non-interpolating fields. More... | |
bool | localStencil (const labelUList &) const |
Helper: is stencil fully local. More... | |
const labelIOList & | zoneID () const |
Helper: get reference to registered zoneID. Loads volScalarField. More... | |
template<class Type > | |
Foam::tmp< Foam::volScalarField > | createField (const fvMesh &mesh, const word &name, const UList< Type > &psi) |
Additional Inherited Members | |
Public Types inherited from cellCellStencil | |
enum | patchCellType { OTHER = 0, PATCH = 1, OVERSET = 2 } |
enum | cellType { CALCULATED = 0, INTERPOLATED = 1, HOLE = 2 } |
Static Public Member Functions inherited from MeshObject< Mesh, MeshObjectType, Type > | |
template<class... Args> | |
static const Type & | New (const Mesh &mesh, Args &&... args) |
Get existing or create a new MeshObject. More... | |
static bool | Delete (const Mesh &mesh) |
Static destructor. More... | |
Static Public Member Functions inherited from cellCellStencil | |
static autoPtr< cellCellStencil > | New (const fvMesh &, const dictionary &dict, const bool update=true) |
New function which constructs and returns pointer to a. More... | |
static const labelIOList & | zoneID (const fvMesh &) |
Helper: get reference to registered zoneID. Loads volScalarField. More... | |
static void | globalCellCells (const globalIndex &gi, const polyMesh &mesh, const boolList &isValidDonor, const labelList &selectedCells, labelListList &cellCells, pointListList &cellCellCentres) |
Helper: create cell-cell addressing in global numbering. More... | |
Static Protected Member Functions inherited from cellCellStencil | |
static labelList | count (const label size, const labelUList &lst) |
Count occurrences (in parallel) More... | |
template<class Type > | |
static tmp< volScalarField > | createField (const fvMesh &mesh, const word &name, const UList< Type > &) |
Helper: create volScalarField for postprocessing. More... | |
Protected Attributes inherited from MeshObject< Mesh, MeshObjectType, Type > | |
const Mesh & | mesh_ |
Protected Attributes inherited from cellCellStencil | |
const fvMesh & | mesh_ |
Reference to the mesh. More... | |
wordHashSet | nonInterpolatedFields_ |
Set of fields that should not be interpolated. More... | |
Static Protected Attributes inherited from cellCellStencil | |
static const Enum< cellType > | cellTypeNames_ |
Mode type names. More... | |
|
inlineexplicit |
Construct with mesh.
Definition at line 75 of file cellCellStencilObject.H.
|
virtualdefault |
Destructor.
TypeName | ( | "cellCellStencilObject" | ) |
|
inlinevirtual |
Callback for geometry motion.
Definition at line 109 of file cellCellStencilObject.H.
|
inlinevirtual |
Update stencils. Return false if nothing changed.
Implements cellCellStencil.
Definition at line 115 of file cellCellStencilObject.H.
|
inlinevirtual |
Return the cell type list.
Implements cellCellStencil.
Definition at line 121 of file cellCellStencilObject.H.
Referenced by dynamicOversetFvMesh::addInterpolation(), dynamicOversetFvMesh::normalisation(), and dynamicOversetFvMesh::writeObject().
|
inlinevirtual |
Indices of interpolated cells.
Implements cellCellStencil.
Definition at line 127 of file cellCellStencilObject.H.
Referenced by dynamicOversetFvMesh::addInterpolation().
|
inlinevirtual |
Return a communication schedule.
Implements cellCellStencil.
Definition at line 133 of file cellCellStencilObject.H.
Referenced by dynamicOversetFvMesh::writeObject().
|
inlinevirtual |
Per interpolated cell the neighbour cells (in terms of slots as.
constructed by above cellInterpolationMap) to interpolate
Implements cellCellStencil.
Definition at line 140 of file cellCellStencilObject.H.
Referenced by dynamicOversetFvMesh::addInterpolation(), and dynamicOversetFvMesh::writeObject().
|
inlinevirtual |
Weights for cellStencil.
Implements cellCellStencil.
Definition at line 146 of file cellCellStencilObject.H.
Referenced by dynamicOversetFvMesh::addInterpolation().
|
inlinevirtual |
Per interpolated cell the interpolation factor. (0 = use.
calculated, 1 = use interpolated)
Implements cellCellStencil.
Definition at line 153 of file cellCellStencilObject.H.
Referenced by dynamicOversetFvMesh::addInterpolation().
|
inlinevirtual |
Calculate weights for a single acceptor.
Implements cellCellStencil.
Definition at line 160 of file cellCellStencilObject.H.
|
inlinevirtual |
Return the names of any (stencil or mesh specific) fields that.
should not be interpolated
Reimplemented from cellCellStencil.
Definition at line 171 of file cellCellStencilObject.H.