2 #define TIMEHANDLER_H 1
14 #include <lifev/core/LifeV.hpp> 16 #include <lifev/core/array/VectorEpetra.hpp> 21 class TimeAndExtrapolationHandler
24 typedef VectorEpetra vector_Type;
26 typedef std::shared_ptr<vector_Type> vectorPtr_Type;
31 TimeAndExtrapolationHandler();
34 TimeAndExtrapolationHandler(
const UInt orderBDF,
const UInt maximumOrderExtrapolation);
37 ~TimeAndExtrapolationHandler();
40 void setBDForder(
const UInt order);
43 void setMaximumExtrapolationOrder(
const UInt order);
46 void initialize(
const std::vector<vector_Type> InitialData);
49 void shift(
const vector_Type newVector);
52 std::vector<vector_Type> state()
58 void setTimeStep(
const Real dt);
61 void extrapolate(
const UInt order, vector_Type& extrapolation);
64 void rhsContribution(vector_Type& rhs_bdf);
75 UInt M_maximumExtrapolationOrder;
78 std::vector<vector_Type> M_states;
double Real
Generic real data.
uint32_type UInt
generic unsigned integer (used mainly for addressing)