87 const word edgeType(is);
89 IstreamConstructorTable::iterator cstrIter =
90 IstreamConstructorTablePtr_->find(edgeType);
92 if (cstrIter == IstreamConstructorTablePtr_->end())
95 <<
"Unknown curvedEdge type " 96 << edgeType <<
nl <<
nl 97 <<
"Valid curvedEdge types are" <<
endl 98 << IstreamConstructorTablePtr_->sortedToc()
119 allKnots[0] = points[
start];
120 allKnots[otherKnots.
size() + 1] = points[
end];
125 allKnots[knotI+1] = otherKnots[knotI];
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.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
curvedEdge(const pointField &points, const label start, const label end)
Construct from components.
virtual autoPtr< curvedEdge > clone() const
Clone function.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
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.
const pointField & points_
A class for handling words, derived from string.
errorManip< error > abort(error &err)
label readLabel(Istream &is)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
label end() const
Return label of end point.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
static autoPtr< curvedEdge > New(const pointField &, Istream &)
New function which constructs and returns pointer to a curvedEdge.
void operator=(const curvedEdge &)
const dimensionedScalar c
Speed of light in a vacuum.
Ostream & operator<<(Ostream &, const ensightPart &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Define a curved edge that is parameterized for 0<lambda<1 between the start and end point...
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
label start() const
Return label of start point.
#define InfoInFunction
Report an information message using Foam::Info.