External module function Lcalc - used by mcdiff and mcphas

In order to calculate the angular momentum $\langle \hat \mathbf L\rangle$ the following function has to be present in the module file *.so:

extern "C" void Lcalc(Vector & L,double * T, Vector & Hxc, Vector & Hext,
                      double * gJ, Vector & MODPAR,
                      char ** sipffilename, ComplexMatrix & Icalc_parstorage);

it works exactly as mcalc, therefore we do not give more details here.



Martin Rotter 2017-01-10