Chaste Commit::f2ff7ee04e70ac9d06c57344df8d017dbb12b97b
OrthotropicConductivityTensors< ELEMENT_DIM, SPACE_DIM > Class Template Reference

#include <OrthotropicConductivityTensors.hpp>

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

Public Member Functions

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)
 
virtual void SetConstantConductivities (c_vector< double, 3 > 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 OrthotropicConductivityTensors< ELEMENT_DIM, SPACE_DIM >

This class provides an abstraction for the definition of constant/non-constant diffusion tensors associated to the different elements of the mesh.

After instantiating the class any of SetFibreOrientationFile() or SetNonConstantConductivities() (or both) can be called to implement fibre orientation or heterogeneous conductivity into the tensors, respectively. If none of them is called a constant tensor (with constant conductivities) will be generated for all the elements of the mesh.

Init() should be called to actually create the tensors.

Initial values for conductivity from "Laminar Arrangement of Ventricular Myocytes Influences Electrical Behavior of the Heart", Hooks et al. 2007

Definition at line 60 of file OrthotropicConductivityTensors.hpp.

Member Function Documentation

◆ Init()

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

Computes the tensors based in all the info set

Parameters
pMesha pointer to the mesh on which these tensors are to be used

Implements AbstractConductivityTensors< ELEMENT_DIM, SPACE_DIM >.

Definition at line 40 of file OrthotropicConductivityTensors.cpp.

References EXCEPTION.


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