blockVertex Class Referenceabstract

Define a block vertex. More...

Inheritance diagram for blockVertex:
[legend]

Classes

class  iNew
 Class used for the read-construction of. More...
 

Public Member Functions

 TypeName ("blockVertex")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, blockVertex, Istream,(const dictionary &dict, const label index, const searchableSurfaces &geometry, Istream &is),(dict, index, geometry, is))
 
 blockVertex () noexcept=default
 Default construct. More...
 
virtual autoPtr< blockVertexclone () const
 Clone function. More...
 
virtual ~blockVertex ()=default
 Destructor. More...
 
virtual operator point () const =0
 

Static Public Member Functions

static autoPtr< blockVertexNew (const dictionary &dict, const label index, const searchableSurfaces &geometry, Istream &)
 New function which constructs and returns pointer to a blockVertex. More...
 
static label read (Istream &, const dictionary &)
 Read vertex index with optional name lookup. More...
 
static void write (Ostream &, const label, const dictionary &)
 Write vertex index with optional name backsubstitution. More...
 

Detailed Description

Define a block vertex.

Source files

Definition at line 51 of file blockVertex.H.

Constructor & Destructor Documentation

◆ blockVertex()

blockVertex ( )
defaultnoexcept

Default construct.

◆ ~blockVertex()

virtual ~blockVertex ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "blockVertex"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
blockVertex  ,
Istream  ,
(const dictionary &dict, const label index, const searchableSurfaces &geometry, Istream &is)  ,
(dict, index, geometry, is)   
)

◆ clone()

Foam::autoPtr< Foam::blockVertex > clone ( ) const
virtual

Clone function.

Definition at line 44 of file blockVertex.C.

References NotImplemented.

◆ New()

Foam::autoPtr< Foam::blockVertex > New ( const dictionary dict,
const label  index,
const searchableSurfaces geometry,
Istream is 
)
static

New function which constructs and returns pointer to a blockVertex.

Definition at line 52 of file blockVertex.C.

References Foam::abort(), token::BEGIN_LIST, DebugInFunction, dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, FatalIOErrorInLookup, token::info(), token::isPunctuation(), token::isWord(), Foam::nl, Istream::putBack(), and token::wordToken().

Referenced by blockVertex::iNew::operator()().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator point()

virtual operator point ( ) const
pure virtual

Implemented in projectVertex, namedVertex, and pointVertex.

◆ read()

Foam::label read ( Istream is,
const dictionary dict 
)
static

Read vertex index with optional name lookup.

Definition at line 103 of file blockVertex.C.

References dict, dictionary::findDict(), Foam::blockMeshTools::read(), and Foam::readLabel().

Here is the call graph for this function:

◆ write()

void write ( Ostream os,
const label  val,
const dictionary d 
)
static

Write vertex index with optional name backsubstitution.

Definition at line 118 of file blockVertex.C.

References dictionary::findDict(), os(), and Foam::blockMeshTools::write().

Referenced by blockFace::write(), and blockEdge::write().

Here is the call graph for this function:
Here is the caller graph for this function:

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