svZeroDSolver
Toggle main menu visibility
Loading...
Searching...
No Matches
solve
csv_writer.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Stanford University, The Regents of the
2
// University of California, and others. SPDX-License-Identifier: BSD-3-Clause
3
/**
4
* @file csv_writer.h
5
* @brief csv_writer source file
6
*/
7
#ifndef SVZERODSOLVER_IO_CSVWRITER_HPP_
8
#define SVZERODSOLVER_IO_CSVWRITER_HPP_
9
10
#include <fstream>
11
#include <string>
12
#include <vector>
13
14
#include "
Model.h
"
15
#include "
State.h
"
16
17
std::string to_variable_csv(
const
std::vector<double>& times,
18
const
std::vector<State>& states,
19
const
Model
& model,
bool
mean =
false
,
20
bool
derivative =
false
);
21
22
std::string to_vessel_csv(
const
std::vector<double>& times,
23
const
std::vector<State>& states,
const
Model
& model,
24
bool
mean =
false
,
bool
derivative =
false
);
25
26
#endif
// SVZERODSOLVER_IO_CSVWRITER_HPP_
Model.h
model::Model source file
State.h
State source file.
Model
Model of 0D elements.
Definition
Model.h:56
Generated by
1.18.0