structured population code

C++ code for calculation of the quantities related to structured populations.