my initial idea of not calling meshfem3D_models_getatten_val() at all does not work because that routine calls another routine to compute tau values; I thus now only avoid the problematic lines in that routine