From e9ff36235f344a4952f293c08cdc8328a515140f Mon Sep 17 00:00:00 2001 From: Giacomo Zuccarino Date: Thu, 21 Mar 2024 15:04:03 +0100 Subject: [PATCH] POD: use proper function to initialize the energy level --- src/POD/pod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/POD/pod.cpp b/src/POD/pod.cpp index 00315fa5fa..745ee81302 100644 --- a/src/POD/pod.cpp +++ b/src/POD/pod.cpp @@ -83,12 +83,12 @@ POD::POD() m_nSnapshots = 0; m_nModes = std::numeric_limits::max(); m_nFields = 0; - m_energyLevel = 100 - ENERGY_CHECK_TOLERANCE; m_nScalarFields = 0; m_nVectorFields = 0; m_nReconstructionSnapshots = 0; m_sizeInternal = 0; m_errorThreshold = 0; + setEnergyLevel(100.); # if BITPIT_ENABLE_MPI initializeCommunicator(comm);