PeleLM icon indicating copy to clipboard operation
PeleLM copied to clipboard

auto eos = pele::physics::PhysicsType::eos()

Open WHEREISSHE opened this issue 2 years ago • 2 comments

Hi! When I run examples in Exec, some of them went wrong with notion like:

../../../Submodules/PelePhysics/Reactions/ReactorUtils.H:197:29: error: ‘pele::physics::PhysicsType’ has not been declared
  197 |   auto eos = pele::physics::PhysicsType::eos();
      |                             ^~~~~~~~~~~
../../../Submodules/PelePhysics/Reactions/ReactorUtils.H: In function ‘void pele::physics::reactions::utils::fKernelSpec(int, int, amrex::Real, int, const Real*, amrex::Real*, const Real*, const Real*, const Real*)’:
../../../Submodules/PelePhysics/Reactions/ReactorUtils.H:307:29: error: ‘pele::physics::PhysicsType’ has not been declared
  307 |   auto eos = pele::physics::PhysicsType::eos();

Is that caused by eos unavailable in PeleLM or PelePhysics environment needed additional configuration? If you guys have any methods to figure it out, please let me know. Thanks!

WHEREISSHE avatar Jun 02 '22 11:06 WHEREISSHE

Note that not all the cases in Exec/RegTests have been moved to C++. Which case are you looking at in particular ?

esclapez avatar Jun 03 '22 17:06 esclapez

Note that not all the cases in Exec/RegTests have been moved to C++. Which case are you looking at in particular ?

Thanks! TaylorGreen, ForcedHIT, ControlledInflow, NaturalConvection all went wrong with the same error.

WHEREISSHE avatar Jun 04 '22 02:06 WHEREISSHE