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 @@
#include <dune/common/parametertree.hh>
#include <dune/common/parametertreeparser.hh>
#include <dune/common/shared_ptr.hh>
#include <dune/common/timer.hh>
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wignored-qualifiers"
......@@ -155,8 +154,6 @@ void initPython() {
int main(int argc, char *argv[]) {
try {
Dune::Timer timer;
Dune::ParameterTree parset;
Dune::ParameterTreeParser::readINITree(srcdir "/one-body-sample.parset",
parset);
......@@ -589,10 +586,6 @@ int main(int argc, char *argv[]) {
(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();
relaxationWriter.close();
......
# -*- mode:conf -*-
[io]
printProgress = false
enableTimer = false
writeVTK = false
[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