PDController
All Classes Files Functions
InputParameters.hpp
Go to the documentation of this file.
1 
7 #ifndef InputParameters_h
8 #define InputParameters_h
9 
10 #include <string>
11 
12 using std::ifstream;
13 using std::string;
14 
23 void get_input(string filename, double &r_t, double &K_d, double &K_p, double &t_step, double &t_sim);
24 
32 void input_constraints(double r_t, double K_d, double K_p, double t_step, double t_sim);
33 
34 #endif
void input_constraints(double r_t, double K_d, double K_p, double t_step, double t_sim)
Verifies that input values satisfy the physical constraints.
void get_input(string filename, double &r_t, double &K_d, double &K_p, double &t_step, double &t_sim)
Reads input from a file with the given file name.