Public Member Functions | List of all members
namedBlock Class Reference

Gives name to a block. More...

Inheritance diagram for namedBlock:
Inheritance graph
[legend]
Collaboration diagram for namedBlock:
Collaboration graph
[legend]

Public Member Functions

 TypeNameNoDebug ("name")
 
 namedBlock (const dictionary &dict, const label index, const pointField &vertices, const blockEdgeList &edges, const blockFaceList &faces, Istream &is)
 
virtual ~namedBlock ()=default
 
- Public Member Functions inherited from word
 word ()=default
 
 word (const word &)=default
 
 word (word &&w)=default
 
 word (const string &s, bool doStrip=true)
 
 word (string &&s, bool doStrip=true)
 
 word (const std::string &s, bool doStrip=true)
 
 word (std::string &&s, bool doStrip=true)
 
 word (const char *s, bool doStrip=true)
 
 word (const char *s, size_type len, bool doStrip)
 
 word (Istream &is)
 
void stripInvalid ()
 
word lessExt () const
 
word ext () const
 
wordext (const word &ending)
 
wordoperator= (const word &s)
 
wordoperator= (word &&s)
 
wordoperator= (const string &s)
 
wordoperator= (string &&s)
 
wordoperator= (const std::string &s)
 
wordoperator= (std::string &&s)
 
wordoperator= (const char *s)
 
template<class PrimitiveType >
Foam::word printf (const char *fmt, const PrimitiveType &val)
 
template<class PrimitiveType >
Foam::word printf (const std::string &fmt, const PrimitiveType &val)
 
bool hasExt () const
 
bool hasExt (const char *ending) const
 
bool hasExt (const std::string &ending) const
 
bool hasExt (const wordRe &ending) const
 
bool removeExt ()
 
- Public Member Functions inherited from string
 string ()=default
 
 string (const std::string &str)
 
 string (std::string &&str)
 
 string (const char *str)
 
 string (const char *str, const size_type len)
 
 string (const char c)
 
 string (const size_type len, const char c)
 
 string (Istream &is)
 
bool match (const std::string &text) const
 
stringreplace (const std::string &s1, const std::string &s2, size_type pos=0)
 
stringreplaceAll (const std::string &s1, const std::string &s2, size_type pos=0)
 
stringreplaceAny (const std::string &s1, const char c2, size_type pos=0)
 
stringexpand (const bool allowEmpty=false)
 
bool removeRepeated (const char character)
 
bool removeStart (const std::string &text)
 
bool removeStart (const char c)
 
bool removeEnd (const std::string &text)
 
bool removeEnd (const char c)
 
void swap (std::string &str)
 
bool operator() (const std::string &text) const
 
bool starts_with (const std::string &s) const
 
bool starts_with (const char c) const
 
bool ends_with (const std::string &s) const
 
bool ends_with (const char c) const
 
size_type count (const char c) const
 
bool startsWith (const std::string &s) const
 
bool endsWith (const std::string &s) const
 
bool removeTrailing (const char c)
 
- Public Member Functions inherited from block
 TypeName ("block")
 
 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))
 
 block (const cellShape &bshape, const pointField &vertices, const blockEdgeList &edges, const blockFaceList &faces, const labelVector &density, const UList< gradingDescriptors > &expand=UList< gradingDescriptors >::null(), const word &zoneName="")
 
 block (const dictionary &dict, const label index, const pointField &vertices, const blockEdgeList &edges, const blockFaceList &faces, Istream &is)
 
 block (const blockDescriptor &blockDesc)
 
autoPtr< blockclone () const
 
virtual ~block ()=default
 
const pointFieldpoints () const noexcept
 
const List< hexCell > & cells () const
 
const FixedList< List< FixedList< label, 4 > >, 6 > & boundaryPatches () const noexcept
 
cellShapeList shapes () const
 
- Public Member Functions inherited from blockDescriptor
 blockDescriptor (const blockDescriptor &)=default
 
void operator= (const blockDescriptor &)=delete
 
 blockDescriptor (const cellShape &bshape, const pointField &vertices, const blockEdgeList &edges, const blockFaceList &faces, const labelVector &density, const UList< gradingDescriptors > &expand=UList< gradingDescriptors >::null(), const word &zoneName=word::null)
 
 blockDescriptor (const dictionary &dict, const label blockIndex, const pointField &vertices, const blockEdgeList &edges, const blockFaceList &faces, Istream &is)
 
const pointFieldvertices () const noexcept
 
const blockFaceListblockFaces () const noexcept
 
const cellShapeblockShape () const noexcept
 
const labelVectordensity () const noexcept
 
const List< gradingDescriptors > & grading () const noexcept
 
const wordzoneName () const noexcept
 
const FixedList< label, 6 > & curvedFaces () const noexcept
 
label nCurvedFaces () const noexcept
 
const pointblockPoint (const label i) const
 
label facePointLabel (const direction facei, const label i, const label j) const
 
bool vertex (const label i, const label j, const label k) const
 
