PolyFEM
|
#include <OutData.hpp>
Public Member Functions | |
RuntimeStatsCSVWriter (const std::string &path, const State &state, const double t0, const double dt) | |
~RuntimeStatsCSVWriter () | |
void | write (const int t, const double forward, const double remeshing, const double global_relaxation, const Eigen::MatrixXd &sol) |
Protected Attributes | |
std::ofstream | file |
const State & | state |
const double | t0 |
const double | dt |
double | total_forward_solve_time = 0 |
double | total_remeshing_time = 0 |
double | total_global_relaxation_time = 0 |
Definition at line 499 of file OutData.hpp.
polyfem::io::RuntimeStatsCSVWriter::RuntimeStatsCSVWriter | ( | const std::string & | path, |
const State & | state, | ||
const double | t0, | ||
const double | dt | ||
) |
Definition at line 2980 of file OutData.cpp.
References file.
polyfem::io::RuntimeStatsCSVWriter::~RuntimeStatsCSVWriter | ( | ) |
Definition at line 2986 of file OutData.cpp.
References file.
void polyfem::io::RuntimeStatsCSVWriter::write | ( | const int | t, |
const double | forward, | ||
const double | remeshing, | ||
const double | global_relaxation, | ||
const Eigen::MatrixXd & | sol | ||
) |
Definition at line 2991 of file OutData.cpp.
References dt, file, getPeakRSS(), polyfem::State::mesh, polyfem::State::n_bases, state, t0, total_forward_solve_time, total_global_relaxation_time, and total_remeshing_time.
|
protected |
Definition at line 511 of file OutData.hpp.
Referenced by write().
|
protected |
Definition at line 508 of file OutData.hpp.
Referenced by RuntimeStatsCSVWriter(), write(), and ~RuntimeStatsCSVWriter().
|
protected |
Definition at line 509 of file OutData.hpp.
Referenced by write().
|
protected |
Definition at line 510 of file OutData.hpp.
Referenced by write().
|
protected |
Definition at line 512 of file OutData.hpp.
Referenced by write().
|
protected |
Definition at line 514 of file OutData.hpp.
Referenced by write().
|
protected |
Definition at line 513 of file OutData.hpp.
Referenced by write().