Go to the documentation of this file.
37 #ifndef blockDescriptor_H
38 #define blockDescriptor_H
55 class blockDescriptor;
56 Ostream&
operator<<(Ostream&,
const blockDescriptor&);
void operator=(const blockDescriptor &)
Disallow default bitwise assignment.
const point & blockPoint(const label i) const
Return block point at local label i.
cellShape blockShape_
Block shape.
A class for handling words, derived from string.
void makeBlockEdges()
Set the points/weights for all edges.
void setEdge(label edgeI, label start, label end, label dim)
Set the edge points/weights.
const Vector< label > & density() const
Return the number of cells in the i,j,k directions.
const cellShape & blockShape() const
Return the block shape.
const scalarListList & blockEdgeWeights() const
Return the weightings along each edge.
blockDescriptor(const cellShape &, const pointField &blockPointField, const curvedEdgeList &, const Vector< label > &meshDensity, const UList< gradingDescriptors > &expand, const word &zoneName="")
Construct from components. Optional cellSet/zone name.
const word & zoneName() const
Return the (optional) zone name.
scalarListList edgeWeights_
Block edge weighting factors.
label nPoints() const
Return the number of points.
friend Ostream & operator<<(Ostream &, const blockDescriptor &)
autoPtr< blockDescriptor > clone() const
Clone.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const curvedEdgeList & curvedEdges_
Reference to a list of curved edges.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Ostream & operator<<(Ostream &, const edgeMesh &)
label nCells() const
Return the number of cells.
List< gradingDescriptors > expand_
Expansion ratios in all directions.
An analytical geometric cellShape.
const pointField & blockPointField() const
Reference to point field defining the block mesh.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Vector< label > meshDensity_
The number of cells in the i,j,k directions.
const pointField & blockPointField_
Reference to point field defining the block mesh.
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>, where the size of the vector is known and can be used for subscri...
const Vector< label > & meshDensity() const
Return the mesh density (number of cells) in the i,j,k directions.
word zoneName_
Name of the zone (empty string if none)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
List< List< point > > edgePoints_
Block edge points.
const List< List< point > > & blockEdgePoints() const
Return the block points along each edge.
Takes the description of the block and the list of curved edges and creates a list of points on edges...
~blockDescriptor()
Destructor.
string expand(const string &, const HashTable< string, word, string::hash > &mapping, const char sigil='$')
Expand occurences of variables according to the mapping.