Determines a mapping between patch face centres and mesh cell or face centres and processors they're on. More...
Classes | |
class | maxProcEqOp |
class | nearestEqOp |
class | nearestWorldEqOp |
Public Types | |
enum | sampleMode { NEARESTCELL, NEARESTPATCHFACE, NEARESTPATCHFACEAMI, NEARESTPATCHPOINT, NEARESTFACE, NEARESTONLYCELL } |
enum | offsetMode { UNIFORM, NONUNIFORM, NORMAL } |
typedef Tuple2< pointIndexHit, Tuple2< scalar, label > > | nearInfo |
typedef Tuple2< nearInfo, label > | nearInfoWorld |
Public Member Functions | |
TypeName ("mappedPatchBase") | |
mappedPatchBase (const polyPatch &) | |
mappedPatchBase (const polyPatch &pp, const word &sampleRegion, const sampleMode sampleMode, const word &samplePatch, const vectorField &offsets) | |
mappedPatchBase (const polyPatch &pp, const word &sampleRegion, const sampleMode sampleMode, const word &samplePatch, const vector &uniformOffset) | |
mappedPatchBase (const polyPatch &pp, const word &sampleRegion, const sampleMode sampleMode, const word &samplePatch, const scalar normalDistance) | |
mappedPatchBase (const polyPatch &, const dictionary &) | |
mappedPatchBase (const polyPatch &, const sampleMode, const dictionary &) | |
mappedPatchBase (const polyPatch &, const mappedPatchBase &) | |
mappedPatchBase (const polyPatch &, const mappedPatchBase &, const labelUList &mapAddressing) | |
virtual | ~mappedPatchBase () |
void | clearOut () |
void | setOffset (const scalar normalDist) |
void | setOffset (const vector &uniformOffset) |
void | setOffset (const vectorField &offsets) |
sampleMode | mode () const noexcept |
const word & | sampleWorld () const noexcept |
const word & | sampleRegion () const |
const word & | samplePatch () const |
const word & | coupleGroup () const |
label | sampleSize () const |
const vector & | offset () const noexcept |
const vectorField & | offsets () const noexcept |
label | getCommunicator () const |
label | comm () const |
bool | sameWorld () const |
bool | masterWorld () const |
bool | sameRegion () const noexcept |
const mapDistribute & | map () const |
const AMIPatchToPatchInterpolation & | AMI (const bool forceUpdate=false) const |
bool | owner () const |
const autoPtr< Foam::searchableSurface > & | surfPtr () const |
const polyMesh & | sampleMesh () const |
const polyPatch & | samplePolyPatch () const |
tmp< pointField > | samplePoints () const |
const fileName & | sampleDatabasePath () const |
bool | sampleDatabase () const |
virtual fileName | sendPath (const label proci) const |
virtual fileName | receivePath (const label proci) const |
template<class Type > | |
void | distribute (List< Type > &lst) const |
template<class Type , class CombineOp > | |
void | distribute (List< Type > &lst, const CombineOp &cop) const |
template<class Type > | |
void | reverseDistribute (List< Type > &lst) const |
template<class Type , class CombineOp > | |
void | reverseDistribute (List< Type > &lst, const CombineOp &cop) const |
virtual void | write (Ostream &os) const |
Static Public Member Functions | |
static pointIndexHit | facePoint (const polyMesh &, const label facei, const polyMesh::cellDecomposition) |
static fileName | sendPath (const fileName &root, const label proci) |
static fileName | receivePath (const fileName &root, const label proci) |
static const objectRegistry & | subRegistry (const objectRegistry &obr, const fileName &path) |
template<class Type > | |
static void | storeField (objectRegistry &obr, const word &fieldName, const Field< Type > &values) |
static void | writeDict (const objectRegistry &obr, dictionary &dict) |
static void | readDict (const dictionary &d, objectRegistry &obr) |
Static Public Attributes | |
static const Enum< sampleMode > | sampleModeNames_ |
static const Enum< offsetMode > | offsetModeNames_ |
Protected Member Functions | |
bool | addWorldConnection () |
label | getWorldCommunicator () const |
const polyMesh & | lookupMesh (const word ®ion) const |
const polyPatch & | lookupPatch (const word &sampleRegion, const word &samplePatch) const |
tmp< pointField > | facePoints (const polyPatch &) const |
void | collectSamples (const label mySampleWorld, const pointField &facePoints, pointField &samples, labelList &patchFaceWorlds, labelList &patchFaceProcs, labelList &patchFaces, pointField &patchFc) const |
void | findLocalSamples (const sampleMode mode, const label sampleWorld, const word &sampleRegion, const word &samplePatch, const pointField &samplePoints, List< nearInfoWorld > &nearest) const |
void | findSamples (const sampleMode mode, const label myWorldIndex, const pointField &, const labelList &wantedWorlds, const labelList &origProcs, labelList &sampleProcs, labelList &sampleIndices, pointField &sampleLocations) const |
tmp< pointField > | samplePoints (const pointField &) const |
void | calcMapping () const |
void | calcAMI () const |
Static Protected Member Functions | |
static autoPtr< fileName > | readDatabase (const dictionary &dict) |
static const objectRegistry & | subRegistry (const objectRegistry &obr, const wordList &names, const label index) |
template<class Type > | |
static bool | writeIOField (const regIOobject &obj, dictionary &dict) |
template<class Type > | |
static bool | constructIOField (const word &name, token &tok, Istream &is, objectRegistry &obr) |
Protected Attributes | |
const polyPatch & | patch_ |
word | sampleWorld_ |
word | sampleRegion_ |
const sampleMode | mode_ |
word | samplePatch_ |
const coupleGroupIdentifier | coupleGroup_ |
const autoPtr< fileName > | sampleDatabasePtr_ |
offsetMode | offsetMode_ |
vector | offset_ |
vectorField | offsets_ |
scalar | distance_ |
label | communicator_ |
bool | sameRegion_ |
autoPtr< mapDistribute > | mapPtr_ |
const bool | AMIReverse_ |
autoPtr< AMIPatchToPatchInterpolation > | AMIPtr_ |
autoPtr< searchableSurface > | surfPtr_ |
dictionary | surfDict_ |
Determines a mapping between patch face centres and mesh cell or face centres and processors they're on.
If constructed from dictionary:
// Optional world to sample (default is all) //sampleWorld solidSim; // Optional explicit coupling (requires functionObject to synchronise // databases. Default is close coupling (bc to bc) //sampleDatabase true; // Region to sample (default is region0) sampleRegion region0; // What to sample: // - nearestCell : sample cell containing point // - nearestOnlyCell : nearest sample cell (even if not containing // point) // - nearestPatchFace : nearest face on selected patch // - nearestPatchFaceAMI : nearest face on selected patch - patches need not conform - uses AMI interpolation // - nearestFace : nearest boundary face on any patch // - nearestPatchPoint : nearest patch point (for coupled points // this might be any of the points so you have // to guarantee the point data is synchronised // beforehand) sampleMode nearestCell; // If sampleMode is nearestPatchFace : patch to find faces of samplePatch movingWall; // If sampleMode is nearestPatchFace : specify patchgroup to find // samplePatch and sampleRegion (if not provided) coupleGroup baffleGroup; // How to supply offset (w.r.t. my patch face centres): // - uniform : single offset vector // - nonuniform : per-face offset vector // - normal : using supplied distance and face normal offsetMode uniform; // According to offsetMode (see above) supply one of // offset, offsets or distance offset (1 0 0);
Note: if offsetMode is normal
it uses outwards pointing normals. So supply a negative distance if sampling inside the domain.
Definition at line 108 of file mappedPatchBase.H.
typedef Tuple2<pointIndexHit, Tuple2<scalar, label> > nearInfo |
Definition at line 143 of file mappedPatchBase.H.
typedef Tuple2<nearInfo, label> nearInfoWorld |
Definition at line 188 of file mappedPatchBase.H.
enum sampleMode |
Definition at line 115 of file mappedPatchBase.H.
enum offsetMode |
Enumerator | |
---|---|
UNIFORM | single offset vector |
NONUNIFORM | per-face offset vector |
NORMAL | use face normal + distance |
Definition at line 126 of file mappedPatchBase.H.
|
explicit |
Definition at line 1208 of file mappedPatchBase.C.
mappedPatchBase | ( | const polyPatch & | pp, |
const word & | sampleRegion, | ||
const sampleMode | sampleMode, | ||
const word & | samplePatch, | ||
const vectorField & | offsets | ||
) |
Definition at line 1234 of file mappedPatchBase.C.
References mappedPatchBase::setOffset().
mappedPatchBase | ( | const polyPatch & | pp, |
const word & | sampleRegion, | ||
const sampleMode | sampleMode, | ||
const word & | samplePatch, | ||
const vector & | uniformOffset | ||
) |
Definition at line 1256 of file mappedPatchBase.C.
References mappedPatchBase::setOffset().
mappedPatchBase | ( | const polyPatch & | pp, |
const word & | sampleRegion, | ||
const sampleMode | sampleMode, | ||
const word & | samplePatch, | ||
const scalar | normalDistance | ||
) |
Definition at line 1278 of file mappedPatchBase.C.
mappedPatchBase | ( | const polyPatch & | pp, |
const dictionary & | dict | ||
) |
Definition at line 1314 of file mappedPatchBase.C.
References dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, dictionary::found(), dictionary::readEntry(), and dictionary::readIfPresent().
mappedPatchBase | ( | const polyPatch & | pp, |
const sampleMode | mode, | ||
const dictionary & | dict | ||
) |
Definition at line 1416 of file mappedPatchBase.C.
References dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, and Foam::mode().
mappedPatchBase | ( | const polyPatch & | pp, |
const mappedPatchBase & | mpb | ||
) |
Definition at line 1489 of file mappedPatchBase.C.
mappedPatchBase | ( | const polyPatch & | pp, |
const mappedPatchBase & | mpb, | ||
const labelUList & | mapAddressing | ||
) |
Definition at line 1521 of file mappedPatchBase.C.
|
virtual |
Definition at line 1560 of file mappedPatchBase.C.
|
protected |
Definition at line 116 of file mappedPatchBase.C.
References polyPatch::boundaryMesh(), polyBoundaryMesh::mesh(), multiWorldConnections::New(), mappedPatchBase::patch_, runTime, mappedPatchBase::sameWorld(), mappedPatchBase::sampleWorld_, and objectRegistry::time().
|
protected |
Definition at line 131 of file mappedPatchBase.C.
References multiWorldConnections::getCommByName(), multiWorldConnections::New(), runTime, objectRegistry::time(), and UPstream::worldComm.
|
protected |
Definition at line 1607 of file mappedPatchBase.C.
References polyMesh::boundaryMesh(), objectRegistry::lookupObject(), polyBoundaryMesh::mesh(), IOobject::name(), and objectRegistry::time().
|
protected |
Definition at line 1622 of file mappedPatchBase.C.
References polyMesh::boundaryMesh(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, and polyBoundaryMesh::findPatchID().
Referenced by mappedPolyPatch::nbrCells(), mappedWallPolyPatch::nbrCells(), mappedPolyPatch::neighbPolyPatchID(), mappedWallPolyPatch::neighbPolyPatchID(), mappedPolyPatch::newInternalProcFaces(), and mappedWallPolyPatch::newInternalProcFaces().
|
protected |
Definition at line 145 of file mappedPatchBase.C.
References polyPatch::boundaryMesh(), polyMesh::FACE_DIAG_TRIS, Foam::facePoint(), forAll, mesh, polyBoundaryMesh::mesh(), tmp::New(), polyPatch::start(), and polyMesh::tetBasePtIs().
|
protected |
Definition at line 173 of file mappedPatchBase.C.
References Foam::expressions::patchExpr::debug, DebugInFunction, Foam::endl(), forAll, Pstream::gatherList(), Foam::identity(), UPstream::msgType(), UPstream::myProcNo(), OSstream::name(), Foam::nl, UPstream::nProcs(), Foam::Perr, samples(), Pstream::scatterList(), List::setSize(), and UPstream::warnComm.
|
protected |
Definition at line 273 of file mappedPatchBase.C.
References Foam::abort(), primitiveMesh::cellCentres(), polyMesh::cellTree(), DebugInFunction, Foam::constant::electromagnetic::e, Foam::exit(), treeBoundBox::extend(), primitiveMesh::faceCentres(), Foam::FatalError, FatalErrorInFunction, indexedOctree::findInside(), meshSearch::findNearestFace(), Tuple2::first(), forAll, Foam::identity(), Foam::magSqr(), boundBox::max(), mesh, PrimitivePatch< FaceList, PointField >::meshPoints(), boundBox::min(), Foam::mode(), UPstream::myProcNo(), MeshObject< polyMesh, GeometricMeshObject, meshSearchMeshObject >::New(), Foam::nl, PrimitivePatch< FaceList, PointField >::points(), polyMesh::points(), polyPatch::range(), rndGen, samples(), Tuple2::second(), List::setSize(), boundBox::span(), Foam::sqr(), and VectorSpace< Vector< scalar >, scalar, 3 >::uniform().
|
protected |
Definition at line 580 of file mappedPatchBase.C.
References DynamicList::append(), Foam::expressions::patchExpr::debug, DebugInFunction, Foam::endl(), Tuple2::first(), forAll, Pstream::gatherList(), Pstream::listCombineGather(), Pstream::listCombineScatter(), VectorSpace< Vector< scalar >, scalar, 3 >::max, Foam::mode(), UPstream::msgType(), UPstream::myProcNo(), Foam::nl, UPstream::nProcs(), Foam::Pout, samples(), Pstream::scatterList(), Tuple2::second(), List::setSize(), Foam::sqr(), and UPstream::warnComm.
|
protected |
Definition at line 1675 of file mappedPatchBase.C.
References fld, Foam::mag(), n, and tmp::New().
|
protected |
Definition at line 728 of file mappedPatchBase.C.
References Foam::abort(), UPstream::allWorlds(), DynamicList::append(), Foam::expressions::patchExpr::debug, DebugInFunction, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::gAverage(), Foam::mag(), UPstream::master(), UPstream::msgType(), UPstream::myWorld(), UPstream::myWorldID(), OFstream::name(), IOstream::name(), Foam::nl, Foam::Pout, Foam::reduce(), samples(), HashSet::set(), HashSet::test(), Foam::type(), Foam::HashSetOps::used(), WarningInFunction, and Foam::meshTools::writeOBJ().
|
protected |
Definition at line 1086 of file mappedPatchBase.C.
References Foam::expressions::patchExpr::debug, DebugInFunction, Foam::endl(), PrimitivePatch< FaceList, PointField >::localFaces(), PrimitivePatch< FaceList, PointField >::localPoints(), Foam::nl, os(), UPstream::warnComm, UPstream::worldComm, and Foam::meshTools::writeOBJ().
|
staticprotected |
Definition at line 83 of file mappedPatchBase.C.
References dict, and autoPtr::set().
|
staticprotected |
Definition at line 1188 of file mappedPatchBase.C.
References Foam::PtrListOps::names(), and objectRegistry::subRegistry().
Referenced by syncObjects::sync().
|
staticprotected |
Definition at line 218 of file mappedPatchBaseTemplates.C.
References dict, fld, and dictionary::set().
|
staticprotected |
Definition at line 253 of file mappedPatchBaseTemplates.C.
References token::compoundToken(), Foam::dynamicCast(), objectRegistry::findObject(), token::isCompound(), Foam::name(), IOobject::NO_READ, IOobject::NO_WRITE, regIOobject::store(), and token::transferCompoundToken().
TypeName | ( | "mappedPatchBase" | ) |
void clearOut | ( | ) |
Definition at line 1566 of file mappedPatchBase.C.
Referenced by thermalBaffle1DFvPatchScalarField< solidType >::autoMap(), mappedPolyPatch::calcGeometry(), mappedWallPolyPatch::calcGeometry(), mappedWallPolyPatch::movePoints(), mappedPolyPatch::movePoints(), mappedWallPolyPatch::updateMesh(), mappedPolyPatch::updateMesh(), mappedPolyPatch::~mappedPolyPatch(), and mappedWallPolyPatch::~mappedWallPolyPatch().
void setOffset | ( | const scalar | normalDist | ) |
Definition at line 1576 of file mappedPatchBase.C.
References Foam::Zero.
Referenced by mappedPatchBase::mappedPatchBase().
void setOffset | ( | const vector & | uniformOffset | ) |
Definition at line 1586 of file mappedPatchBase.C.
References Foam::Zero.
void setOffset | ( | const vectorField & | offsets | ) |
Definition at line 1596 of file mappedPatchBase.C.
References Foam::Zero.
|
inlinenoexcept |
Definition at line 23 of file mappedPatchBaseI.H.
References mappedPatchBase::mode_.
Referenced by mappedVelocityFluxFixedValueFvPatchField::mappedVelocityFluxFixedValueFvPatchField(), mappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), and mappedFixedInternalValueFvPatchField< Type >::updateCoeffs().
|
inlinenoexcept |
Definition at line 29 of file mappedPatchBaseI.H.
|
inline |
Definition at line 35 of file mappedPatchBaseI.H.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
Referenced by turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs(), and turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs().
|
inline |
Definition at line 61 of file mappedPatchBaseI.H.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Foam::nl.
Referenced by regionModel::nbrCoupledPatchID(), mappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs(), and turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs().
|
inline |
Definition at line 87 of file mappedPatchBaseI.H.
|
inline |
Definition at line 93 of file mappedPatchBaseI.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, mesh, and primitiveMesh::nBoundaryFaces().
|
inlinenoexcept |
Definition at line 128 of file mappedPatchBaseI.H.
|
inlinenoexcept |
Definition at line 134 of file mappedPatchBaseI.H.
|
inline |
Definition at line 140 of file mappedPatchBaseI.H.
Referenced by mappedPatchBase::distribute().
|
inline |
Definition at line 151 of file mappedPatchBaseI.H.
|
inline |
Definition at line 162 of file mappedPatchBaseI.H.
References UPstream::allWorlds(), and UPstream::myWorld().
Referenced by mappedPatchBase::addWorldConnection(), mappedPatchBase::distribute(), turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs(), and turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs().
|
inline |
Definition at line 173 of file mappedPatchBaseI.H.
References UPstream::allWorlds(), and UPstream::myWorldID().
Referenced by mappedPatchBase::distribute().
|
inlinenoexcept |
Definition at line 186 of file mappedPatchBaseI.H.
|
inline |
Definition at line 192 of file mappedPatchBaseI.H.
References polyMesh::boundaryMesh(), polyBoundaryMesh::mesh(), and polyMesh::topoChanging().
Referenced by mappedPatchBase::distribute(), mappedPolyPatch::mapCollocatedFaces(), mappedWallPolyPatch::mapCollocatedFaces(), semiPermeableBaffleMassFractionFvPatchScalarField::phiY(), and thermalBaffle1DFvPatchScalarField< solidType >::updateCoeffs().
|
inline |
Definition at line 214 of file mappedPatchBaseI.H.
References polyMesh::boundaryMesh(), polyBoundaryMesh::mesh(), and polyMesh::topoChanging().
Referenced by mappedPatchBase::distribute().
|
inline |
Definition at line 234 of file mappedPatchBaseI.H.
Referenced by mappedPolyPatch::masterImplicit(), and mappedWallPolyPatch::masterImplicit().
const Foam::autoPtr< Foam::searchableSurface > & surfPtr | ( | ) | const |
Definition at line 1054 of file mappedPatchBase.C.
References polyMesh::boundaryMesh(), TimePaths::constant(), mesh, polyBoundaryMesh::mesh(), IOobject::MUST_READ, searchableSurface::New(), IOobject::NO_WRITE, and fvMesh::time().
const Foam::polyMesh & sampleMesh | ( | ) | const |
Definition at line 1642 of file mappedPatchBase.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and UPstream::myWorld().
Referenced by mappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), mappedFixedInternalValueFvPatchField< Type >::updateCoeffs(), mappedFlowRateFvPatchVectorField::updateCoeffs(), filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::updateCoeffs(), turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs(), and humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
const Foam::polyPatch & samplePolyPatch | ( | ) | const |
Definition at line 1655 of file mappedPatchBase.C.
References polyMesh::boundaryMesh(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, polyBoundaryMesh::findPatchID(), and polyBoundaryMesh::names().
Referenced by semiPermeableBaffleMassFractionFvPatchScalarField::phiY(), mappedFixedInternalValueFvPatchField< Type >::updateCoeffs(), mappedFlowRateFvPatchVectorField::updateCoeffs(), filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::updateCoeffs(), turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs(), and humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
Foam::tmp< Foam::pointField > samplePoints | ( | ) | const |
Definition at line 1709 of file mappedPatchBase.C.
|
static |
Definition at line 1716 of file mappedPatchBase.C.
References Foam::abort(), polyMesh::CELL_TETS, primitiveMesh::cellCentres(), PointHit< PointType >::distance(), f(), polyMesh::FACE_CENTRE_TRIS, polyMesh::FACE_DIAG_TRIS, polyMesh::FACE_PLANES, primitiveMesh::faceCentres(), polyMesh::faceOwner(), polyMesh::faces(), Foam::FatalError, FatalErrorInFunction, intersection::HALF_RAY, PointHit< PointType >::hit(), PointHit< PointType >::hitPoint(), triangle::intersection(), mesh, p, polyMesh::points(), and polyMesh::tetBasePtIs().
Referenced by nearWallFields::calcAddressing().
|
inline |
Definition at line 556 of file mappedPatchBase.H.
References mappedPatchBase::sampleDatabasePtr_.
|
inline |
Definition at line 561 of file mappedPatchBase.H.
References bool, and mappedPatchBase::sampleDatabasePtr_.
|
static |
Definition at line 1821 of file mappedPatchBase.C.
References Foam::name().
Referenced by syncObjects::sync().
|
virtual |
Definition at line 1831 of file mappedPatchBase.C.
|
static |
Definition at line 1838 of file mappedPatchBase.C.
References Foam::name().
Referenced by syncObjects::sync().
|
virtual |
Definition at line 1848 of file mappedPatchBase.C.
|
static |
Definition at line 1797 of file mappedPatchBase.C.
References fileName::clean(), fileName::components(), Foam::PtrListOps::names(), and path().
|
static |
Definition at line 308 of file mappedPatchBaseTemplates.C.
References objectRegistry::findObject(), IOobject::NO_READ, IOobject::NO_WRITE, regIOobject::store(), and Foam::HashTableOps::values().
|
static |
Definition at line 1855 of file mappedPatchBase.C.
References dictionary::add(), dict, forAllIters, IOobject::name(), os(), dictionary::subDictOrAdd(), and regIOobject::writeData().
Referenced by syncObjects::sync().
|
static |
Definition at line 1894 of file mappedPatchBase.C.
References Foam::constant::electromagnetic::e, Foam::exit(), Foam::FatalError, FatalErrorInFunction, and objectRegistry::subRegistry().
Referenced by syncObjects::sync().
void distribute | ( | List< Type > & | lst | ) | const |
Definition at line 23 of file mappedPatchBaseTemplates.C.
References mappedPatchBase::AMI(), mapDistribute::distribute(), mappedPatchBase::getCommunicator(), AMIInterpolation::interpolateToSource(), AMIInterpolation::interpolateToTarget(), mappedPatchBase::map(), mappedPatchBase::masterWorld(), mappedPatchBase::mode_, mappedPatchBase::NEARESTPATCHFACEAMI, mappedPatchBase::sameWorld(), UPstream::warnComm, and UPstream::worldComm.
Referenced by solidAbsorption::a(), solidAbsorption::e(), regionModel::toRegion(), mappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), mappedFixedInternalValueFvPatchField< Type >::updateCoeffs(), mappedFlowRateFvPatchVectorField::updateCoeffs(), filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::updateCoeffs(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs(), and humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
void distribute | ( | List< Type > & | lst, |
const CombineOp & | cop | ||
) | const |
Definition at line 96 of file mappedPatchBaseTemplates.C.
References UPstream::defaultCommsType, mapDistributeBase::distribute(), UPstream::msgType(), UPstream::warnComm, UPstream::worldComm, and Foam::Zero.
void reverseDistribute | ( | List< Type > & | lst | ) | const |
Definition at line 141 of file mappedPatchBaseTemplates.C.
References UPstream::warnComm, and UPstream::worldComm.
Referenced by regionModel::toPrimary().
void reverseDistribute | ( | List< Type > & | lst, |
const CombineOp & | cop | ||
) | const |
Definition at line 170 of file mappedPatchBaseTemplates.C.
References UPstream::defaultCommsType, mapDistributeBase::distribute(), UPstream::msgType(), UPstream::warnComm, UPstream::worldComm, and Foam::Zero.
|
virtual |
Reimplemented in mappedWallPolyPatch, mappedPolyPatch, thermalBaffle1DFvPatchScalarField< solidType >, mappedFieldFvPatchField< Type >, mappedMixedFieldFvPatchField< Type >, mappedVariableThicknessWallPolyPatch, and semiPermeableBaffleMassFractionFvPatchScalarField.
Definition at line 1935 of file mappedPatchBase.C.
References Switch::name(), word::null, fileName::null, os(), Ostream::write(), Ostream::writeEntry(), Ostream::writeEntryIfDifferent(), and VectorSpace< Vector< scalar >, scalar, 3 >::zero.
Referenced by semiPermeableBaffleMassFractionFvPatchScalarField::write(), thermalBaffle1DFvPatchScalarField< solidType >::write(), mappedPolyPatch::write(), and mappedWallPolyPatch::write().
|
static |
Definition at line 133 of file mappedPatchBase.H.
|
static |
Definition at line 135 of file mappedPatchBase.H.
|
protected |
Definition at line 222 of file mappedPatchBase.H.
Referenced by mappedPatchBase::addWorldConnection(), mappedPolyPatch::mapCollocatedFaces(), mappedWallPolyPatch::mapCollocatedFaces(), mappedPolyPatch::newInternalProcFaces(), and mappedWallPolyPatch::newInternalProcFaces().
|
mutableprotected |
Definition at line 225 of file mappedPatchBase.H.
Referenced by mappedPatchBase::addWorldConnection().
|
mutableprotected |
Definition at line 228 of file mappedPatchBase.H.
Referenced by mappedPolyPatch::nbrCells(), mappedWallPolyPatch::nbrCells(), mappedPolyPatch::neighbPolyPatchID(), mappedWallPolyPatch::neighbPolyPatchID(), mappedPolyPatch::neighbRegionID(), mappedWallPolyPatch::neighbRegionID(), mappedPolyPatch::newInternalProcFaces(), and mappedWallPolyPatch::newInternalProcFaces().
|
protected |
Definition at line 231 of file mappedPatchBase.H.
Referenced by mappedPatchBase::distribute(), and mappedPatchBase::mode().
|
mutableprotected |
Definition at line 234 of file mappedPatchBase.H.
Referenced by mappedPolyPatch::nbrCells(), mappedWallPolyPatch::nbrCells(), mappedPolyPatch::neighbPolyPatchID(), mappedWallPolyPatch::neighbPolyPatchID(), mappedPolyPatch::newInternalProcFaces(), and mappedWallPolyPatch::newInternalProcFaces().
|
protected |
Definition at line 237 of file mappedPatchBase.H.
Definition at line 240 of file mappedPatchBase.H.
Referenced by mappedPatchBase::sampleDatabase(), and mappedPatchBase::sampleDatabasePath().
|
protected |
Definition at line 243 of file mappedPatchBase.H.
|
protected |
Definition at line 246 of file mappedPatchBase.H.
|
protected |
Definition at line 249 of file mappedPatchBase.H.
|
protected |
Definition at line 252 of file mappedPatchBase.H.
|
protected |
Definition at line 255 of file mappedPatchBase.H.
|
mutableprotected |
Definition at line 258 of file mappedPatchBase.H.
|
mutableprotected |
Definition at line 268 of file mappedPatchBase.H.
|
protected |
Definition at line 274 of file mappedPatchBase.H.
|
mutableprotected |
Definition at line 277 of file mappedPatchBase.H.
|
mutableprotected |
Definition at line 280 of file mappedPatchBase.H.
|
protected |
Definition at line 283 of file mappedPatchBase.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.