LifeV
HeartFunctors Class Reference

#include <HeartFunctors.hpp>

+ Collaboration diagram for HeartFunctors:

Data Fields

GetPot M_dataFile
 
std::shared_ptr< Epetra_Comm > M_comm
 
Int M_stimulusSource
 
Real M_stimulusPeriod1
 
Real M_stimulusPeriod2
 
Real M_stimulusPeriod3
 
Real M_stimulusPeriod4
 
Real M_stimulusPeriod5
 
Real M_stimulusPeriod6
 
Real M_stimulusStart1
 
Real M_stimulusStop1
 
Real M_stimulusValue1
 
Real M_stimulusRadius1
 
KN< RealM_stimulusCenter1
 
Real M_stimulusStart2
 
Real M_stimulusStop2
 
Real M_stimulusValue2
 
Real M_stimulusRadius2
 
KN< RealM_stimulusCenter2
 
Real M_stimulusStart3
 
Real M_stimulusStop3
 
Real M_stimulusValue3
 
Real M_stimulusRadius3
 
KN< RealM_stimulusCenter3
 
Real M_stimulusStart4
 
Real M_stimulusStop4
 
Real M_stimulusValue4
 
Real M_stimulusRadius4
 
KN< RealM_stimulusCenter4
 
Real M_stimulusStart5
 
Real M_stimulusStop5
 
Real M_stimulusValue5
 
Real M_stimulusRadius5
 
KN< RealM_stimulusCenter5
 
Real M_stimulusStart6
 
Real M_stimulusStop6
 
Real M_stimulusValue6
 
Real M_stimulusRadius6
 
KN< RealM_stimulusCenter6
 
Real M_sphereX
 
Real M_sphereY
 
Real M_sphereZ
 
Real M_sphereR
 
KN< RealM_conductivityReduction
 
Real M_cylinderX
 
Real M_cylinderY
 
Real M_cylinderZ
 
Real M_cylinderA
 
Real M_cylinderB
 
Real M_cylinderC
 
Real M_cylinderR
 
Real M_minimumCylinderX
 
Real M_maximumCylinderX
 
Real M_minimumBoxX
 
Real M_minimumBoxY
 
Real M_minimumBoxZ
 
Real M_maximumBoxX
 
Real M_maximumBoxY
 
Real M_maximumBoxZ
 
Real M_timePeriod
 
Real M_appliedCurrentRightVentriculeAngle
 
Real M_appliedCurrentLeftVentriculeAngle
 
Real M_appliedCurrentStimulusTimeRightVentricule
 
Real M_appliedCurrentStimulusTimeLeftVentrivcule
 
Real M_ventricularFibrillation
 
Real M_nb_fibrillationSources
 
Real M_fibrillationSources
 
Real M_restPotential
 

Public Types

typedef std::function< Real(Real const &x, Real const &y, Real const &z, Real const &, ID const &id, Real const &) > region_Type
 
typedef std::function< Real(Real const &x, Real const &y, Real const &z, Real const &, ID const &id) > region1_Type
 

Constructor & Destructor

 HeartFunctors ()
 
 HeartFunctors (GetPot &dataFile)
 
virtual ~HeartFunctors ()
 

Set Methods

Real setAppliedCurrent (const Real &x, const Real &y, const Real &z, const Real &t) const
 current volume source More...
 
Real setAppliedCurrentZygote (const double &t, const double &x, const double &y, const double &z, const ID &, const markerID_Type &ref)
 
Real setStimulus (const Real &t, const Real &x, const Real &y, const Real &z, const ID &id) const
 
Real setReducedConductivitySphere (const Real &x, const Real &y, const Real &z, const Real &, const ID &id, const Real &sigma) const
 Reduces the conductivity in a sphere. More...
 
Real setReducedConductivityCylinder (const Real &x, const Real &y, const Real &z, const Real &, const ID &id, const Real &sigma) const
 Reduces the conductivity in a cylinder. More...
 
Real setReducedConductivityBox (const Real &x, const Real &y, const Real &z, const Real &, const ID &id, const Real &sigma) const
 
Real setInitialScalar (const Real &t, const Real &x, const Real &y, const Real &z, const ID &id)
 
Real setZeroScalar (const Real &t, const Real &x, const Real &y, const Real &z, const ID &id)
 

Get Methods

region1_Type appliedCurrent ()
 
region1_Type stimulus ()
 
