test_ODE_vs_spectral#
- test_ODE_vs_spectral(NBS, params_buf, vector_calls, LowLevel, NoSymIfPossible)[source]#
Tests that the Fourier periodic spectral solver agrees with the time forward Runge-Kutta solver.
- Parameters:
NoSymIfPossible (
bool
) – [True, False]LowLevel (
bool
) – [True, False]vector_calls (
bool
) – [True, False]NBS (
choreo.cython._NBodySyst.NBodySyst
) – [‘5C3k-Double_lobes’, ‘2C2C1C-Double_blob’, ‘3D-Heart’, ‘3C-Figure_eight’, ‘5C-Pinched_circle’, ‘5D3k-Flower’, ‘complex_mass_charges’]params_buf (
numpy.ndarray
) – See NBS above.