Commit 39ae44db authored by igor's avatar igor

Correct print_tag initialization and fcbiilu2 parameters setting

parent b136820a
......@@ -202,6 +202,7 @@ namespace INMOST
sparse[i] = false;
}
tagname = "";
print_tag = true;
}
Tag::Tag(Mesh * m, std::string name, DataType _dtype,INMOST_DATA_ENUM_TYPE size)
......
......@@ -175,10 +175,10 @@ namespace INMOST {
void SolverFCBIILU2::SetParameter(std::string name, std::string value) {
const char *val = value.c_str();
if (name == "kovl" || name == "schwartz_overlap" ) solver_data->kovl = atoi(val);
else if (name == "tau" || name == "drop_tolerance" ) solver_data->tau = atof(val);
else if (name == "eps" || name == "absolute_tolerance" ) solver_data->eps = atof(val);
else if (name == "nit" || name == "maximum_iterations" ) solver_data->nit = atoi(val);
if (name == "kovl" /* || name == "schwartz_overlap" */ ) solver_data->kovl = atoi(val);
else if (name == "tau" /* || name == "drop_tolerance" */ ) solver_data->tau = atof(val);
else if (name == "eps" /* || name == "absolute_tolerance" */ ) solver_data->eps = atof(val);
else if (name == "nit" /* || name == "maximum_iterations" */ ) solver_data->nit = atoi(val);
else if (name == "msglev") solver_data->msglev = atoi(val);
#if !defined(SILENCE_SET_PARAMETER)
else std::cout << "Parameter " << name << " is unknown" << std::endl;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment