84 Info<<
"curvedEdge::New(const pointField&, Istream&) : " 85 <<
"constructing curvedEdge" 89 const word edgeType(is);
91 IstreamConstructorTable::iterator cstrIter =
92 IstreamConstructorTablePtr_->find(edgeType);
94 if (cstrIter == IstreamConstructorTablePtr_->end())
96 FatalErrorIn(
"curvedEdge::New(const pointField&, Istream&)")
97 <<
"Unknown curvedEdge type " 98 << edgeType <<
nl <<
nl 99 <<
"Valid curvedEdge types are" <<
endl 100 << IstreamConstructorTablePtr_->sortedToc()
121 allKnots[0] = points[
start];
122 allKnots[otherKnots.
size() + 1] = points[
end];
127 allKnots[knotI+1] = otherKnots[knotI];
const pointField & points
static autoPtr< curvedEdge > New(const pointField &, Istream &)
New function which constructs and returns pointer to a curvedEdge.
void operator=(const curvedEdge &)
Define a curved edge that is parameterized for 0<lambda<1 between the start and end point...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void size(const label)
Override size to be inconsistent with allocated storage.
Ostream & operator<<(Ostream &, const edgeMesh &)
label readLabel(Istream &is)
label start() const
Return label of start point.
virtual autoPtr< curvedEdge > clone() const
Clone function.
const pointField & points_
Ostream & endl(Ostream &os)
Add newline and flush stream.
curvedEdge(const pointField &points, const label start, const label end)
Construct from components.
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.
errorManip< error > abort(error &err)
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const dimensionedScalar c
Speed of light in a vacuum.
#define notImplemented(functionName)
Issue a FatalErrorIn for a function not currently implemented.
label end() const
Return label of end point.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
defineTypeNameAndDebug(combustionModel, 0)