Collection of data structures for storing information about linear solves. Currently only contains storage for the iteration counts and the linear solver time. More...
#include <oomph_utilities.h>
Public Member Functions | |
DocLinearSolverInfo () | |
Constructor. Initialised the Iterations_and_times vector of vector of pairs. More... | |
void | setup_new_time_step () |
Set up a new vector of pairs for a new time step. More... | |
void | clear_current_time_step () |
void | add_iteration_and_time (unsigned iter, double prec_setup_time, double linear_solver_time) |
Add a new iteration and time pair. More... | |
unsigned | current_ntime_step () const |
The number of time steps. More... | |
unsigned | current_nnewton_step () const |
The number of Newton steps. More... | |
Vector< Vector< Vector< double > > > & | iterations_and_times () |
Accessor function for the iteration and times. More... | |
Vector< Vector< Vector< double > > > | iterations_and_times () const |
Accessor function for the iteration and times (const version). More... | |
Private Attributes | |
Vector< Vector< Vector< double > > > | Iterations_and_times |
Storage for number of iterations during Newton steps. More... | |
Collection of data structures for storing information about linear solves. Currently only contains storage for the iteration counts and the linear solver time.
Definition at line 419 of file oomph_utilities.h.
|
inline |
Constructor. Initialised the Iterations_and_times vector of vector of pairs.
Definition at line 424 of file oomph_utilities.h.
|
inline |
Add a new iteration and time pair.
Definition at line 441 of file oomph_utilities.h.
|
inline |
Definition at line 434 of file oomph_utilities.h.
|
inline |
The number of Newton steps.
Definition at line 470 of file oomph_utilities.h.
|
inline |
The number of time steps.
Definition at line 464 of file oomph_utilities.h.
Accessor function for the iteration and times.
Definition at line 476 of file oomph_utilities.h.
Accessor function for the iteration and times (const version).
Definition at line 482 of file oomph_utilities.h.
|
inline |
Set up a new vector of pairs for a new time step.
Definition at line 427 of file oomph_utilities.h.
Storage for number of iterations during Newton steps.
Definition at line 489 of file oomph_utilities.h.