AbstractTetrahedralElement< ELEMENT_DIM, SPACE_DIM > Class Template Reference

#include <AbstractTetrahedralElement.hpp>

Inheritance diagram for AbstractTetrahedralElement< ELEMENT_DIM, SPACE_DIM >:

Inheritance graph
[legend]
Collaboration diagram for AbstractTetrahedralElement< ELEMENT_DIM, SPACE_DIM >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 AbstractTetrahedralElement (unsigned index, const std::vector< Node< SPACE_DIM > * > &rNodes)
 Main constructor.
 AbstractTetrahedralElement (unsigned index=INDEX_IS_NOT_USED)
void ZeroJacobianDeterminant (void)
void ZeroWeightedDirection (void)
c_vector< double, SPACE_DIM > CalculateCentroid () const
void CalculateJacobian (c_matrix< double, SPACE_DIM, SPACE_DIM > &rJacobian, double &rJacobianDeterminant, bool concreteMove=true)
void CalculateWeightedDirection (c_vector< double, SPACE_DIM > &rWeightedDirection, double &rJacobianDeterminant, bool concreteMove=true)
void CalculateInverseJacobian (c_matrix< double, SPACE_DIM, SPACE_DIM > &rJacobian, double &rJacobianDeterminant, c_matrix< double, SPACE_DIM, SPACE_DIM > &rInverseJacobian)
double GetVolume (void)
void GetStiffnessMatrixGlobalIndices (unsigned problemDim, unsigned *pIndices) const

Protected Member Functions

void RefreshJacobian (c_matrix< double, SPACE_DIM, SPACE_DIM > &rJacobian)


Detailed Description

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
class AbstractTetrahedralElement< ELEMENT_DIM, SPACE_DIM >

This class defines an Element for use in the Finite Element Method.

Definition at line 39 of file AbstractTetrahedralElement.hpp.


Constructor & Destructor Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
AbstractTetrahedralElement< ELEMENT_DIM, SPACE_DIM >::AbstractTetrahedralElement ( unsigned  index,
const std::vector< Node< SPACE_DIM > * > &  rNodes 
) [inline]

Main constructor.

Todo:
We don't want to create new data, calculation and throw the answer away

Definition at line 158 of file AbstractTetrahedralElement.hpp.

References AbstractElement< ELEMENT_DIM, SPACE_DIM >::mNodes.

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
AbstractTetrahedralElement< ELEMENT_DIM, SPACE_DIM >::AbstractTetrahedralElement ( unsigned  index = INDEX_IS_NOT_USED  )  [inline]

Default constructor, which doesn't fill in any nodes. The nodes must be added later.

Definition at line 66 of file AbstractTetrahedralElement.hpp.


Member Function Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
double AbstractTetrahedralElement< ELEMENT_DIM, SPACE_DIM >::GetVolume ( void   )  [inline]

Todo:
Re-implement
Get the volume of an element (or area in 2d, or length in 1d)

Todo:
We don't want to create new data, calculation and throw the answer away

Definition at line 104 of file AbstractTetrahedralElement.hpp.

References AbstractElement< ELEMENT_DIM, SPACE_DIM >::mIsDeleted.

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void AbstractTetrahedralElement< ELEMENT_DIM, SPACE_DIM >::GetStiffnessMatrixGlobalIndices ( unsigned  problemDim,
unsigned *  pIndices 
) const [inline]

Place in the pIndices array, the global indices (within the stiffness matrix) of the degrees of freedom associated with this element.

Parameters:
problemDim the problem dimension e.g. 2 for Bidomain.
pIndices where to store results: an unsigned array with ELEMENT_DIM+1 entries.

Definition at line 140 of file AbstractTetrahedralElement.hpp.


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

Generated on Wed Mar 18 12:52:12 2009 for Chaste by  doxygen 1.5.5