111 const word blockOrCellShapeType(is);
113 auto* ctorPtr = IstreamConstructorTable(blockOrCellShapeType);
129 os <<
b.points() <<
nl
131 <<
b.boundaryPatches() <<
endl;
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void putBack(const token &tok)
Put back a token. Only a single put back is permitted.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Takes the description of the block and the list of curved edges and creates a list of points on edges...
Creates a single block of cells from point coordinates, numbers of cells in each direction and an exp...
An analytical geometric cellShape.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A token holds an item read from Istream.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
OBJstream os(runTime.globalPath()/outputName)
#define DebugInFunction
Report an information message using Foam::Info.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Ostream & endl(Ostream &os)
Add newline and flush stream.
pointField vertices(const blockVertexList &bvl)
constexpr char nl
The newline '\n' character (0x0a)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.