Function nucdist_pair_set (o2scl)¶
-
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, andnm2, this adds allo nuclei fromnmwhich also appear innm2to astd::vectorof nuclei. The functionexpr, a function ofZ,N, andA, is also used to determine which nuclei will be added to the distribution.