|
| static void | get_input (string filename, out double L_1, out double L_2, out double m_1, out double m_2) |
| | Reads input from a file with the given file name.
|
| static void | input_constraints (double L_1, double L_2, double m_1, double m_2) |
| | Verifies that input values satisfy the physical constraints.
|
◆ get_input()
| void InputParameters.get_input |
( |
string | filename, |
|
|
out double | L_1, |
|
|
out double | L_2, |
|
|
out double | m_1, |
|
|
out double | m_2 ) |
|
inlinestatic |
Reads input from a file with the given file name.
- Parameters
-
| filename | name of the input file |
| L_1 | length of the first rod (m) |
| L_2 | length of the second rod (m) |
| m_1 | mass of the first object (kg) |
| m_2 | mass of the second object (kg) |
◆ input_constraints()
| void InputParameters.input_constraints |
( |
double | L_1, |
|
|
double | L_2, |
|
|
double | m_1, |
|
|
double | m_2 ) |
|
inlinestatic |
Verifies that input values satisfy the physical constraints.
- Parameters
-
| L_1 | length of the first rod (m) |
| L_2 | length of the second rod (m) |
| m_1 | mass of the first object (kg) |
| m_2 | mass of the second object (kg) |
The documentation for this class was generated from the following file: