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
275 const bool interpAllPatches =
true 283 const word& methodName,
284 const word& AMIMethodName,
285 const bool interpAllPatches =
true 304 const word& methodName,
305 const word& AMIMethodName,
338 inline scalar
V()
const;
355 template<
class Type,
class CombineOp>
359 const CombineOp& cop,
365 template<
class Type,
class CombineOp>
374 template<
class Type,
class CombineOp>
403 template<
class Type,
class CombineOp>
407 const CombineOp& cop,
413 template<
class Type,
class CombineOp>
422 template<
class Type,
class CombineOp>
451 template<
class Type,
class CombineOp>
455 const CombineOp& cop,
461 template<
class Type,
class CombineOp>
470 template<
class Type,
class CombineOp>
501 template<
class Type,
class CombineOp>
505 const CombineOp& cop,
511 template<
class Type,
class CombineOp>
520 template<
class Type,
class CombineOp>
552 void meshToMesh::mapAndOpSrcToTgt
560 void meshToMesh::mapAndOpSrcToTgt
568 void meshToMesh::mapAndOpSrcToTgt
576 void meshToMesh::mapAndOpSrcToTgt
584 void meshToMesh::mapAndOpSrcToTgt
594 void meshToMesh::mapAndOpTgtToSrc
602 void meshToMesh::mapAndOpTgtToSrc
610 void meshToMesh::mapAndOpTgtToSrc
618 void meshToMesh::mapAndOpTgtToSrc
626 void meshToMesh::mapAndOpTgtToSrc
const labelListList & tgtToSrcCellAddr() const
Return const access to the target to source cell addressing.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static const NamedEnum< interpolationMethod, 3 > interpolationMethodNames_
const labelListList & srcToTgtCellAddr() const
Return const access to the source to target cell addressing.
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.
const scalarListList & srcToTgtCellWght() const
Return const access to the source to target cell weights.
interpolationMethod
Enumeration specifying interpolation method.
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.
void mapSrcToTgt(const UList< Type > &srcFld, const CombineOp &cop, List< Type > &result) const
Map field from src to tgt mesh with defined operation.
An STL-conforming hash table.
const polyMesh & srcRegion() const
Return const access to the source mesh.
scalar V() const
Return const access to the overlap volume.
TypeName("meshToMesh")
Run-time type information.
Class containing processor-to-processor mapping information.
const polyMesh & tgtRegion() const
Return const access to the target mesh.
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 & tgtToSrcCellWght() const
Return const access to the target to source 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 mapTgtToSrc(const UList< Type > &tgtFld, const CombineOp &cop, List< Type > &result) const
Map field from tgt to src mesh with defined operation.
static AMIPatchToPatchInterpolation::interpolationMethod interpolationMethodAMI(const interpolationMethod method)
Conversion between mesh and patch interpolation methods.