35 #ifndef sampledCuttingPlane_H 36 #define sampledCuttingPlane_H 64 const scalar mergeTol_;
76 mutable word exposedPatchName_;
79 mutable bool needsUpdate_;
102 void createGeometry();
161 if (facesPtr_.
empty())
169 facesPtr_()[i] = s[i].triFaceFace();
179 return isoSurfPtr_();
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){gmvFile<< iter().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 ))
An abstract class for surfaces with sampling.
virtual bool needsUpdate() const
Does the surface need an update?
void reset(T *=0)
If object pointer already set, delete object and set to given.
bool empty() const
Return true if the autoPtr is empty (ie, no pointer set).
Triangulated surface description with patch information.
TypeName("sampledCuttingPlane")
Runtime type information.
A class for handling words, derived from string.
const word & name() const
Name of surface.
Abstract base class for interpolation.
void size(const label)
Override size to be inconsistent with allocated storage.
sampledCuttingPlane(const word &name, const polyMesh &mesh, const dictionary &dict)
Construct from dictionary.
const polyMesh & mesh() const
Access to the underlying mesh.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool update()
Update the surface as required.
virtual void print(Ostream &) const
Write.
virtual bool expire()
Mark the surface as needing an update.
A surface formed by the iso value. After "Regularised Marching Tetrahedra: improved iso-surface extra...
bool interpolate() const
Interpolation requested for surface.
Geometric class that creates a 2D plane and can return the intersection point between a line and the ...
virtual tmp< scalarField > sample(const volScalarField &) const
Sample field on surface.
virtual const pointField & points() const
Points of surface.
Generic GeometricField class.
Mesh consisting of general polyhedral cells.
virtual ~sampledCuttingPlane()
Destructor.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const isoSurface & surface() const
A sampledSurface defined by a plane.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.
const Field< PointType > & points() const
Return reference to global points.
virtual const faceList & faces() const
Faces of surface.