MonodomainProblem< ELEMENT_DIM, SPACE_DIM > Class Template Reference

#include <MonodomainProblem.hpp>

Inheritance diagram for MonodomainProblem< ELEMENT_DIM, SPACE_DIM >:

Inheritance graph
[legend]
Collaboration diagram for MonodomainProblem< ELEMENT_DIM, SPACE_DIM >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

AbstractCardiacTissue
< ELEMENT_DIM, SPACE_DIM > * 
CreateCardiacTissue ()
AbstractDynamicLinearPdeSolver
< ELEMENT_DIM, SPACE_DIM, 1 > * 
CreateSolver ()
 MonodomainProblem (AbstractCardiacCellFactory< ELEMENT_DIM, SPACE_DIM > *pCellFactory)
 MonodomainProblem ()
 ~MonodomainProblem ()
MonodomainTissue< ELEMENT_DIM,
SPACE_DIM > * 
GetMonodomainTissue ()
void WriteInfo (double time)
virtual void DefineWriterColumns (bool extending)
virtual void WriteOneStep (double time, Vec voltageVec)

Protected Attributes

MonodomainTissue< ELEMENT_DIM,
SPACE_DIM > * 
mpMonodomainTissue

Private Member Functions

template<class Archive>
void serialize (Archive &archive, const unsigned int version)

Friends

class boost::serialization::access


Detailed Description

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM = ELEMENT_DIM>
class MonodomainProblem< ELEMENT_DIM, SPACE_DIM >

Class which specifies and solves a monodomain problem.

Definition at line 47 of file MonodomainProblem.hpp.


Constructor & Destructor Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::MonodomainProblem ( AbstractCardiacCellFactory< ELEMENT_DIM, SPACE_DIM > *  pCellFactory  )  [inline]

Constructor

Parameters:
pCellFactory User defined cell factory which shows how the pde should create cells.

Definition at line 82 of file MonodomainProblem.cpp.

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::MonodomainProblem (  )  [inline]

Constructor just used for archiving

Definition at line 89 of file MonodomainProblem.cpp.

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::~MonodomainProblem (  )  [inline]

Destructor

Definition at line 96 of file MonodomainProblem.cpp.


Member Function Documentation

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

Archive the member variables.

Parameters:
archive 
version 

Definition at line 58 of file MonodomainProblem.hpp.

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
AbstractCardiacTissue< ELEMENT_DIM, SPACE_DIM > * MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::CreateCardiacTissue (  )  [inline, virtual]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
AbstractDynamicLinearPdeSolver< ELEMENT_DIM, SPACE_DIM, 1 > * MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::CreateSolver (  )  [inline, virtual]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
MonodomainTissue< ELEMENT_DIM, SPACE_DIM > * MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::GetMonodomainTissue (  )  [inline]

Get the monodomain PDE

Definition at line 101 of file MonodomainProblem.cpp.

References MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::mpMonodomainTissue.

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::WriteInfo ( double  time  )  [inline, virtual]

Print out time and max/min voltage values at current time.

Parameters:
time the current time

Implements AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >.

Definition at line 108 of file MonodomainProblem.cpp.

References PetscTools::AmMaster(), and AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >::mSolution.

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::DefineWriterColumns ( bool  extending  )  [inline, virtual]

Define what variables are written to the primary results file.

Parameters:
extending whether we are extending an existing results file

Reimplemented from AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >.

Definition at line 127 of file MonodomainProblem.cpp.

References AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::DefineExtraVariablesWriterColumns(), and AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::DefineWriterColumns().

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::WriteOneStep ( double  time,
Vec  voltageVec 
) [inline, virtual]

Write one timestep of output data to the primary results file. Adds the extracellular potential to the results.

Parameters:
time the current time
voltageVec the solution vector to write

Implements AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >.

Definition at line 134 of file MonodomainProblem.cpp.

References AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >::mpWriter, AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >::mVoltageColumnId, Hdf5DataWriter::PutUnlimitedVariable(), Hdf5DataWriter::PutVector(), and AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::WriteExtraVariablesOneStep().

Referenced by CardiacElectroMechanicsProblem< DIM >::Solve().


Friends And Related Function Documentation

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

Needed for serialization.

Reimplemented from AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >.

Definition at line 50 of file MonodomainProblem.hpp.


Member Data Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM = ELEMENT_DIM>
MonodomainTissue<ELEMENT_DIM,SPACE_DIM>* MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::mpMonodomainTissue [protected]


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

Generated on Mon Nov 1 12:37:04 2010 for Chaste by  doxygen 1.5.5