Chaste Commit::1fd4e48e3990e67db148bc1bc4cf6991a0049d0c
AxisymmetricConductivityTensors< ELEMENT_DIM, SPACE_DIM > Class Template Reference

#include <AxisymmetricConductivityTensors.hpp>

+ Inheritance diagram for AxisymmetricConductivityTensors< ELEMENT_DIM, SPACE_DIM >:
+ Collaboration diagram for AxisymmetricConductivityTensors< ELEMENT_DIM, SPACE_DIM >:

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
 

Detailed Description

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

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.

Constructor & Destructor Documentation

◆ AxisymmetricConductivityTensors()

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
AxisymmetricConductivityTensors< ELEMENT_DIM, SPACE_DIM >::AxisymmetricConductivityTensors ( )

Constructor

Definition at line 43 of file AxisymmetricConductivityTensors.cpp.

References EXCEPTION.

Member Function Documentation

◆ Init()

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void AxisymmetricConductivityTensors< ELEMENT_DIM, SPACE_DIM >::Init ( AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > *  pMesh)
virtual

Set up the tensors.

See extensive comments within the implementation of this method.

Parameters
pMesha 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.

◆ SetConstantConductivities()

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void AxisymmetricConductivityTensors< ELEMENT_DIM, SPACE_DIM >::SetConstantConductivities ( c_vector< double, 3 >  constantConductivities)
virtual

Sets constant conductivities for all the elements of the mesh.

Parameters
constantConductivitiesLongitudinal, 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.


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