39 #ifndef _HEARTFUNCTORS_H_ 40 #define _HEARTFUNCTORS_H_ 43 #include <boost/shared_ptr.hpp> 44 #include <boost/bind.hpp> 48 #include <lifev/core/filter/GetPot.hpp> 49 #include <lifev/core/array/MatrixEpetra.hpp> 51 #include <lifev/core/fem/FESpace.hpp> 64 typedef std::function<Real ( Real
const& x, Real
const& y, Real
const& z, Real
const&, ID
const& id , Real
const&) > region_Type;
65 typedef std::function<Real ( Real
const& x, Real
const& y, Real
const& z, Real
const&, ID
const& id) > region1_Type;
75 HeartFunctors (
GetPot& dataFile );
77 virtual ~HeartFunctors() {}
91 Real setAppliedCurrentZygote (
const double& t,
const double& x,
const double& y,
const double& z,
const ID& ,
const markerID_Type& ref );
104 Real setReducedConductivitySphere (
const Real& x,
const Real& y,
const Real& z,
const Real& ,
const ID& id,
const Real& sigma)
const;
111 Real setReducedConductivityCylinder (
const Real& x,
const Real& y,
const Real& z,
const Real& ,
const ID& id,
const Real& sigma )
const;
113 Real setReducedConductivityBox (
const Real& x,
const Real& y,
const Real& z,
const Real& ,
const ID& id,
const Real& sigma )
const;
128 region1_Type appliedCurrent();
130 region1_Type stimulus();
132 const region_Type reducedConductivitySphere();
134 const region_Type reducedConductivityCylinder();
136 const region_Type reducedConductivityBox();
138 const region1_Type initialScalar();
140 const region1_Type zeroScalar();
146 std::shared_ptr<Epetra_Comm> M_comm;
196 KN<
Real> M_conductivityReduction;
218 Real M_appliedCurrentRightVentriculeAngle;
219 Real M_appliedCurrentLeftVentriculeAngle;
220 Real M_appliedCurrentStimulusTimeRightVentricule;
221 Real M_appliedCurrentStimulusTimeLeftVentrivcule;
222 Real M_ventricularFibrillation;
234 HeartFunctors (
const HeartFunctors& heartFunctors );
236 HeartFunctors& operator= (
const HeartFunctors& heartFunctors );
int32_type Int
Generic integer data.
ID markerID_Type
markerID_Type is the type used to store the geometric entity marker IDs
double Real
Generic real data.