integratorTestAccess

namespace integrator_step_test

Functions

inline void stepIntegrator(StateVecIntegrator &integrator, double currentTime, double timeStep)

Advance an integrator through its private stepping entry point for testing.

Parameters:
  • integrator – Integrator to advance.

  • currentTime – [s] Start time of the integration step.

  • timeStep – [s] Duration of the integration step.

inline void stepIntegrator(StateVecIntegrator *integrator, double currentTime, double timeStep)

Advance an integrator supplied by pointer for testing.

Parameters:
  • integrator – Non-null pointer to the integrator to advance.

  • currentTime – [s] Start time of the integration step.

  • timeStep – [s] Duration of the integration step.

class StateVecIntegratorTestAccess
#include <integratorTestAccess.h>

Friend access to the integrator’s private stepping entry point for native tests.

Public Static Functions

static inline void step(StateVecIntegrator &integrator, double currentTime, double timeStep)

Prepare and advance an integrator through its normal stepping entry point.

Parameters:
  • integrator – Integrator to advance.

  • currentTime – [s] Start time of the integration step.

  • timeStep – [s] Duration of the integration step.