#include <AbstractConductivityModifier.hpp>

Public Member Functions | |
| virtual | ~AbstractConductivityModifier () |
| c_matrix< double, SPACE_DIM, SPACE_DIM > & | rGetModifiedConductivityTensor (unsigned elementIndex, const c_matrix< double, SPACE_DIM, SPACE_DIM > &rOriginalConductivity, unsigned domainIndex) |
| virtual c_matrix< double, SPACE_DIM, SPACE_DIM > & | rCalculateModifiedConductivityTensor (unsigned elementIndex, const c_matrix< double, SPACE_DIM, SPACE_DIM > &rOriginalConductivity, unsigned domainIndex)=0 |
Private Attributes | |
| std::vector< std::pair < unsigned, c_matrix< double, SPACE_DIM, SPACE_DIM > > > | mCache |
Abstract class which just defines an interface and caching method. The pure method rCalculateModifiedConductivityTensor() should take in a conductivity and return a modified conductivity (for example, dependent on current deformation, etc.)
Definition at line 47 of file AbstractConductivityModifier.hpp.
| virtual AbstractConductivityModifier< ELEMENT_DIM, SPACE_DIM >::~AbstractConductivityModifier | ( | ) | [inline, virtual] |
Destructor
Definition at line 55 of file AbstractConductivityModifier.hpp.
| virtual c_matrix<double,SPACE_DIM,SPACE_DIM>& AbstractConductivityModifier< ELEMENT_DIM, SPACE_DIM >::rCalculateModifiedConductivityTensor | ( | unsigned | elementIndex, | |
| const c_matrix< double, SPACE_DIM, SPACE_DIM > & | rOriginalConductivity, | |||
| unsigned | domainIndex | |||
| ) | [pure virtual] |
Pure method that alters the given conductivity tensor on an element-wise basis for a particular domain.
| elementIndex | Global index of current element. | |
| rOriginalConductivity | Reference to the original (for example, undeformed) conductivity tensor. | |
| domainIndex | The index of the domain (0=intracellular, 1=extracellular, [2=second intracellular in extended bidomain]). |
Referenced by AbstractConductivityModifier< DIM, DIM >::rGetModifiedConductivityTensor().
| c_matrix<double,SPACE_DIM,SPACE_DIM>& AbstractConductivityModifier< ELEMENT_DIM, SPACE_DIM >::rGetModifiedConductivityTensor | ( | unsigned | elementIndex, | |
| const c_matrix< double, SPACE_DIM, SPACE_DIM > & | rOriginalConductivity, | |||
| unsigned | domainIndex | |||
| ) | [inline] |
Method that checks element index and the domain (intra/extra/other) and returns cached value if available.
| elementIndex | Index of current element | |
| rOriginalConductivity | Reference to the original (for example, undeformed) conductivity tensor | |
| domainIndex | Used to tailor modification to the domain. 0 = intracellular, 1 = extracellular, 2 = second intracellular (tridomain) |
Definition at line 65 of file AbstractConductivityModifier.hpp.
Referenced by ExtendedBidomainTissue< SPACE_DIM >::rGetExtracellularConductivityTensor(), BidomainTissue< SPACE_DIM >::rGetExtracellularConductivityTensor(), and ExtendedBidomainTissue< SPACE_DIM >::rGetIntracellularConductivityTensorSecondCell().
std::vector<std::pair<unsigned, c_matrix<double,SPACE_DIM,SPACE_DIM> > > AbstractConductivityModifier< ELEMENT_DIM, SPACE_DIM >::mCache [private] |
Cache recently-seen elementindex-tensor pairs, one per "domain"
Definition at line 51 of file AbstractConductivityModifier.hpp.
Referenced by AbstractConductivityModifier< DIM, DIM >::rGetModifiedConductivityTensor().
1.6.2