BatheTwoStep
Last updated
Last updated
Starting from version 2.7, customisation of spectral radius () and sub-step size () is supported.
The algorithm is known to be able to conserve energy and momentum.
References:
The implementation follows the original algorithm. The only difference is the step size defined in suanPan
is the mean step size of two sub-step sizes, that is in the references.
For further discussions on this type of algorithm, one can check the following references.
Using integrator BatheTwoStep (1)
with two optional parameters omitted gives the same results as in versions prior to version 2.7.
The spectral radius ranges from 0 to 1, both ends inclusive.
The sub-step size ranges from 0 to 1, both ends exclusive.
For trapezoidal rule,
Then,
One could obtain
The effective stiffness is then
The second step is computed by
Hence,
The effective stiffness is then
The parameters satisfy , and