Go to the documentation of this file.
66 #ifndef weightedPosition_H
67 #define weightedPosition_H
79 class weightedPosition;
80 class vectorTensorTransform;
81 class coupledPolyPatch;
100 public Tuple2<scalar, point>
158 template<
template<
class>
class Container>
162 Container<weightedPosition>& map
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
static void syncPoints(const polyMesh &mesh, List< weightedPosition > &)
The coupledPolyPatch is an abstract base class for patches that couple regions of the computational d...
static void setPoints(const UList< point > &in, List< weightedPosition > &out)
Mesh consisting of general polyhedral cells.
weightedPosition cmptType
Generic templated field type.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< ' ';}gmvFile<< nl;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
Wrapper for position + weight to be used in e.g. averaging.
static const weightedPosition zero
static void plusEqOp(weightedPosition &x, const weightedPosition &y)
static void getPoints(const UList< weightedPosition > &in, List< point > &out)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A traits class, which is primarily used for primitives.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A 2-tuple for storing two objects of dissimilar types. The container is similar in purpose to std::pa...
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...