const region_Type reducedConductivitySphere ()
 
const region_Type reducedConductivityCylinder ()
 
const region_Type reducedConductivityBox ()
 
const region1_Type initialScalar ()
 
const region1_Type zeroScalar ()
 

Unimplemented Methods

 HeartFunctors (const HeartFunctors &heartFunctors)
 
HeartFunctorsoperator= (const HeartFunctors &heartFunctors)
 

Detailed Description

Definition at line 57 of file HeartFunctors.hpp.

Member Typedef Documentation

◆ region_Type

typedef std::function<Real ( Real const& x, Real const& y, Real const& z, Real const&, ID const& id , Real const&) > region_Type

Definition at line 64 of file HeartFunctors.hpp.

◆ region1_Type

typedef std::function<Real ( Real const& x, Real const& y, Real const& z, Real const&, ID const& id) > region1_Type

Definition at line 65 of file HeartFunctors.hpp.

Constructor & Destructor Documentation

◆ HeartFunctors() [1/3]

Definition at line 48 of file HeartFunctors.cpp.

+ Here is the caller graph for this function:

◆ HeartFunctors() [2/3]

HeartFunctors ( GetPot dataFile)

Definition at line 121 of file HeartFunctors.cpp.

+ Here is the caller graph for this function:

◆ ~HeartFunctors()

virtual ~HeartFunctors ( )
inlinevirtual

Definition at line 77 of file HeartFunctors.hpp.

◆ HeartFunctors() [3/3]

HeartFunctors ( const HeartFunctors heartFunctors)
private

Member Function Documentation

◆ setAppliedCurrent()

Real setAppliedCurrent ( const Real x,
const Real y,
const Real z,
const Real t 
) const

current volume source

Define the stimulation current

Definition at line 217 of file HeartFunctors.cpp.

◆ setAppliedCurrentZygote()

Real setAppliedCurrentZygote ( const double t,
const double x,
const double y,
const double z,
const ID ,
const markerID_Type ref 
)

Definition at line 295 of file HeartFunctors.cpp.

◆ setStimulus()

Real setStimulus ( const Real t,
const Real x,
const Real y,
const Real z,
const ID id 
) const

Definition at line 344 of file HeartFunctors.cpp.

◆ setReducedConductivitySphere()

Real setReducedConductivitySphere ( const Real x,
const Real y,
const Real z,
const Real ,
const ID id,
const Real sigma 
) const

Reduces the conductivity in a sphere.

Definition at line 452 of file HeartFunctors.cpp.

◆ setReducedConductivityCylinder()

Real setReducedConductivityCylinder ( const Real x,
const Real y,
const Real z,
const Real ,
const ID id,
const Real sigma 
) const

Reduces the conductivity in a cylinder.

Definition at line 474 of file HeartFunctors.cpp.

◆ setReducedConductivityBox()

Real setReducedConductivityBox ( const Real x,
const Real y,
const Real z,
const Real ,
const ID id,
const Real sigma 
) const

Definition at line 513 of file HeartFunctors.cpp.

◆ setInitialScalar()

Real setInitialScalar ( const Real t,
const Real x,
const Real y,
const Real z,
const ID id 
)

Definition at line 533 of file HeartFunctors.cpp.

◆ setZeroScalar()

Real setZeroScalar ( const Real t,
const Real x,
const Real y,
const Real z,
const ID id 
)

Definition at line 545 of file HeartFunctors.cpp.

◆ appliedCurrent()

HeartFunctors::region1_Type appliedCurrent ( )

Definition at line 560 of file HeartFunctors.cpp.

◆ stimulus()

Definition at line 568 of file HeartFunctors.cpp.

◆ reducedConductivitySphere()

const HeartFunctors::region_Type reducedConductivitySphere ( )

Definition at line 576 of file HeartFunctors.cpp.

◆ reducedConductivityCylinder()

const HeartFunctors::region_Type reducedConductivityCylinder ( )

Definition at line 584 of file HeartFunctors.cpp.

◆ reducedConductivityBox()

const HeartFunctors::region_Type reducedConductivityBox ( )

Definition at line 592 of file HeartFunctors.cpp.

◆ initialScalar()

const HeartFunctors::region1_Type initialScalar ( )

Definition at line 600 of file HeartFunctors.cpp.

◆ zeroScalar()

const HeartFunctors::region1_Type zeroScalar ( )

