diff --git a/src/loMachIO.cpp b/src/loMachIO.cpp index 76afedcb8..6ea124771 100644 --- a/src/loMachIO.cpp +++ b/src/loMachIO.cpp @@ -123,7 +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); + MPI_Bcast(&thermoPressure_, 1, MPI_DOUBLE, 0, TPSCommWorld); } if (rank0_) { diff --git a/src/mesh_base.hpp b/src/mesh_base.hpp index 7c7357a5f..f9c1d1aad 100644 --- a/src/mesh_base.hpp +++ b/src/mesh_base.hpp @@ -86,7 +86,7 @@ class MeshBase { public: MeshBase(TPS::Tps *tps, LoMachOptions *loMach_opts, int order); - ~MeshBase(); + virtual ~MeshBase(); virtual void initializeMesh(); virtual void computeGridScale();