Skip to content
Snippets Groups Projects
Commit d56434e2 authored by Elias Pipping's avatar Elias Pipping
Browse files

[Cleanup] Kill timer

parent d99e5e19
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
#include <dune/common/parametertree.hh> #include <dune/common/parametertree.hh>
#include <dune/common/parametertreeparser.hh> #include <dune/common/parametertreeparser.hh>
#include <dune/common/shared_ptr.hh> #include <dune/common/shared_ptr.hh>
#include <dune/common/timer.hh>
#pragma clang diagnostic push #pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wignored-qualifiers" #pragma clang diagnostic ignored "-Wignored-qualifiers"
...@@ -155,8 +154,6 @@ void initPython() { ...@@ -155,8 +154,6 @@ void initPython() {
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
try { try {
Dune::Timer timer;
Dune::ParameterTree parset; Dune::ParameterTree parset;
Dune::ParameterTreeParser::readINITree(srcdir "/one-body-sample.parset", Dune::ParameterTreeParser::readINITree(srcdir "/one-body-sample.parset",
parset); parset);
...@@ -589,10 +586,6 @@ int main(int argc, char *argv[]) { ...@@ -589,10 +586,6 @@ int main(int argc, char *argv[]) {
(boost::format("obs%d") % run).str()); (boost::format("obs%d") % run).str());
} }
} }
if (parset.get<bool>("io.enableTimer"))
std::cerr << std::endl << "Making " << timesteps << " time steps took "
<< timer.elapsed() << "s" << std::endl;
iterationWriter.close(); iterationWriter.close();
relaxationWriter.close(); relaxationWriter.close();
......
# -*- mode:conf -*- # -*- mode:conf -*-
[io] [io]
printProgress = false printProgress = false
enableTimer = false
writeVTK = false writeVTK = false
[problem] [problem]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment