std::basic_string< CepsChar > CepsString
C++ format string.
std::vector< _Type, _Alloc > CepsVector
C++ vector.
float CepsReal
Need single precision floating point.
std::shared_ptr< DistributedHaloVector > DHVecPtr
Typedef for pointer on Distributed Halo CepsVector.
Class managing computations from potential to outputs.
A abstract class that regroups common parameters of cardiac problems.
Solves cardiac problems, that all share the same structure.
CepsBool m_stopAtCompleteActivation
stop when all points have activation time computed
ActivationTracker * getActivationTracker() const
Link to activation tracker.
void output(DHVecPtr dummy, CepsBool immediatWriting=true) override
Calls the appropriate post-processing and writing methods.
CepsReal m_postProcessPeriod
Period of post process calculations.
CepsBool m_stopAtCompleteRepolarization
stop when all points have APD computed
void assembleAndSolve() override
Performs one iteration of the solver.
CepsBool m_writeIapp
Flag for additional output.
CardiacProblem * getCardiacProblem() const
Converts own pointer to abstract pde problem to cardiac problem.
void fillSourceTermsVector(CepsReal tn) override
Computes all contributions to source terms (ionic current, stimcurrent, field sources) with a loop on...
virtual ~CardiacSolver()
Destructor.
CepsVector< IonicSolver * > m_ionSolvers
One solver per ionic model in the problem.
void solve() override
Performs all iterations of the PDE solver.
CepsString getResultsLocationMessage() const
To be displayed at the end of computation.
std::set< CepsUInt > m_saveDepolarizationTime
Components of which to save depolarization times.
CepsBool m_writeIIon
Flag for additional output.
CardiacSolver(CardiacProblem *problem)
Constructor with associated PDE problem.
CepsString m_ionSolvOpts
Options for ionic ODE solvers.
ActivationTracker * m_activationTracker
Output computation and writing.
CepsBool finished() const override
Tells if simulation reached end time or, if enabled, all points have seen an AP.