Stabilisation data and routines for cell-to-cell interpolations. More...
Public Member Functions | |
TypeName ("cellsToCellsStabilisation") | |
Run-time type information. More... | |
cellsToCellsStabilisation () | |
Construct null. More... | |
virtual | ~cellsToCellsStabilisation () |
Destructor. More... | |
void | update (const polyMesh &mesh, const PackedBoolList &cellCoupleds) |
Compute the stabilisation addressing if necessary. More... | |
template<class Type > | |
void | stabilise (Field< Type > &fld) const |
Stabilise the given field if necessary. More... | |
Stabilisation data and routines for cell-to-cell interpolations.
Definition at line 49 of file cellsToCellsStabilisation.H.
Construct null.
Definition at line 45 of file cellsToCellsStabilisation.C.
|
virtual |
Destructor.
Definition at line 55 of file cellsToCellsStabilisation.C.
TypeName | ( | "cellsToCellsStabilisation" | ) |
Run-time type information.
void update | ( | const polyMesh & | mesh, |
const PackedBoolList & | cellCoupleds | ||
) |
Compute the stabilisation addressing if necessary.
Definition at line 61 of file cellsToCellsStabilisation.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), Foam::constant::universal::c, primitiveMesh::cellCentres(), UList< T >::data(), remote::elementi, Foam::exit(), primitiveMesh::faceCentres(), polyMesh::faceNeighbour(), polyMesh::faceOwner(), Foam::FatalError, FatalErrorInFunction, forAll, polyMesh::globalData(), Foam::magSqr(), UPstream::myProcNo(), IOobject::name(), Foam::name(), primitiveMesh::nCells(), primitiveMesh::nFaces(), primitiveMesh::nInternalFaces(), globalMeshData::nTotalCells(), UPstream::parRun(), remote::proci, Foam::reduce(), Foam::stabilise(), syncTools::swapBoundaryFaceList(), globalIndex::toGlobal(), Foam::blendedInterfacialModel::valid(), Foam::fvPatchDistWave::wave(), and OBJstream::write().
Referenced by meshToMesh::srcCellsStabilisation(), and meshToMesh::tgtCellsStabilisation().
void stabilise | ( | Field< Type > & | fld | ) | const |
Stabilise the given field if necessary.
Definition at line 31 of file cellsToCellsStabilisationTemplates.C.
References fld(), and UPstream::parRun().