Chaste Release::3.1
NonCachedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > Class Template Reference

#include <NonCachedTetrahedralMesh.hpp>

Inheritance diagram for NonCachedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >:
Collaboration diagram for NonCachedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >:

List of all members.

Public Member Functions

void RefreshJacobianCachedData ()
void GetJacobianForElement (unsigned elementIndex, c_matrix< double, SPACE_DIM, SPACE_DIM > &rJacobian, double &rJacobianDeterminant) const
void GetInverseJacobianForElement (unsigned elementIndex, c_matrix< double, SPACE_DIM, ELEMENT_DIM > &rJacobian, double &rJacobianDeterminant, c_matrix< double, ELEMENT_DIM, SPACE_DIM > &rInverseJacobian) const
void GetWeightedDirectionForElement (unsigned elementIndex, c_vector< double, SPACE_DIM > &rWeightedDirection, double &rJacobianDeterminant) const
void GetWeightedDirectionForBoundaryElement (unsigned elementIndex, c_vector< double, SPACE_DIM > &rWeightedDirection, double &rJacobianDeterminant) const

Private Member Functions

template<class Archive >
void serialize (Archive &archive, const unsigned int version)

Friends

class boost::serialization::access

Detailed Description

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

A drop-in replacement for TetrahedralMesh that doesn't cache any jacobian-related data.

It thus provides essentially a serial version of the memory-efficient DistributedTetrahedralMesh, enabling the use of larger meshes on single-processor machines.

Definition at line 53 of file NonCachedTetrahedralMesh.hpp.


Member Function Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void NonCachedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetInverseJacobianForElement ( unsigned  elementIndex,
c_matrix< double, SPACE_DIM, ELEMENT_DIM > &  rJacobian,
double rJacobianDeterminant,
c_matrix< double, ELEMENT_DIM, SPACE_DIM > &  rInverseJacobian 
) const [virtual]

Get the Jacobian matrix, its inverse and its determinant for a given element.

Parameters:
elementIndexindex of the element in the mesh
rJacobianthe Jacobian matrix
rJacobianDeterminantthe determinant of the Jacobian matrix
rInverseJacobianthe inverse Jacobian matrix

Reimplemented from TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.

Definition at line 53 of file NonCachedTetrahedralMesh.cpp.

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void NonCachedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetJacobianForElement ( unsigned  elementIndex,
c_matrix< double, SPACE_DIM, SPACE_DIM > &  rJacobian,
double rJacobianDeterminant 
) const [virtual]

Get the Jacobian matrix and its determinant for a given element.

Parameters:
elementIndexindex of the element in the mesh
rJacobianthe Jacobian matrix
rJacobianDeterminantthe determinant of the Jacobian matrix

Reimplemented from TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.

Definition at line 46 of file NonCachedTetrahedralMesh.cpp.

References EXCEPTION.

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void NonCachedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetWeightedDirectionForBoundaryElement ( unsigned  elementIndex,
c_vector< double, SPACE_DIM > &  rWeightedDirection,
double rJacobianDeterminant 
) const [virtual]

Get the weighted direction and the determinant of the Jacobian for a given boundary element.

Parameters:
elementIndexindex of the element in the mesh
rWeightedDirectionthe weighted direction
rJacobianDeterminantthe determinant of the Jacobian matrix

Reimplemented from TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.

Definition at line 70 of file NonCachedTetrahedralMesh.cpp.

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void NonCachedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetWeightedDirectionForElement ( unsigned  elementIndex,
c_vector< double, SPACE_DIM > &  rWeightedDirection,
double rJacobianDeterminant 
) const [virtual]

Get the weighted direction and the determinant of the Jacobian for a given element.

Parameters:
elementIndexindex of the element in the mesh
rWeightedDirectionthe weighted direction
rJacobianDeterminantthe determinant of the Jacobian matrix

Reimplemented from TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.

Definition at line 63 of file NonCachedTetrahedralMesh.cpp.

References EXCEPTION.

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void NonCachedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::RefreshJacobianCachedData ( ) [virtual]

Reimplemented to do no caching

Reimplemented from TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.

Definition at line 40 of file NonCachedTetrahedralMesh.cpp.

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
template<class Archive >
void NonCachedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::serialize ( Archive &  archive,
const unsigned int  version 
) [inline, private]

Serialize the mesh.

Parameters:
archivethe archive
versionthe current version of this class

Reimplemented from TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.

Definition at line 65 of file NonCachedTetrahedralMesh.hpp.


Friends And Related Function Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
friend class boost::serialization::access [friend]

Needed for serialization.

Reimplemented from TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.

Definition at line 57 of file NonCachedTetrahedralMesh.hpp.


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