Go to the documentation of this file.
38 namespace blockVertices
48 Foam::blockVertices::projectVertex::projectVertex
60 surfaces_.setSize(
names.size());
63 surfaces_[i] = geometry_.findSurfaceID(
names[i]);
65 if (surfaces_[i] == -1)
68 <<
"Cannot find surface " <<
names[i] <<
" in geometry"
77 Foam::blockVertices::projectVertex::operator
point()
const
88 boundBox bb(searchableSurfacesQueries::bounds(geometry_, surfaces_));
92 searchableSurfacesQueries::findNearest
102 return boundaryNear[0];
addToRunTimeSelectionTable(blockVertex, namedVertex, Istream)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Unit conversion functions.
const point & max() const
Maximum describing the bounding box.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
const point & min() const
Minimum describing the bounding box.
#define forAll(list, i)
Loop across all elements in list.
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
vector span() const
The bounding box span (from minimum to maximum)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
errorManipArg< error, int > exit(error &err, const int errNo=1)
defineTypeNameAndDebug(namedVertex, 0)
Container for searchableSurfaces. The collection is specified as a dictionary. For example,...
A bounding box defined in terms of min/max extrema points.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
vector point
Point is a vector.
List< word > names(const UPtrList< T > &list, const UnaryMatchPredicate &matcher)