38 namespace blockVertices
48 Foam::blockVertices::projectVertex::projectVertex
56 pointVertex(
dict, index, geometry, is),
65 if (surfaces_[i] == -1)
68 <<
"Cannot find surface " <<
names[i] <<
" in geometry" 77 Foam::blockVertices::projectVertex::operator
point()
const 82 List<pointConstraint> boundaryConstraint;
89 bb.min() =
max(bb.min(),
point(-GREAT, -GREAT, -GREAT));
90 bb.max() =
min(bb.max(),
point(GREAT, GREAT, GREAT));
102 return boundaryNear[0];
void size(const label n)
Older name for setAddressableSize.
List< word > names(const UPtrList< T > &list, const UnaryMatchPredicate &matcher)
List of names generated by calling name() for each list item and filtered for matches.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
static void findNearest(const PtrList< searchableSurface > &, const labelList &surfacesToTest, const pointField &, const scalarField &nearestDistSqr, labelList &surfaces, List< pointIndexHit > &)
Find nearest. Return -1 (and a miss()) or surface and nearest.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Unit conversion functions.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
label findSurfaceID(const word &name) const
Find index of surface. Return -1 if not found.
defineTypeNameAndDebug(namedVertex, 0)
Macros for easy insertion into run-time selection tables.
#define forAll(list, i)
Loop across all elements in list.
vectorField pointField
pointField is a vectorField.
void setSize(const label n)
Alias for resize()
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Container for searchableSurfaces. The collection is specified as a dictionary. For example...
addToRunTimeSelectionTable(blockVertex, namedVertex, Istream)
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
vector point
Point is a vector.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
static boundBox bounds(const PtrList< searchableSurface > &allSurfaces, const labelUList &surfacesToTest)
Find the boundBox of the selected surfaces.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...