SpaceConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM > Class Template Reference

#include <SpaceConvergenceTester.hpp>

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

Collaboration diagram for SpaceConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void SetInitialConvergenceParameters ()
void UpdateConvergenceParameters ()
bool GiveUpConvergence ()
double Abscissa ()
int GetMeshNum ()
double GetSpaceStep ()

Detailed Description

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

Run the same simulation on cuboid meshes at progressively finer scales until some convergence criterion is met.

Definition at line 41 of file SpaceConvergenceTester.hpp.


Member Function Documentation

template<class CELL , class CARDIAC_PROBLEM , unsigned DIM, unsigned PROBLEM_DIM>
double SpaceConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::Abscissa (  )  [inline, virtual]
template<class CELL , class CARDIAC_PROBLEM , unsigned DIM, unsigned PROBLEM_DIM>
int SpaceConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::GetMeshNum (  )  [inline]
Returns:
the number of the current mesh (cast to int).

Definition at line 101 of file SpaceConvergenceTester.hpp.

References AbstractUntemplatedConvergenceTester::MeshNum.

template<class CELL , class CARDIAC_PROBLEM , unsigned DIM, unsigned PROBLEM_DIM>
double SpaceConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::GetSpaceStep (  )  [inline]
Returns:
the space step in the Cartesian directions

Definition at line 108 of file SpaceConvergenceTester.hpp.

References AbstractUntemplatedConvergenceTester::MeshNum, and AbstractUntemplatedConvergenceTester::mMeshWidth.

template<class CELL , class CARDIAC_PROBLEM , unsigned DIM, unsigned PROBLEM_DIM>
bool SpaceConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::GiveUpConvergence (  )  [inline, virtual]
Returns:
true to give up convergence when the number of unknowns becomes too high (either from memory or CPU perspective).

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

Definition at line 64 of file SpaceConvergenceTester.hpp.

References AbstractUntemplatedConvergenceTester::MeshNum.

template<class CELL , class CARDIAC_PROBLEM , unsigned DIM, unsigned PROBLEM_DIM>
void SpaceConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::SetInitialConvergenceParameters (  )  [inline, virtual]

The intial mesh is mesh 0 which has a space-step of 0.05cm on a 0.2cm mesh

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

Definition at line 47 of file SpaceConvergenceTester.hpp.

References AbstractUntemplatedConvergenceTester::MeshNum.

template<class CELL , class CARDIAC_PROBLEM , unsigned DIM, unsigned PROBLEM_DIM>
void SpaceConvergenceTester< CELL, CARDIAC_PROBLEM, DIM, PROBLEM_DIM >::UpdateConvergenceParameters (  )  [inline, virtual]

Each new run has an increased the mesh number. This halves the space step and increased the complexity of the simulation by 2^DIM

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

Definition at line 55 of file SpaceConvergenceTester.hpp.

References AbstractUntemplatedConvergenceTester::MeshNum.


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

Generated by  doxygen 1.6.2