29 #ifndef USERINPUT_H_INCLUDED
30 #define USERINPUT_H_INCLUDED
43 using std::scientific;
44 using std::setprecision;
62 static void ReadVector( ifstream &stream,
int nVals,
bool vect[] );
63 static void ReadVector( ifstream &stream,
int nVals,
REAL vect[] );
70 static void PrintValue(
int val,
const char *txt )
72 cout << left <<
" " << setw(13) << setfill(
' ')
73 << val <<
"# " << txt << endl;
75 static void PrintValue(
REAL val,
const char *txt )
77 cout << left << scientific << setprecision(4) << setw(14) << setfill(
' ')
78 << val <<
"# " << txt << endl;
80 static void PrintValue(
string val,
const char *txt )
82 cout << left << setw(14) << setfill(
' ')
83 << val <<
"# " << txt << endl;
87 #endif // USERINPUT_H_INCLUDED
double REAL
Definition: defs.h:58