DblPend
Main Page
Classes
Class List
Class Index
Class Members
All
Functions
Files
File List
File Members
All
Functions
•
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
get_input
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.
input_constraints
void input_constraints(double L_1, double L_2, double m_1, double m_2)
Verifies that input values satisfy the physical constraints.
Generated by
1.9.1