Corrected implementation of ellipsoidal dynamics, made ashared base class for the time-integrators, templated the time-integrators (and so reversed changes that this PR had previously made to random_mars src files), combined docs of all three integrators.

This commit is contained in:
Sam Cameron
2021-04-30 16:30:04 +01:00
parent 5a3cb38705
commit b88cdd6890
36 changed files with 1485 additions and 2575 deletions

View File

@ -94,21 +94,6 @@ double RanMars::uniform()
return uni;
}
/* ----------------------------------------------------------------------
uniform RN shifted to be symmetric about zero (for fix bd/sphere).
------------------------------------------------------------------------- */
double RanMars::uniform_middle()
{
return uniform()-0.5;
}
/* ----------------------------------------------------------------------
Return 0 (for fix/bd/sphere).
------------------------------------------------------------------------- */
double RanMars::zero_rng()
{
return 0.0;
}
/* ----------------------------------------------------------------------
gaussian RN