Go to the documentation of this file.
142 label singleMeshProc_;
159 template<
class Type,
class CombineOp>
160 void mapInternalSrcToTgt
163 const CombineOp& cop,
165 const bool secondOrder
170 template<
class Type,
class CombineOp>
171 void mapInternalTgtToSrc
174 const CombineOp& cop,
176 const bool secondOrder
181 template<
class Type,
class CombineOp>
182 void mapAndOpSrcToTgt
192 template<
class Type,
class CombineOp>
193 void mapAndOpTgtToSrc
205 void normaliseWeights
207 const word& descriptor,
216 const word& methodName,
222 void calculate(
const word& methodName,
const bool normalise);
225 void calculatePatchAMIs(
const word& amiMethodName);
228 void constructNoCuttingPatches
230 const word& methodName,
231 const word& AMIMethodName,
232 const bool interpAllPatches
236 void constructFromCuttingPatches
238 const word& methodName,
239 const word& AMIMethodName,
249 label calcDistribution
256 label calcOverlappingProcs
287 void distributeAndMergeCells
320 const bool interpAllPatches =
true
328 const word& methodName,
329 const word& AMIMethodName,
331 const bool interpAllPatches =
true
343 const bool normalise =
true
352 const word& methodName,
353 const word& AMIMethodName,
357 const bool normalise =
true
394 inline scalar
V()
const;
424 template<
class Type,
class CombineOp>
428 const CombineOp& cop,
438 template<
class Type,
class CombineOp>
443 const CombineOp& cop,
449 template<
class Type,
class CombineOp>
458 template<
class Type,
class CombineOp>
487 template<
class Type,
class CombineOp>
491 const CombineOp& cop,
501 template<
class Type,
class CombineOp>
506 const CombineOp& cop,
512 template<
class Type,
class CombineOp>
521 template<
class Type,
class CombineOp>
551 template<
class Type,
class CombineOp>
555 const CombineOp& cop,
557 const bool secondOrder =
true
562 template<
class Type,
class CombineOp>
566 const CombineOp& cop,
567 const bool secondOrder =
true
572 template<
class Type,
class CombineOp>
577 const CombineOp& cop,
578 const bool secondOrder =
true
587 const bool secondOrder =
true
597 const bool secondOrder =
true
607 template<
class Type,
class CombineOp>
611 const CombineOp& cop,
613 const bool secondOrder =
true
618 template<
class Type,
class CombineOp>
622 const CombineOp& cop,
623 const bool secondOrder =
true
628 template<
class Type,
class CombineOp>
633 const CombineOp& cop,
634 const bool secondOrder =
true
643 const bool secondOrder =
true
653 const bool secondOrder =
true
663 void meshToMesh::mapInternalSrcToTgt
671 void meshToMesh::mapInternalSrcToTgt
679 void meshToMesh::mapInternalSrcToTgt
687 void meshToMesh::mapInternalSrcToTgt
695 void meshToMesh::mapInternalSrcToTgt
703 void meshToMesh::mapInternalSrcToTgt
711 void meshToMesh::mapInternalTgtToSrc
719 void meshToMesh::mapInternalTgtToSrc
727 void meshToMesh::mapInternalTgtToSrc
735 void meshToMesh::mapInternalTgtToSrc
743 void meshToMesh::mapInternalTgtToSrc
751 void meshToMesh::mapInternalTgtToSrc
763 void meshToMesh::mapAndOpSrcToTgt
771 void meshToMesh::mapAndOpSrcToTgt
779 void meshToMesh::mapAndOpSrcToTgt
787 void meshToMesh::mapAndOpSrcToTgt
795 void meshToMesh::mapAndOpSrcToTgt
805 void meshToMesh::mapAndOpTgtToSrc
813 void meshToMesh::mapAndOpTgtToSrc
821 void meshToMesh::mapAndOpTgtToSrc
829 void meshToMesh::mapAndOpTgtToSrc
837 void meshToMesh::mapAndOpTgtToSrc
interpolationMethod
Enumeration specifying interpolation method.
static const Enum< interpolationMethod > interpolationMethodNames_
void mapTgtToSrc(const UList< Type > &tgtFld, const CombineOp &cop, List< Type > &result) const
Map field from tgt to src mesh with defined operation.
const scalarListList & tgtToSrcCellWght() const
Return const access to the target to source cell weights.
TypeName("meshToMesh")
Run-time type information.
A class for handling words, derived from Foam::string.
const PtrList< AMIPatchToPatchInterpolation > & patchAMIs() const
Return the list of AMIs between source and target patches.
scalar V() const
Return const access to the overlap volume.
A class for managing temporary objects.
typeOfRank< typename pTraits< arg1 >::cmptType, direction(pTraits< arg1 >::rank)+direction(pTraits< arg2 >::rank) >::type type
static const Enum< procMapMethod > procMapMethodNames_
virtual ~meshToMesh()
Destructor.
void mapSrcToTgt(const UList< Type > &srcFld, const CombineOp &cop, List< Type > &result) const
Map field from src to tgt mesh with defined operation.
Mesh consisting of general polyhedral cells.
const labelListList & srcToTgtCellAddr() const
Return const access to the source to target cell addressing.
const pointListList & srcToTgtCellVec() const
Return const access to the source to target offset vectors.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Class to calculate the cell-addressing between two overlapping meshes.
Generic templated field type.
procMapMethod
Enumeration specifying processor parallel map construction method.
Class containing processor-to-processor mapping information.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
const autoPtr< mapDistribute > & tgtMap() const
Target map pointer - valid if no singleMeshProc.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< ' ';}gmvFile<< nl;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
const polyMesh & srcRegion() const
Return const access to the source mesh.
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
A HashTable similar to std::unordered_map.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
interpolationMethod
Enumeration specifying interpolation method.
Interpolation class dealing with transfer of data between two primitive patches with an arbitrary mes...
static AMIPatchToPatchInterpolation::interpolationMethod interpolationMethodAMI(const interpolationMethod method)
Conversion between mesh and patch interpolation methods.
const polyMesh & tgtRegion() const
Return const access to the target mesh.
A bounding box defined in terms of min/max extrema points.
const labelListList & tgtToSrcCellAddr() const
Return const access to the target to source cell addressing.
const autoPtr< mapDistribute > & srcMap() const
Source map pointer - valid if no singleMeshProc.
const scalarListList & srcToTgtCellWght() const
Return const access to the source to target cell weights.
const pointListList & tgtToSrcCellVec() const
Return const access to the target to source offset vectors.