52 bitSet cellsToSelect =
55 mesh(), bounds_, zoneNames_, meshBounds
72 const word& surfaceType,
73 const word& surfaceName,
74 const bool triangulate,
82 triangulate_(triangulate),
89 const word& defaultSurfaceName,
97 bounds_(
dict.getOrDefault(
"bounds",
boundBox::invertedBox)),
98 triangulate_(
dict.getOrDefault(
"triangulate", true)),
141 performCut(
mesh(), triangulate_, cellSelection(
true));
149 needsUpdate_ =
false;
159 return sampleOnFaces(sampler);
168 return sampleOnFaces(sampler);
177 return sampleOnFaces(sampler);
186 return sampleOnFaces(sampler);
195 return sampleOnFaces(sampler);
204 return sampleOnPoints(interpolator);
213 return sampleOnPoints(interpolator);
221 return sampleOnPoints(interpolator);
230 return sampleOnPoints(interpolator);
239 return sampleOnPoints(interpolator);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Minimal example by using system/controlDict.functions:
void resize(const label len)
Adjust allocated size of list.
T & first()
Return the first element of the list.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
A bounding box defined in terms of min/max extrema points.
void checkOverlap(const word callerName, const boundBox &meshBounds, const boundBox &userBounds) const
Constructs a cutting surface through a mesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
Abstract base class for volume field interpolation.
scalar print()
Print to screen.
Mesh consisting of general polyhedral cells.
A surface define by using an input surface to cut the mesh cells.
virtual bool expire()
Mark the surface as needing an update.
virtual bool needsUpdate() const
Does the surface need an update?
virtual bool update()
Update the surface as required.
An abstract class for surfaces with sampling.
const word & name() const noexcept
Name of surface.
virtual void clearGeom() const
Additional cleanup when clearing the geometry.
const polyMesh & mesh() const noexcept
Access to the underlying mesh.
bool interpolate() const noexcept
Same as isPointData()
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Ostream & endl(Ostream &os)
Add newline and flush stream.
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.