33 namespace sampledSurfaces
43 Foam::sampledSurfaces::distanceSurface::calcIsoSurf()
const
49 surfPtr_().findNearest
59 surfPtr_().getVolumeType(
mesh().
points(), volType);
70 <<
"Point " <<
mesh().
points()[i] <<
" could not be "
71 <<
"classified as either inside or outside the surface "
91 return sampledIsoSurfaceSurface::calcIsoSurf(pointDistance, distance_);
112 dict.lookupOrDefault(
"surfaceName",
name),
143 os <<
"distanceSurface: " <<
name() <<
" :"
144 <<
" surface:" << surfPtr_().name()
145 <<
" distance:" << distance_
146 <<
" faces:" << faces().size()
147 <<
" points:" <<
points().size();
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Motion of the mesh specified as a list of pointMeshMovers.
Mesh consisting of general polyhedral cells.
virtual const pointField & points() const
Return raw points.
An abstract class for surfaces with sampling.
const polyMesh & mesh() const
Access to the underlying mesh.
A sampledSurface defined by a distance to a surface.
distanceSurface(const word &name, const polyMesh &mesh, const dictionary &dict)
Construct from dictionary.
virtual ~distanceSurface()
Destructor.
virtual bool needsUpdate() const
Does the surface need an update?
virtual void print(Ostream &) const
Write.
A base class for sampled surfaces constructed from iso-surfaces.
virtual const pointField & points() const
Points of surface.
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
defineTypeNameAndDebug(cutPlane, 0)
addToRunTimeSelectionTable(sampledSurface, cutPlane, word)
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
tmp< DimensionedField< scalar, GeoMesh, Field > > mag(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)