Flow123d
JS_before_hm-2198-g122e1f2e2
|
Go to the documentation of this file.
18 #ifndef TABLE_FUNCTION_HH_
19 #define TABLE_FUNCTION_HH_
37 template <
class Value>
bool initialized()
Return true if TableFunction is initialized (method init_from_input was called).
TableValue(double t, Value val)
void interpolated(double coef, unsigned int idx)
double last_t_
Last t stamp of computed value_ (to prevent repetitive calculation)
std::vector< struct TableValue > table_values_
Vector of values in all stamps.
Store value in one t stamp.
Representation of one time step..
Value::return_type return_type
static const Input::Type::Record & get_input_type()
const return_type & value(double t)
void init_from_input(const Input::Record &rec, const TimeStep &time)
Initialize actual values of the field given from the given Input::Record rec.
TableFunction()
Default constructor.
Value value_
Last value, prevents passing large values (vectors) by value.
static const Input::Type::Tuple & get_input_type_val()