Function nucdist_pair_set (o2scl)

O2scl : Function List

void o2scl::nucdist_pair_set(std::vector<nucleus> &dist, nucmass &nm, nucmass &nm2, std::string expr = "1", int maxA = 400, bool include_neutron = false)

Set a distribution of nuclei from two sets of nuclear masses and a function string.

Given two nuclear mass formulas given in nm, and nm2, this adds allo nuclei from nm which also appear in nm2 to a std::vector of nuclei. The function expr, a function of Z, N, and A, is also used to determine which nuclei will be added to the distribution.