From 3e25091f2230a177db56e900f64eaa99da1bd1c1 Mon Sep 17 00:00:00 2001 From: Sigfried Haering Date: Fri, 29 Mar 2024 17:23:23 -0700 Subject: [PATCH] ... --- src/loMach.cpp | 1 + src/loMachIO.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/loMach.cpp b/src/loMach.cpp index 7b48e16ea..3d15d9837 100644 --- a/src/loMach.cpp +++ b/src/loMach.cpp @@ -89,6 +89,7 @@ LoMachSolver::~LoMachSolver() { delete thermo_; delete sponge_; delete turbModel_; + delete meshData_; // allocated in constructor delete groupsMPI; diff --git a/src/loMachIO.cpp b/src/loMachIO.cpp index 26fa325de..76afedcb8 100644 --- a/src/loMachIO.cpp +++ b/src/loMachIO.cpp @@ -123,6 +123,7 @@ void LoMachSolver::read_restart_files_hdf5(hid_t file, bool serialized_read) { MPI_Bcast(&(temporal_coeff_.time), 1, MPI_DOUBLE, 0, TPSCommWorld); MPI_Bcast(&(temporal_coeff_.dt), 1, MPI_DOUBLE, 0, TPSCommWorld); MPI_Bcast(&read_order, 1, MPI_INT, 0, TPSCommWorld); + MPI_Bcast(&thermoPressure_, 1, MPI_DOUBLE, 0, TPSCommWorld); } if (rank0_) {