To receive notifications about scheduled maintenance, please subscribe to the mailing-list You can subscribe to the mailing-list at

Commit 315941ce authored by Bastian Telgen's avatar Bastian Telgen
Browse files

add time output

parent 9acfa4f4
......@@ -43,6 +43,7 @@
#include "utilities/read_config.h"
#include <Eigen/Dense>
#include <chrono>
#include <fstream>
#include <sstream>
......@@ -79,6 +80,7 @@ using elements::tensor::as_vector;
int main(int argc, char **argv) {
const auto context = Context(&argc, &argv);
auto tbegin = std::chrono::steady_clock::now();
auto index = Mesh::size_type(0);
std::string config_file = "/mnt/io/validation/data/cube.config";
......@@ -248,5 +250,11 @@ int main(int argc, char **argv) {
PetscPrintf(Policy::communicator(), "Total time = %d[s]\n",
std::chrono::steady_clock::now() - tbegin)
PetscPrintf(Policy::communicator(), "Everything is done\n");
\ No newline at end of file
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