From f80a49df09113e27f9c4144b2aea1dda4e3a5d66 Mon Sep 17 00:00:00 2001 From: Sebastian Proell Date: Thu, 22 Sep 2022 16:38:31 +0200 Subject: [PATCH] Increase precision of time written in xdmf output --- source/base/data_out_base.cc | 1 + tests/data_out/data_out_hdf5_01.cc | 6 ++++-- .../data_out_hdf5_01.with_hdf5=true.with_mpi=false.output | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/source/base/data_out_base.cc b/source/base/data_out_base.cc index 99fc2c4e93..aceb6710ff 100644 --- a/source/base/data_out_base.cc +++ b/source/base/data_out_base.cc @@ -9783,6 +9783,7 @@ XDMFEntry::get_xdmf_content(const unsigned int indent_level) const return ""; std::stringstream ss; + ss.precision(12); ss << indent(indent_level + 0) << "\n"; ss << indent(indent_level + 1) << "