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 fromnm
which also appear innm2
to astd::vector
of nuclei. The functionexpr
, a function ofZ
,N
, andA
, is also used to determine which nuclei will be added to the distribution.