BidomainPde< SPACE_DIM > Class Template Reference

#include <BidomainPde.hpp>

Inheritance diagram for BidomainPde< SPACE_DIM >:

Inheritance graph
[legend]
Collaboration diagram for BidomainPde< SPACE_DIM >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BidomainPde (AbstractCardiacCellFactory< SPACE_DIM > *pCellFactory)
 BidomainPde (std::vector< AbstractCardiacCell * > &rCellsDistributed)
 ~BidomainPde ()
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)

Private Attributes

AbstractConductivityTensors
< SPACE_DIM > * 
mpExtracellularConductivityTensors
ReplicatableVector mExtracellularStimulusCacheReplicated

Friends

class boost::serialization::access


Detailed Description

template<unsigned SPACE_DIM>
class BidomainPde< SPACE_DIM >

BidomainPde class.

The bidmain equation is of the form:

A_m ( C_m d(V_m)/dt + I_ion ) = div ( sigma_i grad( V_m + phi_e ) ) + I_intra_stim and div ( (sigma_i + sigma_e) grad phi_e + sigma_i (grad V_m) ) + I_extra_stim

where V_m is the trans-membrane potential = phi_i - phi_e (mV), phi_i is the intracellular potential (mV), phi_e is the intracellular potential (mV), and A_m is the surface area to volume ratio of the cell membrane (1/cm), C_m is the membrane capacitance (uF/cm^2), sigma_i is the intracellular conductivity tensor (mS/cm), sigma_e is the intracellular conductivity tensor (mS/cm), and I_ion is the ionic current (uA/cm^2), I_intra_stim is the internal stimulus (uA/cm^3), I_extra_stim is the external stimulus (uA/cm^3).

Note: I_extra_stim can only be zero now. An extracellular stimulus can be applied as a boundary condition, in which case the units are uA/cm^2.

Definition at line 69 of file BidomainPde.hpp.


Constructor & Destructor Documentation

template<unsigned SPACE_DIM>
BidomainPde< SPACE_DIM >::BidomainPde ( AbstractCardiacCellFactory< SPACE_DIM > *  pCellFactory  )  [inline]

template<unsigned SPACE_DIM>
BidomainPde< SPACE_DIM >::BidomainPde ( std::vector< AbstractCardiacCell * > &  rCellsDistributed  )  [inline]

Archiving constructor

Parameters:
rCellsDistributed local cell models (recovered from archive)

Definition at line 117 of file BidomainPde.cpp.

References BidomainPde< SPACE_DIM >::mpExtracellularConductivityTensors.

template<unsigned SPACE_DIM>
BidomainPde< SPACE_DIM >::~BidomainPde (  )  [inline]

Destructor

Todo:
: #98 once the archiving constructor is creating the conductivity tensors properly we won't need this if statement

Definition at line 125 of file BidomainPde.cpp.

References BidomainPde< SPACE_DIM >::mpExtracellularConductivityTensors.


Member Function Documentation

template<unsigned SPACE_DIM>
template<class Archive>
void BidomainPde< SPACE_DIM >::serialize ( Archive &  archive,
const unsigned int  version 
) [inline, private]

Archive the member variables.

Parameters:
archive 
version 

Reimplemented from AbstractCardiacPde< SPACE_DIM >.

Definition at line 82 of file BidomainPde.hpp.

template<unsigned SPACE_DIM>
const c_matrix< double, SPACE_DIM, SPACE_DIM > & BidomainPde< SPACE_DIM >::rGetExtracellularConductivityTensor ( unsigned  elementIndex  )  [inline]

Get the extracellular conductivity tensor for the given element

Parameters:
elementIndex index of the element of interest

Definition at line 136 of file BidomainPde.cpp.

References BidomainPde< SPACE_DIM >::mpExtracellularConductivityTensors.


Friends And Related Function Documentation

template<unsigned SPACE_DIM>
friend class boost::serialization::access [friend]

Needed for serialization.

Reimplemented from AbstractCardiacPde< SPACE_DIM >.

Definition at line 74 of file BidomainPde.hpp.


Member Data Documentation

template<unsigned SPACE_DIM>
AbstractConductivityTensors<SPACE_DIM>* BidomainPde< SPACE_DIM >::mpExtracellularConductivityTensors [private]

template<unsigned SPACE_DIM>
ReplicatableVector BidomainPde< SPACE_DIM >::mExtracellularStimulusCacheReplicated [private]

Cache containing all the stimulus currents for each node, replicated over all processes.

Definition at line 94 of file BidomainPde.hpp.

Referenced by BidomainPde< SPACE_DIM >::BidomainPde().


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

Generated on Tue Aug 4 16:10:54 2009 for Chaste by  doxygen 1.5.5