concepts::Import3dMesh::NodeTetrahedron Class Reference

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

#include <meshImport3D.hh>

Inheritance diagram for concepts::Import3dMesh::NodeTetrahedron:
concepts::Import3dMesh::NodeCell

Public Member Functions

virtual Tetrahedron3dcell (const std::vector< Real3d > &vertices) const
 Creates and returns the cell. More...
 
virtual Index faceIndex (const uint i)
 Returns the indices of the nodes which define the face i. More...
 
 NodeTetrahedron (const uint one, const uint two, const uint three, const uint four, const bool leftHand=false)
 Constructor. More...
 
virtual uint nofaces () const
 Returns the number of faces. More...
 
uint operator[] (const uint i) const
 Returns the node with index i. More...
 
virtual Quad ** quad (const uint i)
 Returns the face with index i. More...
 
uint size () const
 Returns the number of nodes. More...
 
virtual Triangle ** triangle (const uint i)
 Returns the face with index i. More...
 
virtual ~NodeTetrahedron ()
 

Protected Attributes

Array< uint > nodes_
 Node numbers of the cell. More...
 

Private Attributes

Array< Triangle * > faces_
 Faces of the cell. More...
 

Detailed Description

Stores the nodes and faces of a tetrahedral cell to be created.

Author
Philipp Frauenfelder, 2002

Definition at line 252 of file meshImport3D.hh.

Constructor & Destructor Documentation

◆ NodeTetrahedron()

concepts::Import3dMesh::NodeTetrahedron::NodeTetrahedron ( const uint  one,
const uint  two,
const uint  three,
const uint  four,
const bool  leftHand = false 
)

Constructor.

Takes the node numbers of the 4 vertices and stores them in nodes_

◆ ~NodeTetrahedron()

virtual concepts::Import3dMesh::NodeTetrahedron::~NodeTetrahedron ( )
virtual

Member Function Documentation

◆ cell()

virtual Tetrahedron3d* concepts::Import3dMesh::NodeTetrahedron::cell ( const std::vector< Real3d > &  vertices) const
virtual

Creates and returns the cell.

Implements concepts::Import3dMesh::NodeCell.

◆ faceIndex()

virtual Index concepts::Import3dMesh::NodeTetrahedron::faceIndex ( const uint  i)
virtual

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

Implements concepts::Import3dMesh::NodeCell.

◆ nofaces()

virtual uint concepts::Import3dMesh::NodeTetrahedron::nofaces ( ) const
inlinevirtual

Returns the number of faces.

Implements concepts::Import3dMesh::NodeCell.

Definition at line 263 of file meshImport3D.hh.

◆ operator[]()

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

Returns the node with index i.

Definition at line 233 of file meshImport3D.hh.

◆ quad()

virtual Quad** concepts::Import3dMesh::NodeTetrahedron::quad ( const uint  i)
inlinevirtual

Returns the face with index i.

Implements concepts::Import3dMesh::NodeCell.

Definition at line 266 of file meshImport3D.hh.

◆ size()

uint concepts::Import3dMesh::NodeCell::size ( ) const
inlineinherited

Returns the number of nodes.

Definition at line 235 of file meshImport3D.hh.

◆ triangle()

virtual Triangle** concepts::Import3dMesh::NodeTetrahedron::triangle ( const uint  i)
inlinevirtual

Returns the face with index i.

Implements concepts::Import3dMesh::NodeCell.

Definition at line 267 of file meshImport3D.hh.

Member Data Documentation

◆ faces_

Array<Triangle*> concepts::Import3dMesh::NodeTetrahedron::faces_
private

Faces of the cell.

Definition at line 255 of file meshImport3D.hh.

◆ nodes_

Array<uint> concepts::Import3dMesh::NodeCell::nodes_
protectedinherited

Node numbers of the cell.

Definition at line 224 of file meshImport3D.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich