Commit 7d893399 authored by Gianmarco Mengaldo's avatar Gianmarco Mengaldo

Updated clamp_low and clamp_up values.

parent c95cea39
......@@ -64,9 +64,9 @@ namespace Nektar
ASSERTL0(m_config["fromfld"].as<string>().compare("NotSet") != 0,
"Need to specify fromfld=file.fld ");
m_config["ClampToLowerValue"] = ConfigOption(false,"-10000",
m_config["ClampToLowerValue"] = ConfigOption(false,"-10000000",
"Lower bound for interpolation value");
m_config["ClampToUpperValue"] = ConfigOption(false,"10000",
m_config["ClampToUpperValue"] = ConfigOption(false,"10000000",
"Upper bound for interpolation value");
}
......
......@@ -279,8 +279,8 @@ int main(int argc, char *argv[])
else if (expdim == 3)
{
NekDouble clamp_up, clamp_low;
vSession->LoadParameter("ClampToUpperValue", clamp_up, 10000);
vSession->LoadParameter("ClampToLowerValue", clamp_low, -10000);
vSession->LoadParameter("ClampToUpperValue", clamp_up, 10000000);
vSession->LoadParameter("ClampToLowerValue", clamp_low, -10000000);
InterpolateField(fields, outfield, x1, y1, z1, clamp_low, clamp_up);
}
cout << "]" << 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