#include <vndstat.h>
Public Methods | |
SOLVER_STATS () | |
Constructor. | |
void | Reset () |
Resets the statistics. | |
void | SetRelError ( double t, double e ) |
Sets relative error. More... | |
void | SetAbsError ( double t, const double e ) |
Sets absolute error. More... | |
double | GetMaxRelError () const |
Returns the maximum relative error. More... | |
double | GetMaxAbsError () const |
Returns the maximum absolute error. More... | |
double | GetWhereMaxRelError () const |
Returns the point of the maximum relative error. More... | |
double | GetWhereMaxAbsError () const |
Returns the point of the maximum absolute error. More... | |
double | GetRelError () const |
Returns the current relative error. More... | |
double | GetAbsError () const |
Returns the current absolute error. More... | |
double | GetWhereRelError () const |
Returns the point of the current relative error. More... | |
double | GetWhereAbsError () const |
Returns the point of the current absolute error. More... | |
void | AddUserTime ( double time ) |
Adds CPU time. More... | |
double | GetUserTime () const |
Returns the CPU time. | |
unsigned int | GetAcceptedSteps () const |
Returns the number of accepted steps. | |
unsigned int | GetRejectedSteps () const |
Returns the number of rejected steps. | |
unsigned int | GetTotalSteps () const |
Returns the number of accepted and rejected steps. | |
void | AccRejStep ( bool b ) |
Keeps track of the accepted and rejected steps. More... |
The purpose of this class is to store statistics collected during an integration.
|
Constructor.
|
|
Resets the statistics.
|
|
Sets relative error. This function sets the relative error at a given point and also sets the maximum relative error.
|
|
Sets absolute error. This function sets the absolute error at a given point and also sets the maximum absolute error.
|
|
Returns the maximum relative error.
|
|
Returns the maximum absolute error.
|
|
Returns the point of the maximum relative error.
|
|
Returns the point of the maximum absolute error.
|
|
Returns the current relative error.
|
|
Returns the current absolute error.
|
|
Returns the point of the current relative error.
|
|
Returns the point of the current absolute error.
|
|
Adds CPU time.
This function adds
|
|
Returns the CPU time.
|
|
Returns the number of accepted steps.
|
|
Returns the number of rejected steps.
|
|
Returns the number of accepted and rejected steps.
|
|
Keeps track of the accepted and rejected steps.
|