#include <MonodomainProblem.hpp>
Inherits AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >.
Public Member Functions | |
AbstractCardiacPde < ELEMENT_DIM, SPACE_DIM > * | CreateCardiacPde () |
AbstractDynamicAssemblerMixin < ELEMENT_DIM, SPACE_DIM, 1 > * | CreateAssembler () |
MonodomainProblem (AbstractCardiacCellFactory< ELEMENT_DIM, SPACE_DIM > *pCellFactory) | |
MonodomainProblem () | |
~MonodomainProblem () | |
MonodomainPde< ELEMENT_DIM, SPACE_DIM > * | GetMonodomainPde () |
void | WriteInfo (double time) |
virtual void | DefineWriterColumns (bool extending) |
virtual void | WriteOneStep (double time, Vec voltageVec) |
Protected Attributes | |
MonodomainPde< ELEMENT_DIM, SPACE_DIM > * | mpMonodomainPde |
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 47 of file MonodomainProblem.hpp.
MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::MonodomainProblem | ( | AbstractCardiacCellFactory< ELEMENT_DIM, SPACE_DIM > * | pCellFactory | ) | [inline] |
Constructor
pCellFactory | User defined cell factory which shows how the pde should create cells. |
Definition at line 77 of file MonodomainProblem.cpp.
MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::MonodomainProblem | ( | ) | [inline] |
Constructor just used for archiving
Definition at line 84 of file MonodomainProblem.cpp.
MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::~MonodomainProblem | ( | ) | [inline] |
Destructor
Definition at line 91 of file MonodomainProblem.cpp.
AbstractDynamicAssemblerMixin< ELEMENT_DIM, SPACE_DIM, 1 > * MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::CreateAssembler | ( | ) | [inline, virtual] |
Create an suitable assembler for monodomain problems
Implements AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >.
Definition at line 44 of file MonodomainProblem.cpp.
References AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >::mpBoundaryConditionsContainer, AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >::mpMesh, MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::mpMonodomainPde, and AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >::mUseMatrixBasedRhsAssembly.
Referenced by CardiacElectroMechanicsProblem< DIM >::Solve().
AbstractCardiacPde< ELEMENT_DIM, SPACE_DIM > * MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::CreateCardiacPde | ( | ) | [inline, virtual] |
Create our monodomain PDE
Implements AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >.
Definition at line 37 of file MonodomainProblem.cpp.
References AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >::mpCellFactory, and MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::mpMonodomainPde.
void MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::DefineWriterColumns | ( | bool | extending | ) | [inline, 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 122 of file MonodomainProblem.cpp.
References AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >::DefineExtraVariablesWriterColumns().
MonodomainPde< ELEMENT_DIM, SPACE_DIM > * MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::GetMonodomainPde | ( | ) | [inline] |
Get the monodomain PDE
Definition at line 96 of file MonodomainProblem.cpp.
References MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::mpMonodomainPde.
void MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Archive the member variables.
archive | ||
version |
Definition at line 58 of file MonodomainProblem.hpp.
void MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::WriteInfo | ( | double | time | ) | [inline, 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 103 of file MonodomainProblem.cpp.
References PetscTools::AmMaster(), and AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >::mSolution.
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.
time | the current time | |
voltageVec | the solution vector to write |
Implements AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 1 >.
Definition at line 129 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, 1 >::WriteExtraVariablesOneStep().
Referenced by CardiacElectroMechanicsProblem< DIM >::Solve().
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.
MonodomainPde<ELEMENT_DIM,SPACE_DIM>* MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::mpMonodomainPde [protected] |
The monodomain PDE object
Definition at line 66 of file MonodomainProblem.hpp.
Referenced by MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::CreateAssembler(), MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::CreateCardiacPde(), MonodomainProblem< ELEMENT_DIM, SPACE_DIM >::GetMonodomainPde(), and MonodomainProblem< DIM >::serialize().