Sampling procedure
The evaporation model algorithm consists from repeating steps on decay channels. The stack of excited nuclear fragments is created and initial excited fragent is stored there. For the each fragment from the stack decay chain is sampled via loop of actions:
switch to the next excited fragment in the stack;
check if Fermi break-up model [FBU] is applicable and apply this model if it is the case;
sort out decay products between store of excited fragments and the list of final products;
if Fermi break up is not applicable compute probabilities of all evaporation channels;
if computed probability of a decay is not zero randomly select of a break-up channel and sample final state for the selected channel;
if computed probability of a decay is zero and the fragment is not known in isotope table try to apply a simplified decay method which may provide known isotopes in the final state;
if computed probability is zero and simplified decay method is not applicable stop the evaporation loop and store residual fragment in the list of final products
sort out decay products between store of excited fragments and the list of final products;
continue the main loop from (1).