Chaste Release::3.1
|
#include <MonodomainProblem.hpp>
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 |
Class which specifies and solves a monodomain problem.
Definition at line 54 of file MonodomainProblem.hpp.
MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::MonodomainProblem | ( | AbstractCardiacCellFactory< ELEMENT_DIM, SPACE_DIM > * | pCellFactory | ) |
Constructor
pCellFactory | User defined cell factory which shows how the pde should create cells. |
Definition at line 82 of file MonodomainProblem.cpp.
MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::MonodomainProblem | ( | ) |
Constructor just used for archiving
Definition at line 89 of file MonodomainProblem.cpp.
MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::~MonodomainProblem | ( | ) |
Destructor
Definition at line 96 of file MonodomainProblem.cpp.
AbstractCardiacTissue< ELEMENT_DIM, SPACE_DIM > * MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::CreateCardiacTissue | ( | ) | [virtual] |
Create our monodomain tissue.
Implements AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >.
Definition at line 45 of file MonodomainProblem.cpp.
References HeartConfig::GetUseStateVariableInterpolation(), and HeartConfig::Instance().
AbstractDynamicLinearPdeSolver< ELEMENT_DIM, SPACE_DIM, 1 > * MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::CreateSolver | ( | ) | [virtual] |
Create an suitable solver for monodomain problems.
Implements AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >.
Definition at line 52 of file MonodomainProblem.cpp.
References HeartConfig::Instance().
void MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::DefineWriterColumns | ( | bool | extending | ) | [virtual] |
Define what variables are written to the primary results file.
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().
MonodomainTissue< ELEMENT_DIM, SPACE_DIM > * MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::GetMonodomainTissue | ( | ) |
Get the monodomain PDE
Definition at line 101 of file MonodomainProblem.cpp.
void MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::serialize | ( | Archive & | archive, |
const unsigned int | version | ||
) | [inline, private] |
Archive the member variables.
archive | |
version |
Definition at line 65 of file MonodomainProblem.hpp.
References MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::mpMonodomainTissue.
void MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::WriteInfo | ( | double | time | ) | [virtual] |
Print out time and max/min voltage values at current time.
time | the current time |
Implements AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >.
Definition at line 108 of file MonodomainProblem.cpp.
References PetscTools::AmMaster().
void MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::WriteOneStep | ( | double | time, |
Vec | voltageVec | ||
) | [virtual] |
Write one timestep of output data to the primary results file. Adds the extracellular potential to the results.
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, PROBLEM_DIM >::WriteExtraVariablesOneStep().
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >.
Definition at line 57 of file MonodomainProblem.hpp.
MonodomainTissue<ELEMENT_DIM,SPACE_DIM>* MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::mpMonodomainTissue [protected] |
The monodomain tissue object.
Definition at line 73 of file MonodomainProblem.hpp.
Referenced by MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::serialize().