48 procMeshes_(procMeshes),
49 faceProcAddressing_(faceProcAddressing),
50 cellProcAddressing_(cellProcAddressing)
70 const labelList& cellMap = cellProcAddressing_[meshi];
85 const label mappedCell =
94 const label mappedTetFace =
105 lagrangianPositions.append
113 ppi.
procTetPt(mesh_, mappedCell, mappedTetFace)
123 lagrangianPositions.append
162 return lagrangianPositions.
size();
176 #define doLocalCode(Type) \
178 this->reconstructFields<Type> \
185 this->reconstructFieldFields<Type> \
label size() const noexcept
The number of elements in table.
Template class for intrusive linked lists.
Helper IO class to read and write particle coordinates (positions).
virtual bool write(const bool valid=true) const
Write using setting from DB.
List of IOobjects with searching and retrieving facilities.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
Mesh data needed to do the Finite Volume discretisation.
Reconstructor for lagrangian positions and fields.
void reconstructAllFields(const word &cloudName, const IOobjectList &cloudObjs, const wordRes &selectedFields=wordRes())
Reconstruct all fields for known cloud field types.
label reconstructPositions(const word &cloudName) const
Reconstruct positions for given cloud.
static int verbose_
Output verbosity when writing.
label procTetPt(const polyMesh &procMesh, const label procCell, const label procTetFace) const
Return the tet point appropriate for decomposition or reconstruction.
label tetFace() const noexcept
Return current tet face particle is in.
const barycentric & coordinates() const noexcept
Return current particle coordinates.
static bool writeLagrangianPositions
label cell() const noexcept
Return current cell particle is in.
A Cloud of passive particles.
Copy of base particle but without particle locating and preserving read location.
const point & location() const
Return current particle position.
A List of wordRe with additional matching capabilities.
A class for handling words, derived from Foam::string.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
static constexpr const zero Zero
Global zero (0)
#define forAll(list, i)
Loop across all elements in list.
#define forAllConstIters(container, iter)
Iterate across all elements of the container object with const access.
const word cloudName(propsDict.get< word >("cloud"))
#define doLocalCode(GeoField)