VertexElement< 1, SPACE_DIM > Class Template Reference

#include <VertexElement.hpp>

Inherits MutableElement< 1, SPACE_DIM >.

Collaboration diagram for VertexElement< 1, SPACE_DIM >:
Collaboration graph
[legend]

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 
) [inline]

Constructor which takes in a vector of nodes.

Parameters:
index the index of the element in the mesh
rNodes the nodes owned by the element

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

Definition at line 171 of file VertexElement.cpp.


Member Function Documentation

template<unsigned SPACE_DIM>
bool VertexElement< 1, SPACE_DIM >::FaceIsOrientatedClockwise ( unsigned  index  )  const [inline]
Returns:
whether the face with a given index is oriented clockwise.
Parameters:
index the index of the face

Definition at line 189 of file VertexElement.cpp.

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

Definition at line 183 of file VertexElement.cpp.

template<unsigned SPACE_DIM>
unsigned VertexElement< 1, SPACE_DIM >::GetNumFaces (  )  const [inline]
Returns:
the number of faces owned by this element.

Definition at line 177 of file VertexElement.cpp.


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

Generated by  doxygen 1.6.2