34#ifndef SVZERODSOLVER_MODEL_PARAMETER_HPP_
35#define SVZERODSOLVER_MODEL_PARAMETER_HPP_
71 const std::vector<double>&
values,
bool periodic =
true);
98 const std::vector<double>&
values);
106 double get(
double time);
121 bool steady_converted =
false;
model::DOFHandler source file
Model Parameter.
Definition Parameter.h:52
int id
Global ID of the parameter.
Definition Parameter.h:73
std::vector< double > values
Values if parameter is time-dependent.
Definition Parameter.h:75
int size
Size of the time series if parameter is time-dependent.
Definition Parameter.h:79
std::vector< double > times
Time steps if parameter is time-dependent.
Definition Parameter.h:74
double value
Value if parameter is constant.
Definition Parameter.h:76
Parameter(int id, double value)
Construct a new Parameter object.
Definition Parameter.cpp:33
bool is_periodic
Definition Parameter.h:81
double get(double time)
Get the parameter value at the specified time.
Definition Parameter.cpp:66
void to_unsteady()
Convert the parameter back into an unsteady mean state.
Definition Parameter.cpp:109
bool is_constant
Bool value indicating if the parameter is constant.
Definition Parameter.h:80
void to_steady()
Convert the parameter into a steady mean state.
Definition Parameter.cpp:99
void update(double value)
Update the parameter.
Definition Parameter.cpp:45
double cycle_period
Definition Parameter.h:77