37 #include <lifev/core/fem/TimeAdvanceData.hpp> 70 M_orderBDF = dataFile ( ( section +
"/BDF_order" ).data(), 1 );
71 M_theta = dataFile ( (section +
"/theta").data(), 0.25);
72 M_gamma = dataFile ( ( section +
"/gamma").data(), 0.5);
78 output <<
"\n*** TimeAdvanceData: values for user-defined data\n";
80 output <<
"\n[/time_discretization]" << std::endl;
81 output <<
"BDF order = " << M_orderBDF << std::endl;
82 output <<
"theta = " << M_theta << std::endl;
83 output <<
"gamma = " << M_gamma << std::endl;
92 std::vector<Real> coefficients;
94 coefficients.push_back ( M_theta );
95 coefficients.push_back ( M_gamma );
void setup(const GetPot &dfile, const std::string §ion="time_discretization")
Read the dataFile and set all the internal quantities.
std::vector< Real > coefficientsNewmark()
Return TimeAdvanceNewmark parameters ( , )
TimeAdvanceData()
Empty Constructor.
TimeAdvanceData - Class for handling temporal discretization.
void updateInverseJacobian(const UInt &iQuadPt)
void showMe(std::ostream &output=std::cout) const
Display general information about the content of the class.
TimeAdvanceData(const TimeAdvanceData &TimeAdvanceData)
Copy constructor.
TimeAdvanceData(const GetPot &dataFile, const std::string §ion="time_discretization")
Constructor.