for a refinement level that evaluates every rl_every the routines are
called in EVOL whenever (cctk_iteration-1) % rl_every is zero (ie the
iteration after cctk_iteration % rl_every was valid). Thus calc_offset
needs to be set to 1 and removed from the iteration number rather than
checked for as a remaineder.
for a refinement level that evaluates every rl_every the routines are called in EVOL whenever (cctk_iteration-1) % rl_every is zero (ie the iteration after cctk_iteration % rl_every was valid). Thus calc_offset needs to be set to 1 and removed from the iteration number rather than checked for as a remaineder.