Definition at line 608 of file HeartFunctors.cpp.

◆ operator=()

HeartFunctors& operator= ( const HeartFunctors heartFunctors)
private

Field Documentation

◆ M_dataFile

GetPot M_dataFile

Definition at line 144 of file HeartFunctors.hpp.

◆ M_comm

std::shared_ptr<Epetra_Comm> M_comm

Definition at line 146 of file HeartFunctors.hpp.

◆ M_stimulusSource

Int M_stimulusSource

Definition at line 148 of file HeartFunctors.hpp.

◆ M_stimulusPeriod1

Real M_stimulusPeriod1

Definition at line 149 of file HeartFunctors.hpp.

◆ M_stimulusPeriod2

Real M_stimulusPeriod2

Definition at line 150 of file HeartFunctors.hpp.

◆ M_stimulusPeriod3

Real M_stimulusPeriod3

Definition at line 151 of file HeartFunctors.hpp.

◆ M_stimulusPeriod4

Real M_stimulusPeriod4

Definition at line 152 of file HeartFunctors.hpp.

◆ M_stimulusPeriod5

Real M_stimulusPeriod5

Definition at line 153 of file HeartFunctors.hpp.

◆ M_stimulusPeriod6

Real M_stimulusPeriod6

Definition at line 154 of file HeartFunctors.hpp.

◆ M_stimulusStart1

Real M_stimulusStart1

Definition at line 156 of file HeartFunctors.hpp.

◆ M_stimulusStop1

Real M_stimulusStop1

Definition at line 157 of file HeartFunctors.hpp.

◆ M_stimulusValue1

Real M_stimulusValue1

Definition at line 158 of file HeartFunctors.hpp.

◆ M_stimulusRadius1

Real M_stimulusRadius1

Definition at line 159 of file HeartFunctors.hpp.

◆ M_stimulusCenter1

KN<Real> M_stimulusCenter1

Definition at line 160 of file HeartFunctors.hpp.

◆ M_stimulusStart2

Real M_stimulusStart2

Definition at line 162 of file HeartFunctors.hpp.

◆ M_stimulusStop2

Real M_stimulusStop2

Definition at line 163 of file HeartFunctors.hpp.

◆ M_stimulusValue2

Real M_stimulusValue2

Definition at line 164 of file HeartFunctors.hpp.

◆ M_stimulusRadius2

Real M_stimulusRadius2

Definition at line 165 of file HeartFunctors.hpp.

◆ M_stimulusCenter2

KN<Real> M_stimulusCenter2

Definition at line 166 of file HeartFunctors.hpp.

◆ M_stimulusStart3

Real M_stimulusStart3

Definition at line 168 of file HeartFunctors.hpp.

◆ M_stimulusStop3

Real M_stimulusStop3

Definition at line 169 of file HeartFunctors.hpp.

◆ M_stimulusValue3

Real M_stimulusValue3

Definition at line 170 of file HeartFunctors.hpp.

◆ M_stimulusRadius3

Real M_stimulusRadius3

Definition at line 171 of file HeartFunctors.hpp.

◆ M_stimulusCenter3

KN<Real> M_stimulusCenter3

Definition at line 172 of file HeartFunctors.hpp.

◆ M_stimulusStart4

Real M_stimulusStart4

Definition at line 174 of file HeartFunctors.hpp.

◆ M_stimulusStop4

Real M_stimulusStop4

Definition at line 175 of file HeartFunctors.hpp.

◆ M_stimulusValue4

Real M_stimulusValue4

Definition at line 176 of file HeartFunctors.hpp.

◆ M_stimulusRadius4

Real M_stimulusRadius4

Definition at line 177 of file HeartFunctors.hpp.

◆ M_stimulusCenter4

KN<Real> M_stimulusCenter4

Definition at line 178 of file HeartFunctors.hpp.

◆ M_stimulusStart5

Real M_stimulusStart5

Definition at line 180 of file HeartFunctors.hpp.

◆ M_stimulusStop5

Real M_stimulusStop5

Definition at line 181 of file HeartFunctors.hpp.

◆ M_stimulusValue5

Real M_stimulusValue5

Definition at line 182 of file HeartFunctors.hpp.

◆ M_stimulusRadius5

Real M_stimulusRadius5

Definition at line 183 of file HeartFunctors.hpp.

◆ M_stimulusCenter5

KN<Real> M_stimulusCenter5

