69 varDict.add(*
this,
index);
70 d.
add(
"namedBlocks", varDict);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const pointField & vertices() const noexcept
Reference to point field defining the block mesh.
Creates a single block of cells from point coordinates, numbers of cells in each direction and an exp...
namedBlock(const dictionary &dict, const label index, const pointField &vertices, const blockEdgeList &edges, const blockFaceList &faces, Istream &is)
Construct from Istream setting points list.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const dictionary * findDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary pointer if present (and it is a dictionary) otherwise return nullptr...
entry * add(entry *entryPtr, bool mergeEntry=false)
Add a new entry.
label index(const label i, const label j, const label k) const
Linear addressing index (offset) for an (i,j,k) position.
A class for handling words, derived from Foam::string.
word()=default
Default construct.
#define defineTypeName(Type)
Define the typeName.
pointField vertices(const blockVertexList &bvl)
PtrList< blockFace > blockFaceList
A PtrList of blockFaces.
PtrList< blockEdge > blockEdgeList
A PtrList of blockEdges.
vectorField pointField
pointField is a vectorField.