Chaste Commit::1fd4e48e3990e67db148bc1bc4cf6991a0049d0c
|
#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, PROBLEM_DIM >.
Definition at line 43 of file MonodomainPurkinjeProblem.cpp.
References HeartConfig::Instance().
|
protectedvirtual |
Overridden method which creates initial condition using Purkinje initial voltages as well.
Reimplemented from AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >.
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 |
Create suitable (MixedDimensionMesh) mesh for monodomain problems with Purkinje.
Reimplemented from AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >.
Definition at line 63 of file MonodomainPurkinjeProblem.cpp.
References HeartConfig::Instance().
|
protectedvirtual |
Implements AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >.
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, PROBLEM_DIM >.
Definition at line 153 of file MonodomainPurkinjeProblem.cpp.
References AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::DefineExtraVariablesWriterColumns(), and AbstractCardiacProblem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::DefineWriterColumns().
|
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, PROBLEM_DIM >.
Definition at line 116 of file MonodomainPurkinjeProblem.cpp.
References PetscTools::AmMaster(), and CHASTE_PETSC_NULLPTR.
|
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, PROBLEM_DIM >.
Definition at line 169 of file MonodomainPurkinjeProblem.cpp.
References 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.