svZeroDSolver
|
csv_writer source file More...
Go to the source code of this file.
Functions | |
std::string | to_variable_csv (const std::vector< double > ×, const std::vector< State > &states, const Model &model, bool mean=false, bool derivative=false) |
Write results variable based. | |
std::string | to_vessel_csv (const std::vector< double > ×, const std::vector< State > &states, const Model &model, bool mean=false, bool derivative=false) |
Write results vessel based. | |
csv_writer source file
std::string to_variable_csv | ( | const std::vector< double > & | times, |
const std::vector< State > & | states, | ||
const Model & | model, | ||
bool | mean, | ||
bool | derivative ) |
Write results variable based.
times | Sequence of time steps corresponding to the solutions |
states | Sequence of states corresponding to the time steps |
model | The underlying model |
mean | Toggle whether only the mean over all time steps should be written |
derivative | Toggle whether to output time-derivatives |
std::string to_vessel_csv | ( | const std::vector< double > & | times, |
const std::vector< State > & | states, | ||
const Model & | model, | ||
bool | mean, | ||
bool | derivative ) |
Write results vessel based.
times | Sequence of time steps corresponding to the solutions |
states | Sequence of states corresponding to the time steps |
model | The underlying model |
mean | Toggle whether only the mean over all time steps should be written |
derivative | Toggle whether to output time-derivatives |