Define a block vertex. More...
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< blockVertex > | clone () const |
Clone function. More... | |
virtual | ~blockVertex () |
Destructor. More... | |
virtual | operator point () const =0 |
Static Public Member Functions | |
static autoPtr< blockVertex > | New (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... | |
blockVertex | ( | ) |
Construct null.
Definition at line 41 of file blockVertex.C.
|
inlinevirtual |
Destructor.
Definition at line 116 of file blockVertex.H.
References blockVertex::read(), and blockVertex::write().
TypeName | ( | "blockVertex" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
blockVertex | , | ||
Istream | , | ||
(const dictionary &dict, const label index, const searchableSurfaces &geometry, Istream &is) | , | ||
(dict, index, geometry, is) | |||
) |
|
virtual |
Clone function.
Definition at line 45 of file blockVertex.C.
References blockVertex::New(), and NotImplemented.
|
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()().
|
pure virtual |
Implemented in projectVertex, namedVertex, and pointVertex.
|
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().
|
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().