Chaste
Release::2017.1
|
#include <MonodomainPurkinjeProblem.hpp>
Protected Member Functions | |
AbstractCardiacTissue< ELEMENT_DIM, SPACE_DIM > * | CreateCardiacTissue () |
AbstractDynamicLinearPdeSolver< ELEMENT_DIM, SPACE_DIM, 2 > * | CreateSolver () |
virtual void | CreateMeshFromHeartConfig () |
Vec | CreateInitialCondition () |
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 with Purkinje fibres.
Definition at line 51 of file MonodomainPurkinjeProblem.hpp.
MonodomainPurkinjeProblem< ELEMENT_DIM, SPACE_DIM >::MonodomainPurkinjeProblem | ( | AbstractPurkinjeCellFactory< ELEMENT_DIM, SPACE_DIM > * | pCellFactory | ) |
Constructor
pCellFactory | user defined cell factory which shows how the tissue should create cells. |
Definition at line 93 of file MonodomainPurkinjeProblem.cpp.
MonodomainPurkinjeProblem< ELEMENT_DIM, SPACE_DIM >::MonodomainPurkinjeProblem | ( | ) |
Constructor just used for archiving
Definition at line 102 of file MonodomainPurkinjeProblem.cpp.
|
virtual |
Destructor
Definition at line 110 of file MonodomainPurkinjeProblem.cpp.
|
protectedvirtual |
Implements AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 2 >.
Definition at line 43 of file MonodomainPurkinjeProblem.cpp.
References HeartConfig::GetUseStateVariableInterpolation(), and HeartConfig::Instance().
|
protectedvirtual |
Overridden method which creates initial condition using Purkinje initial voltages as well.
Reimplemented from AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 2 >.
Definition at line 70 of file MonodomainPurkinjeProblem.cpp.
References DistributedVector::Begin(), AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::CreateInitialCondition(), DistributedVector::End(), and DistributedVector::Restore().
|
protectedvirtual |
Reimplemented from AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 2 >.
Definition at line 63 of file MonodomainPurkinjeProblem.cpp.
References HeartConfig::GetMeshPartitioning(), and HeartConfig::Instance().
|
protectedvirtual |
Implements AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 2 >.
Definition at line 50 of file MonodomainPurkinjeProblem.cpp.
References EXCEPT_IF_NOT, and HeartConfig::Instance().
|
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, 2 >.
Definition at line 153 of file MonodomainPurkinjeProblem.cpp.
References AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::DefineExtraVariablesWriterColumns(), Hdf5DataWriter::DefineVariable(), AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::DefineWriterColumns(), Hdf5DataWriter::GetVariableByName(), MonodomainPurkinjeProblem< ELEMENT_DIM, SPACE_DIM >::mPurkinjeVoltageColumnId, and AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 2 >::mpWriter.
|
inlineprivate |
Archive the member variables.
archive | |
version |
Definition at line 63 of file MonodomainPurkinjeProblem.hpp.
References NEVER_REACHED.
|
virtual |
Print out time and max/min voltage values at current time.
time | the current time |
Implements AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 2 >.
Definition at line 116 of file MonodomainPurkinjeProblem.cpp.
References PetscTools::AmMaster(), and AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 2 >::mSolution.
|
virtual |
Write one timestep of output data to the primary results file. Adds the Purkinje transmembrane potential to the results.
time | the current time |
voltageVec | the solution vector to write |
Implements AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 2 >.
Definition at line 169 of file MonodomainPurkinjeProblem.cpp.
References EXPORT_TEMPLATE_CLASS2, MonodomainPurkinjeProblem< ELEMENT_DIM, SPACE_DIM >::mPurkinjeVoltageColumnId, AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 2 >::mpWriter, AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, 2 >::mVoltageColumnId, Hdf5DataWriter::PutStripedVector(), Hdf5DataWriter::PutUnlimitedVariable(), and AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::WriteExtraVariablesOneStep().
|
friend |
Needed for serialization.
Definition at line 55 of file MonodomainPurkinjeProblem.hpp.
|
protected |
Used by the writer.
Definition at line 75 of file MonodomainPurkinjeProblem.hpp.
Referenced by MonodomainPurkinjeProblem< ELEMENT_DIM, SPACE_DIM >::DefineWriterColumns(), and MonodomainPurkinjeProblem< ELEMENT_DIM, SPACE_DIM >::WriteOneStep().