104 if (vbuf[0] ==
"/")
return;
106 if (vbuf[0] ==
"FIM") {
110 if (vbuf[0] ==
"AIMt") {
117 cout <<
"METHOD" << endl;
136 for (
OCP_INT i = 0; i < len - 1; i++) {
137 tmp[row][i] = stod(vbuf[i]);
139 if (vbuf[len - 1] !=
"/") {
140 tmp[row][len - 1] = stod(vbuf[len - 1]);
154 cout <<
"---------------------\n";
155 cout <<
"TUNING" << endl;
156 cout <<
"---------------------\n";
159 for (
auto v1 : v.Tuning) {
163 cout <<
"/ " << endl;
unsigned int USI
Generic unsigned integer.
ParamControl class declaration.
vector< vector< OCP_DBL > > TUNING
void InitTime()
Init the critical time.
vector< OCP_DBL > criticalTime
void InitTuning()
Determine the default Tuning.
void Init(string &indir)
Assign default values to parameters.
string method
Decide which method to use to discrete the fluid equations.
void InputTUNING(ifstream &ifs)
Input the Keyword: TUNING.
void DisplayTuning() const
Display the Tuning.
string dir
Current work directory.
void InitMethod()
Determine the default discrete method.
string linearSolve
Fasp file.
void InputMETHOD(ifstream &ifs)
Input the Keyword: METHOD.
vector< TuningPair > tuning_T
Tuning set.