Skip to content

Commit

Permalink
POD: use proper function to initialize the energy level
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomo-zuccarino-optimad committed Mar 21, 2024
1 parent 63291ca commit e9ff362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/POD/pod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ POD::POD()
m_nSnapshots = 0;
m_nModes = std::numeric_limits<std::size_t>::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);
Expand Down

0 comments on commit e9ff362

Please sign in to comment.