Flow123d
release_3.0.0-968-gc87a28e79
|
Go to the documentation of this file.
18 #ifndef TABLE_FUNCTION_HH_
19 #define TABLE_FUNCTION_HH_
36 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.
Value::return_type return_type
static const Input::Type::Record & get_input_type()
void init_from_input(const Input::Record &rec)
Initialize actual values of the field given from the given Input::Record rec.
const return_type & value(double t)
TableFunction()
Default constructor.
Value value_
Last value, prevents passing large values (vectors) by value.
static const Input::Type::Tuple & get_input_type_val()