DblPend
Loading...
Searching...
No Matches
InputParameters.hpp
Go to the documentation of this file.
1
6
7#ifndef InputParameters_h
8#define InputParameters_h
9
10#include <string>
11
12using std::ifstream;
13using std::string;
14
22void get_input(string filename, double &L_1, double &L_2, double &m_1, double &m_2);
23
30void 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.