88 const word edgeType(is);
90 IstreamConstructorTable::iterator cstrIter =
91 IstreamConstructorTablePtr_->find(edgeType);
93 if (cstrIter == IstreamConstructorTablePtr_->end())
96 <<
"Unknown blockEdge type " 97 << edgeType <<
nl <<
nl 98 <<
"Valid blockEdge types are" <<
endl 99 << IstreamConstructorTablePtr_->sortedToc()
120 allKnots[0] = points[start];
121 allKnots[otherKnots.
size() + 1] = points[end];
126 allKnots[knotI+1] = otherKnots[knotI];
141 points[i] = position(lambdas[i]);
blockEdge(const pointField &points, const label start, const label end)
Construct from components.
#define forAll(list, i)
Loop across all elements in list.
virtual point position(const scalar) const =0
Return the point position corresponding to the curve parameter.
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
T & ref() const
Return non-const reference or generate a fatal error.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void size(const label)
Override size to be inconsistent with allocated storage.
Ostream & endl(Ostream &os)
Add newline and flush stream.
vectorField pointField
pointField is a vectorField.
A class for handling words, derived from string.
Container for searchableSurfaces.
static autoPtr< blockEdge > New(const dictionary &dict, const label index, const searchableSurfaces &geometry, const pointField &, Istream &)
New function which constructs and returns pointer to a blockEdge.
static label read(Istream &, const dictionary &)
Read vertex index with optional name lookup.
errorManip< error > abort(error &err)
void write(Ostream &, const dictionary &) const
Write edge with variable backsubstitution.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual autoPtr< blockEdge > clone() const
Clone function.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
Define a curved edge that is parameterised for 0<lambda<1 between the start and end point...
Ostream & operator<<(Ostream &, const ensightPart &)
static pointField appendEndPoints(const pointField &, const label start, const label end, const pointField &otherKnots)
Return a complete point field by appending the start/end points.
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.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
static void write(Ostream &, const label, const dictionary &)
Write vertex index with optional name backsubstitution.
#define InfoInFunction
Report an information message using Foam::Info.