HeartConfigDefaults.hpp File Reference

Go to the source code of this file.

Functions

boost::shared_ptr
< cp::chaste_parameters_type > 
CreateDefaultParameters ()

Detailed Description

This file is designed to be included within HeartConfig.cpp, and defines a single function, CreateDefaultParameters. The only reason it is a separate file is for easy identification of what the default parameters are.

Definition in file HeartConfigDefaults.hpp.


Function Documentation

boost::shared_ptr<cp::chaste_parameters_type> CreateDefaultParameters (  ) 

Create the default Chaste parameters.

It sets up an object equivalent to the following XML file:

<?xml version="1.0" encoding="UTF-8"?>
<ChasteParameters>
    <Simulation>
        <SpaceDimension>3</SpaceDimension>
        <Domain>Mono</Domain>
        <IonicModels>
            <Default><Hardcoded>LuoRudyI</Hardcoded></Default>
        </IonicModels>
        <OutputDirectory>ChasteResults</OutputDirectory>
        <OutputFilenamePrefix>SimulationResults</OutputFilenamePrefix>
    </Simulation>

    <Physiological>
        <IntracellularConductivities longi="1.75" trans="1.75" normal="1.75" unit="mS/cm" />
        <ExtracellularConductivities longi="7.0"  trans="7.0"  normal="7.0" unit="mS/cm" />
        <BathConductivity unit="mS/cm"> 7.0 </BathConductivity>
        <SurfaceAreaToVolumeRatio unit="1/cm"> 1400 </SurfaceAreaToVolumeRatio>
        <Capacitance unit="uF/cm^2"> 1.0 </Capacitance>
    </Physiological>

    <Numerical>
        <TimeSteps ode="0.01" pde="0.01" printing="0.01" unit="ms" />
        <KSPTolerances>
            <KSPAbsolute>2e-4</KSPAbsolute>
        </KSPTolerances>
        <KSPSolver>cg</KSPSolver>
        <KSPPreconditioner>bjacobi</KSPPreconditioner>
        <MeshPartitioning>metis</MeshPartitioning>
        <UseStateVariableInterpolation>no</UseStateVariableInterpolation>
    </Numerical>

    <PostProcessing>
    </PostProcessing>
</ChasteParameters>

Definition at line 81 of file HeartConfigDefaults.hpp.

Referenced by HeartConfig::HeartConfig().

Generated on Thu Dec 22 13:00:20 2011 for Chaste by  doxygen 1.6.3