117 label singleMeshProc_;
134 template<
class Type,
class CombineOp>
135 void mapAndOpSrcToTgt
145 template<
class Type,
class CombineOp>
146 void mapAndOpTgtToSrc
158 void normaliseWeights
160 const word& descriptor,
169 const word& methodName,
175 void calculate(
const word& methodName);
178 void calculatePatchAMIs(
const word& amiMethodName);
181 void constructNoCuttingPatches
183 const word& methodName,
184 const word& AMIMethodName,
185 const bool interpAllPatches
189 void constructFromCuttingPatches
191 const word& methodName,
192 const word& AMIMethodName,
205 label calcDistribution
212 label calcOverlappingProcs
243 void distributeAndMergeCells
269 const bool interpAllPatches =
true 277 const word& methodName,
278 const word& AMIMethodName,
279 const bool interpAllPatches =
true 297 const word& methodName,
298 const word& AMIMethodName,
334 inline scalar
V()
const;
348 template<
class Type,
class CombineOp>
352 const CombineOp& cop,
358 template<
class Type,
class CombineOp>
367 template<
class Type,
class CombineOp>
396 template<
class Type,
class CombineOp>
400 const CombineOp& cop,
406 template<
class Type,
class CombineOp>
415 template<
class Type,
class CombineOp>
444 template<
class Type,
class CombineOp>
448 const CombineOp& cop,
454 template<
class Type,
class CombineOp>
463 template<
class Type,
class CombineOp>
494 template<
class Type,
class CombineOp>
498 const CombineOp& cop,
504 template<
class Type,
class CombineOp>
513 template<
class Type,
class CombineOp>
551 void meshToMesh::mapAndOpSrcToTgt
559 void meshToMesh::mapAndOpSrcToTgt
567 void meshToMesh::mapAndOpSrcToTgt
575 void meshToMesh::mapAndOpSrcToTgt
583 void meshToMesh::mapAndOpSrcToTgt
593 void meshToMesh::mapAndOpTgtToSrc
601 void meshToMesh::mapAndOpTgtToSrc
609 void meshToMesh::mapAndOpTgtToSrc
617 void meshToMesh::mapAndOpTgtToSrc
625 void meshToMesh::mapAndOpTgtToSrc
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const polyMesh & srcRegion() const
Return const access to the source mesh.
static const NamedEnum< interpolationMethod, 3 > interpolationMethodNames_
A bounding box defined in terms of the points at its extremities.
Generic GeometricField class.
Class to calculate the cell-addressing between two overlapping meshes.
interpolationMethod
Enumeration specifying interpolation method.
const labelListList & srcToTgtCellAddr() const
Return const access to the source to target cell addressing.
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< ' ';}gmvFile<< nl;forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
Pre-declare SubField and related Field type.
A class for handling words, derived from string.
scalar V() const
Return const access to the overlap volume.
void operator=(const meshToMesh &)=delete
Disallow default bitwise assignment.
An STL-conforming hash table.
static AMIInterpolation::interpolationMethod interpolationMethodAMI(const interpolationMethod method)
Conversion between mesh and patch interpolation methods.
TypeName("meshToMesh")
Run-time type information.
const labelListList & tgtToSrcCellAddr() const
Return const access to the target to source cell addressing.
meshToMesh(const polyMesh &src, const polyMesh &tgt, const interpolationMethod &method, const bool interpAllPatches=true)
Construct from source and target meshes.
Class containing processor-to-processor mapping information.
virtual ~meshToMesh()
Destructor.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Interpolation class dealing with transfer of data between two primitive patches with an arbitrary mes...
const scalarListList & srcToTgtCellWght() const
Return const access to the source to target cell weights.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
interpolationMethod
Enumeration specifying interpolation method.
A class for managing temporary objects.
void mapSrcToTgt(const UList< Type > &srcFld, const CombineOp &cop, List< Type > &result) const
Map field from src to tgt mesh with defined operation.
const polyMesh & tgtRegion() const
Return const access to the target mesh.
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.