PrincetonUniversity / athena-public-version

(MOVED) Athena++ GRMHD code and adaptive mesh refinement (AMR) framework. Active repository --->
https://github.com/PrincetonUniversity/athena
BSD 3-Clause "New" or "Revised" License
160 stars 118 forks source link

Possible error message typo in mesh.cpp #38

Closed morganemacleod closed 4 years ago

morganemacleod commented 4 years ago

Hi folks,

While incorrectly setting up an input file, I noticed that this error message on line ~331 of mesh.cpp might be incorrect:

      msg << "### FATAL ERROR in Mesh constructor" << std::endl
          << "Refinement level exceeds the maximum level (specify "
          << "'maxlevel' parameter in <mesh> input block if adaptive)."
          << std::endl;
      ATHENA_ERROR(msg);

(Should this read 'numlevel')?

Thanks!

Morgan

felker commented 4 years ago

Thanks! Fixed upstream in private repo.