deallog << second(i)*100 << std::endl;
}
-
int main ()
{
ofstream logfile ("derivative_approximation.output");
deallog.push ("2d");
check<2> ();
deallog.pop ();
-// deallog.push ("3d");
-// check<3> ();
-// deallog.pop ();
+ deallog.push ("3d");
+ check<3> ();
+ deallog.pop ();
}
DEAL:2d::168.05
DEAL:2d::185.42
DEAL:2d::215.27
+DEAL:3d::Approximated gradient:
+DEAL:3d::25.27
+DEAL:3d::0.00
+DEAL:3d::25.27
+DEAL:3d::25.27
+DEAL:3d::0.00
+DEAL:3d::0.00
+DEAL:3d::0.00
+DEAL:3d::27.45
+DEAL:3d::52.80
+DEAL:3d::78.71
+DEAL:3d::52.80
+DEAL:3d::52.80
+DEAL:3d::78.71
+DEAL:3d::121.43
+DEAL:3d::78.71
+DEAL:3d::Approximated second derivative:
+DEAL:3d::135.86
+DEAL:3d::110.65
+DEAL:3d::135.86
+DEAL:3d::136.01
+DEAL:3d::110.65
+DEAL:3d::110.65
+DEAL:3d::110.65
+DEAL:3d::95.30
+DEAL:3d::205.19
+DEAL:3d::247.57
+DEAL:3d::205.19
+DEAL:3d::209.67
+DEAL:3d::251.69
+DEAL:3d::149.17
+DEAL:3d::243.26
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams