Chaste Commit::ca8ccdedf819b6e02855bc0e8e6f50bdecbc5208
PdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM > Class Template Reference

#include <PdeConvergenceTester.hpp>

+ Inheritance diagram for PdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >:
+ Collaboration diagram for PdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >:

Public Member Functions

void SetInitialConvergenceParameters ()
 
void UpdateConvergenceParameters ()
 
bool GiveUpConvergence ()
 
double Abscissa ()
 
- Public Member Functions inherited from AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >
void Converge (std::string nameOfTest)
 
void DisplayRun ()
 
virtual void PopulateStandardResult (std::vector< double > &result, std::vector< double > &times)
 
bool IsConverged ()
 
void SetMeshWidth (double meshWidth)
 

Additional Inherited Members

- Public Attributes inherited from AbstractUntemplatedConvergenceTester
double OdeTimeStep
 
double PdeTimeStep
 
unsigned MeshNum
 
double RelativeConvergenceCriterion
 
double LastDifference
 
double Apd90FirstQn
 
double Apd90ThirdQn
 
double ConductionVelocity
 
bool PopulatedResult
 
bool FixedResult
 
double AbsoluteStimulus
 
bool SimulateFullActionPotential
 
bool Converged
 
StimulusType Stimulus
 
double NeumannStimulus
 
- Protected Attributes inherited from AbstractUntemplatedConvergenceTester
double mMeshWidth
 

Detailed Description

template<class CELL, class CARDIAC_PROBLEM, unsigned DIM, unsigned PROBLEM_DIM>
class PdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >

Drop the PDE time-step until a convergence criterion is met

Definition at line 45 of file PdeConvergenceTester.hpp.

Member Function Documentation

◆ Abscissa()

template<class CELL , class CARDIAC_PROBLEM , unsigned DIM, unsigned PROBLEM_DIM>
double PdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Abscissa ( )
inlinevirtual

◆ GiveUpConvergence()

template<class CELL , class CARDIAC_PROBLEM , unsigned DIM, unsigned PROBLEM_DIM>
bool PdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::GiveUpConvergence ( )
inlinevirtual
Returns
true to give up convergence when the PdeTimeStep>=OdeTimeStep requirement is violated. This gives us the option to run with various (reasonable) OdeTimeStep parameters.

Implements AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >.

Definition at line 69 of file PdeConvergenceTester.hpp.

References AbstractUntemplatedConvergenceTester::OdeTimeStep.

◆ SetInitialConvergenceParameters()

template<class CELL , class CARDIAC_PROBLEM , unsigned DIM, unsigned PROBLEM_DIM>
void PdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::SetInitialConvergenceParameters ( )
inlinevirtual

The Pde time-step is setup. Note that the Ode time-step is set low, so that it won't need to be altered again. We are assuming that the convergence criterion will be met before PdeTimeStep<OdeTimeStep.

Implements AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >.

Definition at line 52 of file PdeConvergenceTester.hpp.

References AbstractUntemplatedConvergenceTester::OdeTimeStep, and AbstractUntemplatedConvergenceTester::PdeTimeStep.

◆ UpdateConvergenceParameters()

template<class CELL , class CARDIAC_PROBLEM , unsigned DIM, unsigned PROBLEM_DIM>
void PdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::UpdateConvergenceParameters ( )
inlinevirtual

The documentation for this class was generated from the following file: