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]);
#define forAll(list, i)
Loop across all elements in list.
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.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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 parameterised for 0<lambda<1 between the start and end point.
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.
blockEdge(const pointField &points, const label start, const label end)
Construct from components.
virtual autoPtr< blockEdge > clone() const
Clone function.
virtual point position(const scalar) const =0
Return the point position corresponding to the curve parameter.
void write(Ostream &, const dictionary &) const
Write edge with variable backsubstitution.
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 void write(Ostream &, const label, const dictionary &)
Write vertex index with optional name backsubstitution.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Container for searchableSurfaces.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
A class for handling words, derived from string.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define InfoInFunction
Report an information message using Foam::Info.
bool read(const char *, int32_t &)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
vectorField pointField
pointField is a vectorField.
defineTypeNameAndDebug(combustionModel, 0)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)