VolumeIntegrals_GRMHD has a maximum value for out_every

Issue #2798 resolved
Bruno Giacomazzo created an issue

In WVUThorns_Diagnostics/VolumeIntegrals_GRMHD the parameter VolIntegral_out_every is defined in the following way:

CCTK_INT VolIntegral_out_every "How often to compute volume integrals?" STEERABLE = ALWAYS
{
  0:1000 :: "zero (disable integration) or some other number"
} 0

Is there a reason for not allowing the user to save every 1001 or larger number of iterations? I discovered it recently because I set it to 1024 and of course I got an error.

WARNING[L1,P0] (Cactus): Major error in parameter file 'BH.par' line 684: Range error setting parameter 'VolumeIntegrals_GRMHD::VolIntegral_out_every' to '1024'
WARNING level 0 from host lrdn4615.leonardo.local process 0

  in thorn Cactus, file /leonardo/home/userexternal/bgiacoma/ET_2023_11/Cactus/src/main/ProcessParameterDatabase.c:201:

  -> CCTKi_SetParameterSetMask: 1 major error in parameter file

Comments (4)

  1. Log in to comment