bool edge (const label i, const label j, const label k) const
 
int edgesPointsWeights (pointField(&edgesPoints)[12], scalarList(&edgesWeights)[12]) const
 
bool edgePointsWeights (const label edgei, pointField &edgePoints, scalarList &edgeWeights, const label nDiv, const gradingDescriptors &gd=gradingDescriptors()) const
 
bool edgePointsWeights (const label edgei, pointField &edgePoints, scalarList &edgeWeights) const
 
bool flatFaceOrEdge (const label i, const label j, const label k) const
 
FixedList< pointField, 6 > facePoints (const pointField &points) const
 
void correctFacePoints (FixedList< pointField, 6 > &) const
 
InfoProxy< blockDescriptorinfo () const
 
- Public Member Functions inherited from ijkMesh
 ijkMesh ()
 
 ijkMesh (const labelVector &ijk)
 
 ijkMesh (const label nx, const label ny, const label nz)
 
label nPoints () const
 
label nCells () const
 
label nFaces () const
 
label nInternalFaces () const
 
label nBoundaryFaces () const
 
label nBoundaryFaces (const direction shapeFacei) const
 
label cellLabel (const label i, const label j, const label k) const
 
label cellLabel (const labelVector &ijk) const
 
label pointLabel (const label i, const label j, const label k) const
 
label pointLabel (const labelVector &ijk) const
 
hexCell vertLabels (const label i, const label j, const label k) const
 
hexCell vertLabels (const labelVector &ijk) const
 
- Public Member Functions inherited from ijkAddressing
 ijkAddressing ()
 
 ijkAddressing (const labelVector &ijk)
 
 ijkAddressing (const label ni, const label nj, const label nk)
 
bool empty () const
 
const labelVectorsizes () const
 
labelVectorsizes ()
 
label size () const
 
const label & size (const vector::components cmpt) const
 
void clear ()
 
void reset (const label ni, const label nj, const label nk)
 
void reset (const labelVector &newSizes)
 
label index (const label i, const label j, const label k) const
 
label index (const labelVector &ijk) const
 
labelVector index (const label idx) const
 
void checkIndex (const label i, const label j, const label k, const bool allowExtra=false) const
 
void checkIndex (const labelVector &ijk, const bool allowExtra=false) const
 
void checkSizes () const
 
void checkSizes (const labelVector &other) const
 
void checkSizes (const label nTotal) const
 

Additional Inherited Members

- Static Public Member Functions inherited from word
template<class PrimitiveType >
static word printf (const char *fmt, const PrimitiveType &val)
 
template<class PrimitiveType >
static word printf (const std::string &fmt, const PrimitiveType &val)
 
static bool valid (char c)
 
static word validate (const std::string &s, const bool prefix=false)
 
static word validate (const char *first, const char *last, const bool prefix=false)
 
- Static Public Member Functions inherited from string
template<class StringType >
static bool valid (const std::string &str)
 
template<class StringType >
static bool stripInvalid (std::string &str)
 
template<class StringType >
static StringType validate (const std::string &str)
 
- Static Public Member Functions inherited from block
static autoPtr< blockNew (const dictionary &dict, const label index, const pointField &points, const blockEdgeList &edges, const blockFaceList &faces, Istream &)
 
- Static Public Member Functions inherited from blockDescriptor
static void write (Ostream &, const label blocki, const dictionary &)
 
- Static Public Attributes inherited from word
static const char *const typeName = "word"
 
static int debug
 
static const word null
 
- Static Public Attributes inherited from string
static const char *const typeName = "string"
 
static int debug
 
static const string null
 
- Protected Member Functions inherited from string
std::string::size_type find_ext () const
 
word ext () const
 
bool ext (const word &ending)
 
bool hasPath () const
 
bool hasExt () const
 
bool hasExt (const char *ending) const
 
bool hasExt (const std::string &ending) const
 
bool hasExt (const wordRe &ending) const
 
bool removeExt ()
 
bool removePath ()
 
- Static Protected Member Functions inherited from string
static std::string::size_type find_ext (const std::string &str)
 
template<class PrimitiveType >
static std::string::size_type string_printf (std::string &output, const char *fmt, const PrimitiveType &val)
 
template<class PrimitiveType >
static std::string::size_type string_printf (std::string &output, const std::string &fmt, const PrimitiveType &val)
 

Detailed Description

Gives name to a block.

Source files

Definition at line 49 of file namedBlock.H.

Constructor & Destructor Documentation

◆ namedBlock()

namedBlock ( const dictionary dict,
const label  index,
const pointField vertices,
const blockEdgeList edges,
const blockFaceList faces,
Istream is 
)

Definition at line 40 of file namedBlock.C.

References dictionary::add(), dict, and dictionary::findDict().

Here is the call graph for this function:

◆ ~namedBlock()

virtual ~namedBlock ( )
virtualdefault

Member Function Documentation

◆ TypeNameNoDebug()

TypeNameNoDebug ( "name"  )

The documentation for this class was generated from the following files: