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;
423 template<
class Type,
class CombineOp>
427 const CombineOp& cop,
437 template<
class Type,
class CombineOp>
442 const CombineOp& cop,
448 template<
class Type,
class CombineOp>
457 template<
class Type,
class CombineOp>
486 template<
class Type,
class CombineOp>
490 const CombineOp& cop,
500 template<
class Type,
class CombineOp>
505 const CombineOp& cop,
511 template<
class Type,
class CombineOp>
520 template<
class Type,
class CombineOp>
550 template<
class Type,
class CombineOp>
554 const CombineOp& cop,
556 const bool secondOrder =
true
561 template<
class Type,
class CombineOp>
565 const CombineOp& cop,
566 const bool secondOrder =
true
571 template<
class Type,
class CombineOp>
576 const CombineOp& cop,
577 const bool secondOrder =
true
586 const bool secondOrder =
true
596 const bool secondOrder =
true
606 template<
class Type,
class CombineOp>
610 const CombineOp& cop,
612 const bool secondOrder =
true
617 template<
class Type,
class CombineOp>
621 const CombineOp& cop,
622 const bool secondOrder =
true
627 template<
class Type,
class CombineOp>
632 const CombineOp& cop,
633 const bool secondOrder =
true
642 const bool secondOrder =
true
652 const bool secondOrder =
true
662 void meshToMesh::mapInternalSrcToTgt
670 void meshToMesh::mapInternalSrcToTgt
678 void meshToMesh::mapInternalSrcToTgt
686 void meshToMesh::mapInternalSrcToTgt
694 void meshToMesh::mapInternalSrcToTgt
702 void meshToMesh::mapInternalSrcToTgt
710 void meshToMesh::mapInternalTgtToSrc
718 void meshToMesh::mapInternalTgtToSrc
726 void meshToMesh::mapInternalTgtToSrc
734 void meshToMesh::mapInternalTgtToSrc
742 void meshToMesh::mapInternalTgtToSrc
750 void meshToMesh::mapInternalTgtToSrc
762 void meshToMesh::mapAndOpSrcToTgt
770 void meshToMesh::mapAndOpSrcToTgt
778 void meshToMesh::mapAndOpSrcToTgt
786 void meshToMesh::mapAndOpSrcToTgt
794 void meshToMesh::mapAndOpSrcToTgt
804 void meshToMesh::mapAndOpTgtToSrc
812 void meshToMesh::mapAndOpTgtToSrc
820 void meshToMesh::mapAndOpTgtToSrc
828 void meshToMesh::mapAndOpTgtToSrc
836 void meshToMesh::mapAndOpTgtToSrc
static const Enum< interpolationMethod > interpolationMethodNames_
static word interpolationMethodAMI(const interpolationMethod method)
Conversion between mesh and patch interpolation methods.
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.
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...
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.