ana1Tests.simiSolTest.odeSolver

odeSolver(solver, dt, tEnd, solSimi)[source]

Solve the ODE using a Runge-Kutta method

Parameters
  • solver (ode instance) – ode instance corresponding to out ODE

  • dt (float) – time step

  • tEnd (float) – end time

  • solSimi (dictionary) – similarity solution (for early times)

    • time: time array (without dimension)

    • g_sol: g array

    • g_p_sol: first derivativ of g array

    • f_sol: f array

    • f_p_sol: first derivativ of f array

Returns

solSimi – similarity solution (completed with all time steps)

  • time: time array (without dimension)

  • g_sol: g array

  • g_p_sol: first derivativ of g array

  • f_sol: f array

  • f_p_sol: first derivativ of f array

Return type

dictionary