Text this: Criteria for mesh refinement in nonlocal damage finite element analyses