SWHSNoPCM
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
12#include "Constants.hpp"
13
14using std::ifstream;
15using std::string;
16
33void 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
40double derived_values(double D, double L);
41
55void 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.