88 const word edgeType(is);
90 auto* ctorPtr = IstreamConstructorTable(edgeType);
99 *IstreamConstructorTablePtr_
127 auto&
points = tpoints.ref();
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void size(const label n)
Older name for setAddressableSize.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Define a curved edge that is parameterized for 0<lambda<1 between the start/end points.
const pointField & points_
The referenced point field.
virtual autoPtr< blockEdge > clone() const
Clone function.
blockEdge(const pointField &points, const label from, const label to)
Construct from components.
static autoPtr< blockEdge > New(const dictionary &dict, const label index, const searchableSurfaces &geometry, const pointField &points, Istream &is)
New function which constructs and returns pointer to a blockEdge.
const label end_
Index of the last point.
static pointField appendEndPoints(const pointField &p, const label from, const label to, const pointField &intermediate)
Return a complete point field by appending the start/end points to the given list.
virtual point position(const scalar lambda) const =0
The point position corresponding to the curve parameter.
const label start_
Index of the first point.
void write(Ostream &os, const dictionary &dict) const
Write edge with variable back-substitution.
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 a number of values (eg,...
An edge is a list of two vertex labels. This can correspond to a directed graph edge or an edge on a ...
static tmp< pointField > concat(const point &start, const pointField &intermediate, const point &end)
Concatenate begin, intermediate and end points.
Container for searchableSurfaces. The collection is specified as a dictionary. For example,...
A class for managing temporary objects.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
OBJstream os(runTime.globalPath()/outputName)
#define DebugInFunction
Report an information message using Foam::Info.
bool read(const char *buf, int32_t &val)
Same as readInt32.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
vectorField pointField
pointField is a vectorField.
List< scalar > scalarList
List of scalar.
constexpr char tab
The tab '\t' character(0x09).
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.
#define forAll(list, i)
Loop across all elements in list.