modelAssertContinuousTrajectory

Assert correctness of a whole solution trajectory

Information

A testing facitilty for ensuring the correctness of a continuous variabl. Can be useful in checking a solution when
  • Analytical solution is known in advance 
  • Comparing a new implementation with an old one 
  • Validating a new numerical solvers 
Practical usage can be followed by the GenKinetics library, see here

Developed by Atiyah Elsheikh

Parameters

TypeNameDefaultDescription
RealMaxAccErr1e-3Maximum Accumulation Error
Stringname""Name of Test

Components

TypeNameDefaultDescription
RealT1First trajectory
RealT2Second trajectory
RealAreaThe area of the difference between the input trajectories