Function nucdist_set (o2scl)¶
-
void o2scl::nucdist_set(std::vector<nucleus> &dist, nucmass &nm, std::string expr =
"1", int maxA = 400, bool include_neutron = false)¶ Set a distribution of nuclei from a mass formula and a function string.
Given a nuclear mass formula
nm, this adds nuclei to astd::vectorobject. The functionexpr, a function ofZandN, determines which nuclei will be added to the distribution.Note
This function is actually in the
o2sclnamespace. Unfortunately doxygen has difficulty extending namespaces in separate doxyfile instances.