Definition at line 184 of file HeartFunctors.hpp.

◆ M_stimulusStart6

Real M_stimulusStart6

Definition at line 186 of file HeartFunctors.hpp.

◆ M_stimulusStop6

Real M_stimulusStop6

Definition at line 187 of file HeartFunctors.hpp.

◆ M_stimulusValue6

Real M_stimulusValue6

Definition at line 188 of file HeartFunctors.hpp.

◆ M_stimulusRadius6

Real M_stimulusRadius6

Definition at line 189 of file HeartFunctors.hpp.

◆ M_stimulusCenter6

KN<Real> M_stimulusCenter6

Definition at line 190 of file HeartFunctors.hpp.

◆ M_sphereX

Real M_sphereX

Definition at line 192 of file HeartFunctors.hpp.

◆ M_sphereY

Real M_sphereY

Definition at line 193 of file HeartFunctors.hpp.

◆ M_sphereZ

Real M_sphereZ

Definition at line 194 of file HeartFunctors.hpp.

◆ M_sphereR

Real M_sphereR

Definition at line 195 of file HeartFunctors.hpp.

◆ M_conductivityReduction

KN<Real> M_conductivityReduction

Definition at line 196 of file HeartFunctors.hpp.

◆ M_cylinderX

Real M_cylinderX

Definition at line 198 of file HeartFunctors.hpp.

◆ M_cylinderY

Real M_cylinderY

Definition at line 199 of file HeartFunctors.hpp.

◆ M_cylinderZ

Real M_cylinderZ

Definition at line 200 of file HeartFunctors.hpp.

◆ M_cylinderA

Real M_cylinderA

Definition at line 201 of file HeartFunctors.hpp.

◆ M_cylinderB

Real M_cylinderB

Definition at line 202 of file HeartFunctors.hpp.

◆ M_cylinderC

Real M_cylinderC

Definition at line 203 of file HeartFunctors.hpp.

◆ M_cylinderR

Real M_cylinderR

Definition at line 204 of file HeartFunctors.hpp.

◆ M_minimumCylinderX

Real M_minimumCylinderX

Definition at line 205 of file HeartFunctors.hpp.

◆ M_maximumCylinderX

Real M_maximumCylinderX

Definition at line 206 of file HeartFunctors.hpp.

◆ M_minimumBoxX

Real M_minimumBoxX

Definition at line 208 of file HeartFunctors.hpp.

◆ M_minimumBoxY

Real M_minimumBoxY

Definition at line 209 of file HeartFunctors.hpp.

◆ M_minimumBoxZ

Real M_minimumBoxZ

Definition at line 210 of file HeartFunctors.hpp.

◆ M_maximumBoxX

Real M_maximumBoxX

Definition at line 212 of file HeartFunctors.hpp.

◆ M_maximumBoxY

Real M_maximumBoxY

Definition at line 213 of file HeartFunctors.hpp.

◆ M_maximumBoxZ

Real M_maximumBoxZ

Definition at line 214 of file HeartFunctors.hpp.

◆ M_timePeriod

Real M_timePeriod

Definition at line 217 of file HeartFunctors.hpp.

◆ M_appliedCurrentRightVentriculeAngle

Real M_appliedCurrentRightVentriculeAngle

Definition at line 218 of file HeartFunctors.hpp.

◆ M_appliedCurrentLeftVentriculeAngle

Real M_appliedCurrentLeftVentriculeAngle

Definition at line 219 of file HeartFunctors.hpp.

◆ M_appliedCurrentStimulusTimeRightVentricule

Real M_appliedCurrentStimulusTimeRightVentricule

Definition at line 220 of file HeartFunctors.hpp.

◆ M_appliedCurrentStimulusTimeLeftVentrivcule

Real M_appliedCurrentStimulusTimeLeftVentrivcule

Definition at line 221 of file HeartFunctors.hpp.

◆ M_ventricularFibrillation

Real M_ventricularFibrillation

Definition at line 222 of file HeartFunctors.hpp.

◆ M_nb_fibrillationSources

Real M_nb_fibrillationSources

Definition at line 223 of file HeartFunctors.hpp.

◆ M_fibrillationSources

Real M_fibrillationSources

Definition at line 224 of file HeartFunctors.hpp.

◆ M_restPotential

Real M_restPotential

Definition at line 225 of file HeartFunctors.hpp.


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