Chaste Commit::baa90ac2819b962188b7562f2326be23c47859a7
|
#include <AxisymmetricConductivityTensors.hpp>
Public Member Functions | |
AxisymmetricConductivityTensors () | |
void | SetConstantConductivities (c_vector< double, 3 > constantConductivities) |
void | Init (AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > *pMesh) |
Public Member Functions inherited from AbstractConductivityTensors< ELEMENT_DIM, SPACE_DIM > | |
void | SetFibreOrientationFile (const FileFinder &rFibreOrientationFile) |
void | SetConstantConductivities (c_vector< double, 1 > constantConductivities) |
void | SetConstantConductivities (c_vector< double, 2 > constantConductivities) |
void | SetNonConstantConductivities (std::vector< c_vector< double, SPACE_DIM > > *pNonConstantConductivities) |
c_matrix< double, SPACE_DIM, SPACE_DIM > & | operator[] (const unsigned global_index) |
Additional Inherited Members | |
Protected Attributes inherited from AbstractConductivityTensors< ELEMENT_DIM, SPACE_DIM > | |
AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > * | mpMesh |
bool | mUseNonConstantConductivities |
bool | mUseFibreOrientation |
c_vector< double, SPACE_DIM > | mConstantConductivities |
std::vector< c_vector< double, SPACE_DIM > > * | mpNonConstantConductivities |
std::vector< c_matrix< double, SPACE_DIM, SPACE_DIM > > | mTensors |
bool | mInitialised |
FileFinder | mFibreOrientationFile |
std::shared_ptr< FibreReader< SPACE_DIM > > | mFileReader |
The class is templated over SPACE_DIM to keep compatibility with the abstract class. However axisymmetric conductivity only makes sense in 3D, so we check in the constructor for SPACE_DIM to be 3.
Definition at line 46 of file AxisymmetricConductivityTensors.hpp.
AxisymmetricConductivityTensors< ELEMENT_DIM, SPACE_DIM >::AxisymmetricConductivityTensors | ( | ) |
Constructor
Definition at line 43 of file AxisymmetricConductivityTensors.cpp.
References EXCEPTION.
|
virtual |
Set up the tensors.
See extensive comments within the implementation of this method.
pMesh | a pointer to the mesh on which these tensors are to be used |
Implements AbstractConductivityTensors< ELEMENT_DIM, SPACE_DIM >.
Definition at line 65 of file AxisymmetricConductivityTensors.cpp.
References EXCEPTION.
|
virtual |
Sets constant conductivities for all the elements of the mesh.
constantConductivities | Longitudinal, Transverse (y axis) and Normal conductivity (z axis) |
Reimplemented from AbstractConductivityTensors< ELEMENT_DIM, SPACE_DIM >.
Definition at line 52 of file AxisymmetricConductivityTensors.cpp.
References EXCEPTION.