52 M_ODEscheme.setInitialCondition (0.);
54 GetPot dataFile (FileName);
55 M_dt = dataFile
("problem/timestep", 0.001
);
63 M_LA_V = dataFile
("problem/LA_V", 0.6670
);
65 M_Tpb = dataFile
("problem/Tpb", 0.1
);
66 M_Tpw = dataFile
("problem/Tpw", 0.55
);
78 M_ODEscheme.updateRHSContribution (M_dt);
79 LumpedHeart::M_pressure = (-flux * (M_RV_art) - M_elastance (time) * (M_Vt_ao - M_intFlux - M_V_0) ) + (M_LV_art) * (-flux / M_dt + M_ODEscheme.rhsContributionFirstDerivative() );
81 M_ODEscheme.shiftRight (flux);
void assignFunction(bcBase_Type &base)
Assign the function to the base of the BCHandler.
static Real & outPressure(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
double operator()(const char *VarName, const double &Default) const
Real M_elastance(const Real &t)
void renewParameters(FSIOperator &Oper, const int &flag, const Real &time, const Real &flux)
void initParameters(FSIOperator &Oper, const std::string &FileName)
Real fZero(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
double Real
Generic real data.
int operator()(const char *VarName, int Default) const