SWHSNoPCM
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 #include "Constants.hpp"
13 
14 using std::ifstream;
15 using std::string;
16 
33 void get_input(string filename, double &A_C, double &C_W, double &h_C, double &T_init, double &t_final, double &L, double &T_C, double &t_step, double &rho_W, double &D, double &A_tol, double &R_tol, double &E_W);
34 
40 double derived_values(double D, double L);
41 
55 void input_constraints(double A_C, double C_W, double h_C, double T_init, double t_final, double L, double T_C, double t_step, double rho_W, double D, double E_W);
56 
57 #endif
Provides the structure for holding constant values.
void get_input(string filename, double &A_C, double &C_W, double &h_C, double &T_init, double &t_final, double &L, double &T_C, double &t_step, double &rho_W, double &D, double &A_tol, double &R_tol, double &E_W)
Reads input from a file with the given file name.
double derived_values(double D, double L)
Calculates values that can be immediately derived from the inputs.
void input_constraints(double A_C, double C_W, double h_C, double T_init, double t_final, double L, double T_C, double t_step, double rho_W, double D, double E_W)
Verifies that input values satisfy the physical constraints and software constraints.