Loading...
Searching...
No Matches
namedVertex Class Reference

Gives name to a vertex. More...

#include <namedVertex.H>

Inheritance diagram for namedVertex:
Collaboration diagram for namedVertex:

Public Member Functions

 TypeName ("name")
 Runtime type information.
 namedVertex (const dictionary &dict, const label index, const searchableSurfaces &geometry, Istream &is)
 Construct from Istream setting pointsList.
virtual ~namedVertex ()=default
 Destructor.
virtual operator point () const
Public Member Functions inherited from blockVertex
 TypeName ("blockVertex")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, blockVertex, Istream,(const dictionary &dict, const label index, const searchableSurfaces &geometry, Istream &is),(dict, index, geometry, is))
 blockVertex () noexcept=default
 Default construct.
virtual autoPtr< blockVertexclone () const
 Clone function.
virtual ~blockVertex ()=default
 Destructor.

Protected Attributes

word name_
 The dictionary variable name for the vertex number.
autoPtr< blockVertexvertexPtr_
 The vertex location.

Additional Inherited Members

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

Detailed Description

Gives name to a vertex.

Source files

Definition at line 49 of file namedVertex.H.

Constructor & Destructor Documentation

◆ namedVertex()

namedVertex ( const dictionary & dict,
const label index,
const searchableSurfaces & geometry,
Istream & is )

Construct from Istream setting pointsList.

Definition at line 38 of file namedVertex.C.

References dictionary::add(), blockVertex::blockVertex(), dict, dictionary::findDict(), name_, blockVertex::New(), and vertexPtr_.

Here is the call graph for this function:

◆ ~namedVertex()

virtual ~namedVertex ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "name" )

Runtime type information.

References dict.

◆ operator point()

operator point ( ) const
virtual

Implements blockVertex.

Definition at line 67 of file namedVertex.C.

References vertexPtr_.

Member Data Documentation

◆ name_

word name_
protected

The dictionary variable name for the vertex number.

Definition at line 60 of file namedVertex.H.

Referenced by namedVertex().

◆ vertexPtr_

autoPtr<blockVertex> vertexPtr_
protected

The vertex location.

Definition at line 65 of file namedVertex.H.

Referenced by namedVertex(), and operator point().


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