Go to the documentation of this file.
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())
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];
A class for handling words, derived from string.
#define forAll(list, i)
Loop across all elements in list.
void operator=(const curvedEdge &)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
virtual autoPtr< curvedEdge > clone() const
Clone function.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Ostream & operator<<(Ostream &, const edgeMesh &)
errorManip< error > abort(error &err)
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.
static autoPtr< curvedEdge > New(const pointField &, Istream &)
New function which constructs and returns pointer to a curvedEdge.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
label readLabel(Istream &is)
const dimensionedScalar c
Speed of light in a vacuum.
Define a curved edge that is parameterized for 0<lambda<1 between the start and end point.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
curvedEdge(const pointField &points, const label start, const label end)
Construct from components.
defineTypeNameAndDebug(combustionModel, 0)