Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Attributes
concepts::Import3dMesh::NodeCell Class Reference

Stores the nodes and edges of a cell to be created. More...

#include <meshImport3D.hh>

Inheritance diagram for concepts::Import3dMesh::NodeCell:
Inheritance graph
[legend]
Collaboration diagram for concepts::Import3dMesh::NodeCell:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual Cell3cell (const std::vector< Real3d > &vertices) const =0
 Creates and returns the cell.
virtual Index faceIndex (const uint i)=0
 Returns the indices of the nodes which define the face i.
 NodeCell (const uint size)
 Constructor.
virtual uint nofaces () const =0
 Returns the number of faces.
uint operator[] (const uint i) const
 Returns the node with index i.
virtual Quad ** quad (const uint i)=0
 Returns the face with index i.
uint size () const
 Returns the number of nodes.
virtual Triangle ** triangle (const uint i)=0
 Returns the face with index i.
virtual ~NodeCell ()

Protected Attributes

Array< uint > nodes_
 Node numbers of the cell.

Detailed Description

Stores the nodes and edges of a cell to be created.

Author:
Philipp Frauenfelder, 2002

Definition at line 234 of file meshImport3D.hh.


Constructor & Destructor Documentation

concepts::Import3dMesh::NodeCell::NodeCell ( const uint  size) [inline]

Constructor.

Allocates nodes_ and edges_.

Parameters:
sizeNumber of nodes / edges. Ie. 4 for a tetrahedron or 8 for a hexahedron.

Definition at line 243 of file meshImport3D.hh.

virtual concepts::Import3dMesh::NodeCell::~NodeCell ( ) [virtual]

Member Function Documentation

virtual Cell3* concepts::Import3dMesh::NodeCell::cell ( const std::vector< Real3d > &  vertices) const [pure virtual]

Creates and returns the cell.

Implemented in concepts::Import3dMesh::NodeTetrahedron, and concepts::Import3dMesh::NodeHexahedron.

virtual Index concepts::Import3dMesh::NodeCell::faceIndex ( const uint  i) [pure virtual]

Returns the indices of the nodes which define the face i.

Implemented in concepts::Import3dMesh::NodeTetrahedron, and concepts::Import3dMesh::NodeHexahedron.

virtual uint concepts::Import3dMesh::NodeCell::nofaces ( ) const [pure virtual]

Returns the number of faces.

Implemented in concepts::Import3dMesh::NodeTetrahedron, and concepts::Import3dMesh::NodeHexahedron.

uint concepts::Import3dMesh::NodeCell::operator[] ( const uint  i) const [inline]

Returns the node with index i.

Definition at line 246 of file meshImport3D.hh.

virtual Quad** concepts::Import3dMesh::NodeCell::quad ( const uint  i) [pure virtual]

Returns the face with index i.

Implemented in concepts::Import3dMesh::NodeTetrahedron, and concepts::Import3dMesh::NodeHexahedron.

uint concepts::Import3dMesh::NodeCell::size ( ) const [inline]

Returns the number of nodes.

Definition at line 248 of file meshImport3D.hh.

Here is the call graph for this function:

virtual Triangle** concepts::Import3dMesh::NodeCell::triangle ( const uint  i) [pure virtual]

Returns the face with index i.

Implemented in concepts::Import3dMesh::NodeTetrahedron, and concepts::Import3dMesh::NodeHexahedron.


Member Data Documentation

Node numbers of the cell.

Definition at line 237 of file meshImport3D.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)