5#ifndef GKO_PUBLIC_CORE_LOG_SOLVER_PROGRESS_HPP_
6#define GKO_PUBLIC_CORE_LOG_SOLVER_PROGRESS_HPP_
12#include <ginkgo/core/log/logger.hpp>
37 std::ostream& output,
int precision = 6,
int column_width = 12);
51 std::ostream& output,
int precision = 6,
char separator =
',');
69 std::string output_file_prefix =
"solver_",
bool binary =
false);
This Logger outputs the value of all scalar values (and potentially vectors) stored internally by the...
Definition solver_progress.hpp:24
static std::shared_ptr< SolverProgress > create_scalar_table_writer(std::ostream &output, int precision=6, int column_width=12)
Creates a logger printing the value for all scalar values in the solver after each iteration in an AS...
static std::shared_ptr< SolverProgress > create_scalar_csv_writer(std::ostream &output, int precision=6, char separator=',')
Creates a logger printing the value for all scalar values in the solver after each iteration in a CSV...
static std::shared_ptr< SolverProgress > create_vector_storage(std::string output_file_prefix="solver_", bool binary=false)
Creates a logger storing all vectors and scalar values in the solver after each iteration on disk.
The logger namespace .
Definition convergence.hpp:22
The Ginkgo namespace.
Definition abstract_factory.hpp:20