Chaste Commit::baa90ac2819b962188b7562f2326be23c47859a7
AbstractUntemplatedConvergenceTester Class Referenceabstract

#include <AbstractConvergenceTester.hpp>

+ Inheritance diagram for AbstractUntemplatedConvergenceTester:
+ Collaboration diagram for AbstractUntemplatedConvergenceTester:

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
 
double AbsoluteStimulus
 
bool SimulateFullActionPotential
 
bool Converged
 
StimulusType Stimulus
 
double NeumannStimulus
 

Protected Attributes

double mMeshWidth
 

Detailed Description

AbstractUntemplatedConvergenceTester contains core functionality used in more convergence testers

Definition at line 145 of file AbstractConvergenceTester.hpp.

Constructor & Destructor Documentation

◆ AbstractUntemplatedConvergenceTester()

AbstractUntemplatedConvergenceTester::AbstractUntemplatedConvergenceTester ( )

Definition at line 40 of file AbstractConvergenceTester.cpp.

◆ ~AbstractUntemplatedConvergenceTester()

AbstractUntemplatedConvergenceTester::~AbstractUntemplatedConvergenceTester ( )
virtual

Definition at line 60 of file AbstractConvergenceTester.cpp.

Member Function Documentation

◆ Converge()

virtual void AbstractUntemplatedConvergenceTester::Converge ( std::string  nameOfTest)
pure virtual

Run the same test at different levels of refinement until some convergence criterion is met.

Parameters
nameOfTestThe 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 >.

Member Data Documentation

◆ AbsoluteStimulus

double AbstractUntemplatedConvergenceTester::AbsoluteStimulus

A value to be used with a plane stimulus (not scaled by space-step) used in StimulusConverger in projects/jmpf

Definition at line 178 of file AbstractConvergenceTester.hpp.

◆ Apd90FirstQn

double AbstractUntemplatedConvergenceTester::Apd90FirstQn

Used to store and retrieve the APD90 of a node in the first quarter x-value

Definition at line 162 of file AbstractConvergenceTester.hpp.

Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().

◆ Apd90ThirdQn

double AbstractUntemplatedConvergenceTester::Apd90ThirdQn

Used to store and retrieve the APD90 of a node in the third quarter x-value

Definition at line 163 of file AbstractConvergenceTester.hpp.

Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().

◆ ConductionVelocity

double AbstractUntemplatedConvergenceTester::ConductionVelocity

Used to store and retrieve the conduction velocity between the first & third quarter nodes

Definition at line 164 of file AbstractConvergenceTester.hpp.

Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().

◆ Converged

bool AbstractUntemplatedConvergenceTester::Converged

◆ FixedResult

bool AbstractUntemplatedConvergenceTester::FixedResult

true if converging to a known standard result used in StimulusConverger in projects/jmpf

Definition at line 172 of file AbstractConvergenceTester.hpp.

Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().

◆ LastDifference

double AbstractUntemplatedConvergenceTester::LastDifference

Used to store and retrieve the difference between success runs (relative 2-norm of Vm at 3rd quarter node).

Definition at line 161 of file AbstractConvergenceTester.hpp.

Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().

◆ MeshNum

◆ mMeshWidth

◆ NeumannStimulus

double AbstractUntemplatedConvergenceTester::NeumannStimulus

Quantity of face stimulus to use in the Neumann case

Definition at line 182 of file AbstractConvergenceTester.hpp.

Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().

◆ OdeTimeStep

◆ PdeTimeStep

◆ PopulatedResult

bool AbstractUntemplatedConvergenceTester::PopulatedResult

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 168 of file AbstractConvergenceTester.hpp.

Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge(), and AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::PopulateStandardResult().

◆ RelativeConvergenceCriterion

double AbstractUntemplatedConvergenceTester::RelativeConvergenceCriterion

Main convergence test is LastDifference < RelativeConvergenceCriterion

Definition at line 160 of file AbstractConvergenceTester.hpp.

Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().

◆ SimulateFullActionPotential

bool AbstractUntemplatedConvergenceTester::SimulateFullActionPotential

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 179 of file AbstractConvergenceTester.hpp.

Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge().

◆ Stimulus

StimulusType AbstractUntemplatedConvergenceTester::Stimulus

The type of stimulus: PLANE (x=0), REGION (first quarter in x) or NEUMANN (monodomain only)

Definition at line 181 of file AbstractConvergenceTester.hpp.

Referenced by AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Converge(), and AbstractConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::DisplayRun().


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