Go to the documentation of this file.
38 #ifndef parLagrangianRedistributor_H
39 #define parLagrangianRedistributor_H
49 class mapDistributePolyMesh;
50 class mapDistributeBase;
52 class passiveParticleCloud;
96 const label nOldCells,
153 template<
class Container>
162 template<
class Container>
179 # include "parLagrangianRedistributorRedistributeFields.C"
void redistributeStoredLagrangianFields(const mapDistributeBase &map, passiveParticleCloud &cloud) const
Redistribute and write stored lagrangian fields.
static void readLagrangianFields(const passiveParticleCloud &cloud, const IOobjectList &objects, const HashSet< word > &selectedFields)
Read and store all fields of a cloud.
void operator=(const parLagrangianRedistributor &)
Disallow default bitwise assignment.
autoPtr< mapDistributeBase > redistributeLagrangianPositions(passiveParticleCloud &cloud) const
Redistribute and write lagrangian positions.
A class for handling words, derived from string.
const fvMesh & tgtMesh_
Destination mesh reference.
const fvMesh & srcMesh_
Source mesh reference.
parLagrangianRedistributor(const parLagrangianRedistributor &)
Disallow default bitwise copy construct.
A HashTable with keys but without contents.
void redistributeLagrangianFields(const mapDistributeBase &map, const word &cloudName, const IOobjectList &objects, const HashSet< word > &selectedFields) const
Read, redistribute and write all/selected lagrangian fields.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Lagrangian field redistributor.
A Cloud of passive particles.
static wordList filterObjects(const IOobjectList &objects, const HashSet< word > &selectedFields)
Pick up any fields of a given type.
static void findClouds(const fvMesh &, wordList &cloudNames, List< wordList > &objectNames)
Find all clouds (on all processors) and for each cloud all.
Mesh data needed to do the Finite Volume discretisation.
List of IOobjects with searching and retrieving facilities.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A cloud is a collection of lagrangian particles.
labelList destinationProcID_
For every src cell the target processor.
const mapDistributePolyMesh & distMap_
Distribution map reference.
void redistributeLagrangianFieldFields(const mapDistributeBase &map, const word &cloudName, const IOobjectList &objects, const HashSet< word > &selectedFields) const
Read, redistribute and write all/selected lagrangian fieldFields.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const word cloudName(propsDict.lookup("cloudName"))
Class containing processor-to-processor mapping information.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
labelList destinationCell_
For every src cell the target cell.