/// <summary>
 /// Reset the statistics.
 /// </summary>
 public override void Reset()
 {
     TimePoints          = 0;
     TransientIterations = 0;
     TransientTime.Reset();
     TransientSolveTime = TimeSpan.Zero;
     Accepted           = 0;
     Rejected           = 0;
 }
Example #2
0
 /// <summary>
 /// Clear all statistics.
 /// </summary>
 public void Clear()
 {
     Iterations = 0;
     SolveTime.Reset();
     LoadTime.Reset();
     TimePoints          = 0;
     TransientIterations = 0;
     TransientTime.Reset();
     TransientSolveTime = TimeSpan.Zero;
     Accepted           = 0;
     Rejected           = 0;
 }