DblPend
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 
22 void get_input(string filename, double &L_1, double &L_2, double &m_1, double &m_2);
23 
30 void input_constraints(double L_1, double L_2, double m_1, double m_2);
31 
32 #endif
void get_input(string filename, double &L_1, double &L_2, double &m_1, double &m_2)
Reads input from a file with the given file name.
void input_constraints(double L_1, double L_2, double m_1, double m_2)
Verifies that input values satisfy the physical constraints.