27 namespace Solver_CPU {
41 static void ThreadsArrayInfo (
const std::shared_ptr<MF::Database::ThreadArray>& ThreadArray_Ptr);
43 static void ThreadsNodeInfo (
const std::shared_ptr<MF::Database::ThreadArray>& ThreadArray_Ptr);
45 static void ExtendedInfo(
const std::shared_ptr<MF::Solver_CPU::ProgramParameters>& ProgramParameters_Ptr,
const std::shared_ptr<MF::Solver_CPU::CaseParameters>& CaseParameters_Ptr,
46 const std::shared_ptr<MF::Database::ConfigData>& ConfigData_Ptr);
50 static void PrintGridStatistics(
const std::shared_ptr<MF::Database::ThreadArray>& ThreadArray_Ptr);
54 static void PrintTimeStepStatistics(
double& V_SimError,
double& M_SimError,
const unsigned int & SimStep,
const std::shared_ptr<MF::Database::ThreadArray>& ThreadArray_Ptr,
55 const std::shared_ptr<MF::Solver_CPU::CaseParameters>& CaseParameters_Ptr);
58 std::chrono::time_point<std::chrono::high_resolution_clock> TimeStop,
59 unsigned int SimStep,
const std::shared_ptr<MF::Database::ThreadArray>& ThreadArray_Ptr);
static unsigned int m_iter
static int getMemoryUsageValue()
static void PrintTimeStepStatistics(double &V_SimError, double &M_SimError, const unsigned int &SimStep, const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr, const std::shared_ptr< MF::Solver_CPU::CaseParameters > &CaseParameters_Ptr)
Prints on console time step statistics.
static void PrintComputationStatistics(std::chrono::time_point< std::chrono::high_resolution_clock > TimeStart, std::chrono::time_point< std::chrono::high_resolution_clock > TimeStop, unsigned int SimStep, const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr)
Prints on console final computation statistics.
static void PrintCPUInfo(const int &CPU_ThreadsNr)
Prints on console CPU usage info.
static void ExtendedInfo(const std::shared_ptr< MF::Solver_CPU::ProgramParameters > &ProgramParameters_Ptr, const std::shared_ptr< MF::Solver_CPU::CaseParameters > &CaseParameters_Ptr, const std::shared_ptr< MF::Database::ConfigData > &ConfigData_Ptr)
Prints on console case and program parameters and also uid-threads defined in thread_params.cfg.
static unsigned int m_SimPreviousStep
static void ThreadsArrayInfo(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr)
Prints on console information about all MFThreads.
The ConsoleWriter class collects functions that prints information on console.
static std::chrono::time_point< std::chrono::high_resolution_clock > m_TimePreviousStep
static void ThreadsNodeInfo(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr)
Prints on console information about all Threads node.
static int parseFileLine(char *line)
static void PrintGridStatistics(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr)
Prints on console basic grid statistics.
static void PrintComputationParameters(const std::shared_ptr< MF::Solver_CPU::CaseParameters > &CaseParameters_Ptr)
Prints on console basic solution parameters.