Go to the documentation of this file.
84 void createBoundary();
88 template<
class OutputIterator>
89 OutputIterator addBoundaryFaces
100 void operator=(
const block&) =
delete;
183 mutable label index_;
204 return block::New(dict_, index_++, points_, edges_, faces_, is);
210 virtual ~block() =
default;
221 inline const List<hexCell>&
cells() const;
224 inline const FixedList<List<FixedList<label, 4>>, 6>&
236 Ostream& operator<<(Ostream&
os, const block& blk);
vectorField pointField
pointField is a vectorField.
const FixedList< List< FixedList< label, 4 > >, 6 > & boundaryPatches() const noexcept
autoPtr< block > clone() const
Creates a single block of cells from point coordinates, numbers of cells in each direction and an exp...
cellShapeList shapes() const
A class for handling words, derived from Foam::string.
const word & zoneName() const noexcept
autoPtr< block > operator()(Istream &is) const
List< cellShape > cellShapeList
List of cellShapes and PtrList of List of cellShape.
const pointField & vertices() const noexcept
const List< hexCell > & cells() const
const pointField & points() const noexcept
Generic templated field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const labelVector & density() const noexcept
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
declareRunTimeSelectionTable(autoPtr, block, Istream,(const dictionary &dict, const label index, const pointField &vertices, const blockEdgeList &edges, const blockFaceList &faces, Istream &is),(dict, index, vertices, edges, faces, is))
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
An analytical geometric cellShape.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
iNew(const dictionary &dict, const pointField &points, const blockEdgeList &edges, const blockFaceList &faces)
static autoPtr< block > New(const dictionary &dict, const label index, const pointField &points, const blockEdgeList &edges, const blockFaceList &faces, Istream &)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T> with a fixed length <N>.
A hexahedral cell primitive.
label index(const label i, const label j, const label k) const
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
string expand(const std::string &s, const HashTable< string > &mapping, const char sigil='$')
Takes the description of the block and the list of curved edges and creates a list of points on edges...