test_RK_vs_spectral#
- test_RK_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
) – [‘1C1C-Ellipse’, ‘5C3k-Double_lobes’, ‘2C2C1C-Double_blob’, ‘6q6q’, ‘3C3k2q_6_lobes’, ‘3D-Heart’, ‘3C-Figure_eight’, ‘5C-Pinched_circle’, ‘3q1q’, ‘5D3k-Flower’, ‘4q4qD’, ‘2D-Circle’, ‘3q-Ellipse’, ‘complex_mass_charges’]params_buf (
numpy.ndarray
) – See NBS above.