Function nucdist_set (o2scl)

O2scl : Function List

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 a std::vector object. The function expr, a function of Z and N, determines which nuclei will be added to the distribution.

Note

This function is actually in the o2scl namespace. Unfortunately doxygen has difficulty extending namespaces in separate doxyfile instances.