#include <NonCachedTetrahedralMesh.hpp>
Inherits TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.
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 46 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 [inline, 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 46 of file NonCachedTetrahedralMesh.cpp.
References AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mElements, and TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::SolveElementMapping().
void NonCachedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetJacobianForElement | ( | unsigned | elementIndex, | |
c_matrix< double, SPACE_DIM, SPACE_DIM > & | rJacobian, | |||
double & | rJacobianDeterminant | |||
) | const [inline, 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 39 of file NonCachedTetrahedralMesh.cpp.
References EXCEPTION.
void NonCachedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetWeightedDirectionForBoundaryElement | ( | unsigned | elementIndex, | |
c_vector< double, SPACE_DIM > & | rWeightedDirection, | |||
double & | rJacobianDeterminant | |||
) | const [inline, 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 63 of file NonCachedTetrahedralMesh.cpp.
References AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mBoundaryElements, and TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::SolveBoundaryElementMapping().
void NonCachedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetWeightedDirectionForElement | ( | unsigned | elementIndex, | |
c_vector< double, SPACE_DIM > & | rWeightedDirection, | |||
double & | rJacobianDeterminant | |||
) | const [inline, 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 56 of file NonCachedTetrahedralMesh.cpp.
References EXCEPTION.
void NonCachedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::RefreshJacobianCachedData | ( | ) | [inline, virtual] |
Reimplemented to do no caching
Reimplemented from TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.
Definition at line 33 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 58 of file NonCachedTetrahedralMesh.hpp.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.
Definition at line 50 of file NonCachedTetrahedralMesh.hpp.