From: Timo Heister Date: Tue, 29 Oct 2019 06:54:20 +0000 (+0100) Subject: add a .visit master file with times X-Git-Tag: v9.2.0-rc1~835^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f491a28cfc52ce4da239a7633080095d322f0844;p=dealii.git add a .visit master file with times --- diff --git a/examples/step-18/step-18.cc b/examples/step-18/step-18.cc index b867bfada5..9ef36d5c58 100644 --- a/examples/step-18/step-18.cc +++ b/examples/step-18/step-18.cc @@ -1288,6 +1288,13 @@ namespace Step18 std::pair(present_time, pvtu_master_filename)); std::ofstream pvd_output("solution.pvd"); DataOutBase::write_pvd_record(pvd_output, times_and_names); + + std::ofstream visit_output("solution.visit"); + static std::vector>> + times_and_pieces; + times_and_pieces.emplace_back( + present_time, std::vector(1, pvtu_master_filename)); + DataOutBase::write_visit_record(visit_output, times_and_pieces); } }