Chaste Release::3.1
|
#include <NonCachedTetrahedralMesh.hpp>
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 |
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.
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.
elementIndex | index of the element in the mesh |
rJacobian | the Jacobian matrix |
rJacobianDeterminant | the determinant of the Jacobian matrix |
rInverseJacobian | the inverse Jacobian matrix |
Reimplemented from TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.
Definition at line 53 of file NonCachedTetrahedralMesh.cpp.
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.
elementIndex | index of the element in the mesh |
rJacobian | the Jacobian matrix |
rJacobianDeterminant | the determinant of the Jacobian matrix |
Reimplemented from TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.
Definition at line 46 of file NonCachedTetrahedralMesh.cpp.
References EXCEPTION.
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.
elementIndex | index of the element in the mesh |
rWeightedDirection | the weighted direction |
rJacobianDeterminant | the determinant of the Jacobian matrix |
Reimplemented from TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.
Definition at line 70 of file NonCachedTetrahedralMesh.cpp.
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.
elementIndex | index of the element in the mesh |
rWeightedDirection | the weighted direction |
rJacobianDeterminant | the determinant of the Jacobian matrix |
Reimplemented from TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.
Definition at line 63 of file NonCachedTetrahedralMesh.cpp.
References EXCEPTION.
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.
void NonCachedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::serialize | ( | Archive & | archive, |
const unsigned int | version | ||
) | [inline, private] |
Serialize the mesh.
archive | the archive |
version | the current version of this class |
Reimplemented from TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.
Definition at line 65 of file NonCachedTetrahedralMesh.hpp.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.
Definition at line 57 of file NonCachedTetrahedralMesh.hpp.