| 267 | 
  | 
      painCave.isFatal = 1; | 
| 268 | 
  | 
      simError(); | 
| 269 | 
  | 
    } | 
| 270 | 
< | 
  } else if (args_info.bor_given){ | 
| 270 | 
> | 
  } else if (args_info.ior_given){ | 
| 271 | 
  | 
    if (args_info.rcut_given) { | 
| 272 | 
< | 
      analyser = new BOPofR(info, dumpFileName, sele1, args_info.rcut_arg, | 
| 272 | 
> | 
      analyser = new IcosahedralOfR(info, dumpFileName, sele1,  | 
| 273 | 
> | 
                                    args_info.rcut_arg, | 
| 274 | 
> | 
                                    args_info.nbins_arg, maxLen); | 
| 275 | 
> | 
    } else { | 
| 276 | 
> | 
      sprintf( painCave.errMsg, | 
| 277 | 
> | 
               "A cutoff radius (rcut) must be specified when calculating Bond Order Parameters"); | 
| 278 | 
> | 
      painCave.severity = OPENMD_ERROR; | 
| 279 | 
> | 
      painCave.isFatal = 1; | 
| 280 | 
> | 
      simError(); | 
| 281 | 
> | 
    } | 
| 282 | 
> | 
  } else if (args_info.for_given){ | 
| 283 | 
> | 
    if (args_info.rcut_given) { | 
| 284 | 
> | 
      analyser = new FCCOfR(info, dumpFileName, sele1, args_info.rcut_arg, | 
| 285 | 
  | 
                            args_info.nbins_arg, maxLen); | 
| 286 | 
  | 
    } else { | 
| 287 | 
  | 
      sprintf( painCave.errMsg, |