DAPTA::Tetra4< V > Class Template Reference

4-node Tetrahedral Element More...

#include <Tetra4.hpp>

List of all members.

Public Types

typedef V VertexType
typedef V * VertexHandle
typedef Tetra4< V > ElementType
typedef Tetra4< V > * ElementHandle
typedef CohElem< Tetra4< V > > CohElementType
typedef CohElementTypeCohElementHandle
typedef Simplex< V, 3 > FaceElementType
typedef FaceElementTypeFaceElementHandle
typedef Simplex< V, 2 > EdgeElementType
typedef EdgeElementTypeEdgeElementHandle
typedef ElementConList ElementConListType
typedef ElementConListTypeElementConListHandle

Public Member Functions

 Tetra4 (VertexHandle v1, VertexHandle v2, VertexHandle v3, VertexHandle v4)
 Tetra4 (boost::array< VertexHandle, num_vertices > nodes)
 Tetra4 ()
 ~Tetra4 ()
int FindVertex (VertexHandle v)
 Returns the index in the vertices vector where v is located.
ElementHandle AdjElement (VertexHandle v)
 Get adjacent element (element referenced by a vertex pointer).
ElementHandle AdjElement (int i)
 get adjacent element (element referenced by a vertex ID)
bool IsBoundaryEdge (VertexHandle v1, VertexHandle v2)
 Find if the given edge is boundary (edge referenced by vertex pointers).
bool IsBoundaryEdge (int v1, int v2)
 Find if the given edge is boundary (edge referenced by vertex IDs).
bool IsBoundaryFace (VertexHandle v)
 Find if the given face is boundary (face referenced by a vertex pointer).
bool IsBoundaryFace (int i)
 Find if the given face is boundary (face referenced by a vertex ID).
ElementHandle NextTetOnEdge (int &v1, int &v2, int &f)
 Helper function to obtain the next element on the given edge (v1->v2) in the direction given by f.
int FaceToVertex (VertexHandle v1, VertexHandle v2, VertexHandle v3)
 Helper function to obtain the vertex ID of the face given by v1 to v3.
int FaceToVertex (int v1, int v2, int v3)
 Helper function to obtain the vertex ID of the face given by v1 to v3.
int FaceToVertex (boost::array< VertexHandle,(num_adjacents-1)> vs)
 Helper function to obtain the vertex ID of the face given by an array of vertices.
void BreakConnection (int f)
void MakeConnection (VertexHandle f, ElementHandle t)
void MakeConnection (int f, ElementHandle t)
FaceElementType GetFace (int ind)
 Return the face given by index, ind.
int GetFaceIndex (FaceElementType face)
 Return the face index given an actual face definition.
EdgeElementType GetEdge (int ind)
 Return the edge given by index, ind.
int GetEdgeIndex (EdgeElementType edge)
 Return the edge index given an actual edge definition.
std::vector< EdgeElementTypeGetEdges (int f)
 Return the edges given by the face, f.
std::vector< EdgeElementTypeGetAllEdges ()
 Return all the edges of the element.
ElementHandle NextOnEdge (int ind)
 Return next element on edge given by index, ind.
ElementHandle PrevOnEdge (int ind)
 Return previous element on edge given by index, ind.
ElementHandle NextOnEdge (EdgeElementType edge)
 Return next element on edge.
ElementHandle PrevOnEdge (EdgeElementType edge)
 Return previous element on edge.
CohElementHandle NextCohOnEdge (int ind)
 Return next cohesive element on edge given by index, ind.
CohElementHandle PrevCohOnEdge (int ind)
 Return previous cohesive element on edge given by index, ind.
VertexHandle GetCentre ()
 Return a the centre of the element (vertex will have it's global ID set to that of the element).

Public Attributes

boost::array< VertexHandle,
num_vertices
vertices
boost::array< ElementHandle,
num_adjacents
adjacents
boost::array< CohElementHandle,
num_adjacents
coh_adjacents
boost::array< ElementConListHandle,
num_edges
con_lists
int globalID

Static Public Attributes

static const int num_vertices = 4
static const int num_adjacents = 4
static const int num_edges = 6
static const std::string deck_keyword
 Keyword found in input/output file for defining this type of element.


Detailed Description

template<typename V>
class DAPTA::Tetra4< V >

4-node Tetrahedral Element

Tetrahedral element using 4 nodes, one at each vertex of the tetrahedron for representation. Faces are referenced by the vertex number they are opposite.

Definition at line 19 of file Tetra4.hpp.


The documentation for this class was generated from the following files:
Generated on Tue May 29 17:13:51 2007 for DAPTA by  doxygen 1.5.1