#include <AbstractConvergenceTester.hpp>
Public Member Functions | |
virtual void | Converge (std::string nameOfTest)=0 |
Public Attributes | |
double | OdeTimeStep |
double | PdeTimeStep |
unsigned | MeshNum |
double | RelativeConvergenceCriterion |
double | LastDifference |
double | Apd90FirstQn |
double | Apd90ThirdQn |
double | ConductionVelocity |
bool | PopulatedResult |
bool | FixedResult |
bool | UseAbsoluteStimulus |
double | AbsoluteStimulus |
bool | SimulateFullActionPotential |
bool | Converged |
StimulusType | Stimulus |
double | NeumannStimulus |
Protected Attributes | |
double | mMeshWidth |
Definition at line 136 of file AbstractConvergenceTester.hpp.
virtual void AbstractUntemplatedConvergenceTester::Converge | ( | std::string | nameOfTest | ) | [pure virtual] |
Run the same test at different levels of refinement until some convergence criterion is met.
nameOfTest | The name of the convergence test (typically the name in the suite) for use in naming files. |
Implemented in AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >.
double AbstractUntemplatedConvergenceTester::mMeshWidth [protected] |
Mesh width (for cuboid mesh)
Definition at line 140 of file AbstractConvergenceTester.hpp.
Referenced by SpaceConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Abscissa(), AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge(), AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::DisplayRun(), SpaceConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::GetSpaceStep(), and AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::SetMeshWidth().
OdeTimeStep to be varied in OdeConvergenceTester etc
Definition at line 143 of file AbstractConvergenceTester.hpp.
Referenced by OdePdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Abscissa(), OdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Abscissa(), AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge(), AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::DisplayRun(), PdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::GiveUpConvergence(), OdePdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::GiveUpConvergence(), OdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::GiveUpConvergence(), PdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::SetInitialConvergenceParameters(), OdePdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::SetInitialConvergenceParameters(), OdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::SetInitialConvergenceParameters(), OdePdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::UpdateConvergenceParameters(), and OdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::UpdateConvergenceParameters().
PdeTimeStep to be varied in PdeConvergenceTester etc
Definition at line 145 of file AbstractConvergenceTester.hpp.
Referenced by PdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Abscissa(), AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge(), AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::DisplayRun(), OdePdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::GiveUpConvergence(), PdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::SetInitialConvergenceParameters(), OdePdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::SetInitialConvergenceParameters(), OdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::SetInitialConvergenceParameters(), PdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::UpdateConvergenceParameters(), and OdePdeConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::UpdateConvergenceParameters().
Mesh number - mesh 0 has 4 elements in each space dimension 0.05cm on a 0.2cm mesh
Definition at line 150 of file AbstractConvergenceTester.hpp.
Referenced by SpaceConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Abscissa(), AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge(), AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::DisplayRun(), SpaceConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::GetMeshNum(), SpaceConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::GetSpaceStep(), SpaceConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::GiveUpConvergence(), SpaceConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::SetInitialConvergenceParameters(), and SpaceConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::UpdateConvergenceParameters().
Main convergence test is LastDifference < RelativeConvergenceCriterion
Definition at line 151 of file AbstractConvergenceTester.hpp.
Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().
Used to store and retrieve the difference between success runs (relative 2-norm of Vm at 3rd quarter node).
Definition at line 152 of file AbstractConvergenceTester.hpp.
Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().
Used to store and retrieve the APD90 of a node in the first quarter x-value
Definition at line 153 of file AbstractConvergenceTester.hpp.
Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().
Used to store and retrieve the APD90 of a node in the third quarter x-value
Definition at line 154 of file AbstractConvergenceTester.hpp.
Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().
Used to store and retrieve the conduction velocity between the first & third quarter nodes
Definition at line 155 of file AbstractConvergenceTester.hpp.
Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().
Set to true once the result of a test is known (either read from file or produced by the coarsest run of the tester).
Definition at line 159 of file AbstractConvergenceTester.hpp.
Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge(), and AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::PopulateStandardResult().
true if converging to a known standard result used in StimulusConverger in projects/jmpf
Definition at line 163 of file AbstractConvergenceTester.hpp.
Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().
true if the plane stimulus should applied with an exact value (not scaled by space-step) used in StimulusConverger in projects/jmpf
Definition at line 167 of file AbstractConvergenceTester.hpp.
Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge(), and AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::DisplayRun().
A value to be used with a plane stimulus (not scaled by space-step) used in StimulusConverger in projects/jmpf
Definition at line 172 of file AbstractConvergenceTester.hpp.
Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge(), and AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::DisplayRun().
Set it true in order to run simulations for long enough to get a whole AP (and thus get convergence history for APD90). Note that this slackens the relative L2 norm criterion, since we are in plateau phase for longer
Definition at line 173 of file AbstractConvergenceTester.hpp.
Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().
Set to true when convergence has been reached
Definition at line 174 of file AbstractConvergenceTester.hpp.
Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge(), and AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::IsConverged().
StimulusType AbstractUntemplatedConvergenceTester::Stimulus |
The type of stimulus: PLANE (x=0), REGION (first quarter in x) or NEUMANN (monodomain only)
Definition at line 175 of file AbstractConvergenceTester.hpp.
Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge(), and AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::DisplayRun().
Quantity of face stimulus to use in the Neumann case
Definition at line 176 of file AbstractConvergenceTester.hpp.
Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().