#include <BidomainTissue.hpp>
Public Member Functions | |
BidomainTissue (AbstractCardiacCellFactory< SPACE_DIM > *pCellFactory) | |
BidomainTissue (std::vector< AbstractCardiacCell * > &rCellsDistributed, AbstractTetrahedralMesh< SPACE_DIM, SPACE_DIM > *pMesh) | |
~BidomainTissue () | |
const c_matrix< double, SPACE_DIM, SPACE_DIM > & | rGetExtracellularConductivityTensor (unsigned elementIndex) |
Private Member Functions | |
template<class Archive> | |
void | serialize (Archive &archive, const unsigned int version) |
void | CreateExtracellularConductivityTensors () |
Private Attributes | |
AbstractConductivityTensors < SPACE_DIM, SPACE_DIM > * | mpExtracellularConductivityTensors |
Friends | |
class | TestBidomainTissue |
class | boost::serialization::access |
See documentation for AbstractCardiacTissue. This class also has extracellular conductivity tensors.
Definition at line 53 of file BidomainTissue.hpp.
BidomainTissue< SPACE_DIM >::BidomainTissue | ( | AbstractCardiacCellFactory< SPACE_DIM > * | pCellFactory | ) | [inline] |
Constructor sets up extracellular conductivity tensors.
pCellFactory | factory to pass on to the base class constructor |
Definition at line 38 of file BidomainTissue.cpp.
References BidomainTissue< SPACE_DIM >::CreateExtracellularConductivityTensors().
BidomainTissue< SPACE_DIM >::BidomainTissue | ( | std::vector< AbstractCardiacCell * > & | rCellsDistributed, | |
AbstractTetrahedralMesh< SPACE_DIM, SPACE_DIM > * | pMesh | |||
) | [inline] |
Archiving constructor
rCellsDistributed | local cell models (recovered from archive) | |
pMesh | a pointer to the AbstractTetrahedral mesh (recovered from archive). |
Definition at line 46 of file BidomainTissue.cpp.
References BidomainTissue< SPACE_DIM >::CreateExtracellularConductivityTensors().
BidomainTissue< SPACE_DIM >::~BidomainTissue | ( | ) | [inline] |
Destructor
Definition at line 160 of file BidomainTissue.cpp.
References BidomainTissue< SPACE_DIM >::mpExtracellularConductivityTensors.
void BidomainTissue< SPACE_DIM >::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Archive the member variables.
archive | ||
version |
Definition at line 67 of file BidomainTissue.hpp.
void BidomainTissue< SPACE_DIM >::CreateExtracellularConductivityTensors | ( | ) | [inline, private] |
Convenience method for extracellular conductivity tensors creation
Definition at line 53 of file BidomainTissue.cpp.
References RelativeTo::AbsoluteOrCwd, FileFinder::Exists(), HeartConfig::GetConductivityHeterogeneities(), HeartConfig::GetConductivityHeterogeneitiesProvided(), HeartConfig::GetConductivityMedia(), HeartConfig::GetExtracellularConductivities(), HeartConfig::GetLoadMesh(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetNumLocalElements(), AbstractConductivityTensors< ELEMENT_DIM, SPACE_DIM >::Init(), HeartConfig::Instance(), HeartConfig::IsMeshProvided(), AbstractCardiacTissue< SPACE_DIM >::mFibreFilePathNoExtension, AbstractCardiacTissue< SPACE_DIM >::mpConfig, BidomainTissue< SPACE_DIM >::mpExtracellularConductivityTensors, AbstractCardiacTissue< SPACE_DIM >::mpMesh, NEVER_REACHED, PetscTools::ReplicateException(), AbstractConductivityTensors< ELEMENT_DIM, SPACE_DIM >::SetConstantConductivities(), AbstractConductivityTensors< ELEMENT_DIM, SPACE_DIM >::SetFibreOrientationFile(), and AbstractConductivityTensors< ELEMENT_DIM, SPACE_DIM >::SetNonConstantConductivities().
Referenced by BidomainTissue< SPACE_DIM >::BidomainTissue().
const c_matrix< double, SPACE_DIM, SPACE_DIM > & BidomainTissue< SPACE_DIM >::rGetExtracellularConductivityTensor | ( | unsigned | elementIndex | ) | [inline] |
Get the extracellular conductivity tensor for the given element
elementIndex | index of the element of interest |
Definition at line 170 of file BidomainTissue.cpp.
References BidomainTissue< SPACE_DIM >::mpExtracellularConductivityTensors.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractCardiacTissue< SPACE_DIM >.
Definition at line 59 of file BidomainTissue.hpp.
AbstractConductivityTensors<SPACE_DIM,SPACE_DIM>* BidomainTissue< SPACE_DIM >::mpExtracellularConductivityTensors [private] |
Extracellular conductivity tensors.
Definition at line 74 of file BidomainTissue.hpp.
Referenced by BidomainTissue< SPACE_DIM >::CreateExtracellularConductivityTensors(), BidomainTissue< SPACE_DIM >::rGetExtracellularConductivityTensor(), and BidomainTissue< SPACE_DIM >::~BidomainTissue().