blockVertex Class Referenceabstract

Define a block vertex. More...

Inheritance diagram for blockVertex:

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 ()
 Construct null. More...
 
virtual autoPtr< blockVertexclone () const
 Clone function. More...
 
virtual ~blockVertex ()
 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 48 of file blockVertex.H.

Constructor & Destructor Documentation

◆ blockVertex()

Construct null.

Definition at line 41 of file blockVertex.C.

◆ ~blockVertex()

virtual ~blockVertex ( )
inlinevirtual

Destructor.

Definition at line 116 of file blockVertex.H.

References blockVertex::read(), and blockVertex::write().

Here is the call graph for this function:

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 45 of file blockVertex.C.

References blockVertex::New(), and NotImplemented.

Here is the call graph for this function:

◆ 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 53 of file blockVertex.C.

References Foam::abort(), token::BEGIN_LIST, dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::FatalIOError, FatalIOErrorInFunction, token::info(), InfoInFunction, token::isPunctuation(), token::isWord(), Foam::nl, token::pToken(), Istream::putBack(), and token::wordToken().

Referenced by blockVertex::clone(), and 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 108 of file blockVertex.C.

References Foam::blockMeshTools::read(), Foam::readLabel(), dictionary::subDictPtr(), and blockVertex::write().

Referenced by blockVertex::~blockVertex().

Here is the call graph for this function:
Here is the caller 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 120 of file blockVertex.C.

References dictionary::subDictPtr(), and Foam::blockMeshTools::write().

Referenced by blockVertex::read(), blockFace::write(), blockEdge::write(), and blockVertex::~blockVertex().

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: