onix.salameche.CRAM_reality_check

onix.salameche.CRAM_reality_check(bucell, index_dic, N)[source]

This functions checks against negative and extremely small densities (same as onix.salameche.CRAM_density_check). In addition, it compares the calculated new densities with the BUCell.leave attribute (this attribute enables to know which isotopes should be produced or not during depletion). The comparison enables the function to detect nuclides that have a non-zero density but should have a zero density. Likewise, it can detect nuclides that should be produced but have zero density.

Parameters
  • bucell (onix.Cell) – BUCell being depleted

  • index_dict (dict) – Dictionnary where keys are nuclides z-a-m id and entries are their indexes in the density vector

  • N (numpy.array) – New density vector solution to the depletion equation