Chaste Release::3.1
VertexElement< 1, SPACE_DIM > Class Template Reference

#include <VertexElement.hpp>

Inheritance diagram for VertexElement< 1, SPACE_DIM >:
Collaboration diagram for VertexElement< 1, SPACE_DIM >:

List of all members.

Public Member Functions

 VertexElement (unsigned index, const std::vector< Node< SPACE_DIM > * > &rNodes)
unsigned GetNumFaces () const
VertexElement< 0, SPACE_DIM > * GetFace (unsigned index) const
bool FaceIsOrientatedClockwise (unsigned index) const

Detailed Description

template<unsigned SPACE_DIM>
class VertexElement< 1, SPACE_DIM >

Specialization for 1d elements so we don't get errors from Boost on some compilers.

Definition at line 186 of file VertexElement.hpp.


Constructor & Destructor Documentation

template<unsigned SPACE_DIM>
VertexElement< 1, SPACE_DIM >::VertexElement ( unsigned  index,
const std::vector< Node< SPACE_DIM > * > &  rNodes 
)

Constructor which takes in a vector of nodes.

Parameters:
indexthe index of the element in the mesh
rNodesthe nodes owned by the element

Specialization for 1d elements so we don't get errors from Boost on some compilers.

Definition at line 172 of file VertexElement.cpp.


Member Function Documentation

template<unsigned SPACE_DIM>
bool VertexElement< 1, SPACE_DIM >::FaceIsOrientatedClockwise ( unsigned  index) const

Get whether the face with a given index is oriented clockwise.

Parameters:
indexthe index of the face

Definition at line 190 of file VertexElement.cpp.

template<unsigned SPACE_DIM>
VertexElement< 0, SPACE_DIM > * VertexElement< 1, SPACE_DIM >::GetFace ( unsigned  index) const
Parameters:
indexthe global index of a specified face
Returns:
a pointer to the face

Definition at line 184 of file VertexElement.cpp.

template<unsigned SPACE_DIM>
unsigned VertexElement< 1, SPACE_DIM >::GetNumFaces ( ) const

Get the number of faces owned by this element.

Definition at line 178 of file VertexElement.cpp.


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