Commit e913e5aa authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Small changes in Rosenbrock method.

parent 660a5876
...@@ -16,8 +16,8 @@ namespace AMDiS { ...@@ -16,8 +16,8 @@ namespace AMDiS {
lastTimestepRejected(false), lastTimestepRejected(false),
succRejection(false), succRejection(false),
fixFirstTimesteps(0), fixFirstTimesteps(0),
tauGamma(1.0), tau(1.0),
tau(1.0) tauGamma(1.0)
{ {
FUNCNAME("RosenbrockAdaptInstationary::RosenbrockAdaptInstationary()"); FUNCNAME("RosenbrockAdaptInstationary::RosenbrockAdaptInstationary()");
...@@ -127,6 +127,10 @@ namespace AMDiS { ...@@ -127,6 +127,10 @@ namespace AMDiS {
INFO(info, 6)("time estimate for component %d = %e\n", INFO(info, 6)("time estimate for component %d = %e\n",
i, adaptInfo->getTimeEstSum(i)); i, adaptInfo->getTimeEstSum(i));
} else { } else {
for (int i = 0; i < adaptInfo->getSize(); i++)
INFO(info, 6)("time estimate for component %d = %e\n",
i, adaptInfo->getTimeEstSum(i));
INFO(info, 6)("Rejected timestep at time = %e with timestep = %e\n", INFO(info, 6)("Rejected timestep at time = %e with timestep = %e\n",
adaptInfo->getTime() - adaptInfo->getTimestep(), adaptInfo->getTime() - adaptInfo->getTimestep(),
adaptInfo->getTimestep()); adaptInfo->getTimestep());
......
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