35 const word& cloudName,
50 const labelList& cellMap = cellProcAddressing[i];
59 const label mappedCell = cellMap[ppi.
cell()];
65 lagrangianPositions.append
73 ppi.
procTetPt(mesh, mappedCell, mappedTetFace)
Template class for intrusive linked lists.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
label procTetPt(const polyMesh &procMesh, const label procCell, const label procTetFace) const
Return the tet point appropriate for decomposition or reconstruction.
void reconstructLagrangianPositions(const polyMesh &mesh, const word &cloudName, const PtrList< fvMesh > &meshes, const PtrList< labelIOList > &faceProcAddressing, const PtrList< labelIOList > &cellProcAddressing)
A Cloud of passive particles.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
label cell() const
Return current cell particle is in.
A class for handling words, derived from string.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
label tetFace() const
Return current tet face particle is in.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
dimensioned< scalar > mag(const dimensioned< Type > &)
const barycentric & coordinates() const
Return current particle coordinates.
Mesh consisting of general polyhedral cells.
Helper IO class to read and write particle positions.