35 #ifndef sampledSetParticle_H 36 #define sampledSetParticle_H 48 class sampledSetParticle;
49 class sampledSetCloud;
51 Ostream&
operator<<(Ostream&,
const sampledSetParticle&);
112 storeFaces_(storeFaces),
113 storeCells_(storeCells),
114 positions_(positions),
115 distances_(distances),
bool move(sampledSetCloud &, trackingData &, const scalar)
Track all particles to their end point.
Particle for generating line-type sampled sets.
const polyMesh & mesh() const
Return the mesh database.
DynamicList< label > & faces_
Stored face indices.
void hitSymmetryPlanePatch(sampledSetCloud &, trackingData &)
Hit a symmetry patch. Ends the track.
void store(sampledSetCloud &, trackingData &)
Store a point.
friend Ostream & operator<<(Ostream &, const sampledSetParticle &)
void hitCyclicAMIPatch(const vector &, const scalar, sampledSetCloud &, trackingData &)
Hit a cyclicAMI patch. Ends the track.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void hitSymmetryPatch(sampledSetCloud &, trackingData &)
Hit a symmetry plane patch. Ends the track.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
scalar distance(const vector &p1, const vector &p2)
const bool storeCells_
Are we storing the cells we track through?
DynamicList< point > & positions_
Stored positions.
void hitProcessorPatch(sampledSetCloud &, trackingData &)
Hit a processor patch. Transfers the particle if there is no.
void storeFace(sampledSetCloud &, trackingData &)
Store a point on a face.
autoPtr< particle > clone() const
Construct and return a clone.
void storeCell(sampledSetCloud &, trackingData &)
Store a point in a cell.
const bool storeFaces_
Are we storing the faces we track through?
void hitCyclicPatch(sampledSetCloud &, trackingData &)
Hit a cyclic patch. Ends the track.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
A cloud is a collection of lagrangian particles.
A Cloud of sampledSet particles.
const bool storeSet_
Are we storing the set points?
DynamicList< label > & cells_
Stored cell indices.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Factory class to read-construct particles used for parallel transfer.
DynamicList< scalar > & distances_
Stored distances.
trackingData(sampledSetCloud &cloud, const List< point > &set, bool storeSet, bool storeFaces, bool storeCells, DynamicList< point > &positions, DynamicList< scalar > &distances, DynamicList< label > &cells, DynamicList< label > &faces)
Construct from components.
static void readFields(TrackCloudType &c)
Read the fields associated with the owner cloud.
Ostream & operator<<(Ostream &, const ensightPart &)
void hitWedgePatch(sampledSetCloud &, trackingData &)
Hit a wedge patch. Ends the track.
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.
const List< point > & set_
List of set points to track through.
sampledSetParticle(const polyMesh &mesh, const point &position, const label celli, const label seti, const scalar setF, const scalar distance)
Construct from components.
vector position() const
Return current particle position.
void hitWallPatch(sampledSetCloud &, trackingData &)
Hit a wall patch. Ends the track.