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 522 of file OutData.hpp.
polyfem::io::RuntimeStatsCSVWriter::RuntimeStatsCSVWriter | ( | const std::string & | path, |
const State & | state, | ||
const double | t0, | ||
const double | dt | ||
) |
Definition at line 2948 of file OutData.cpp.
References file.
polyfem::io::RuntimeStatsCSVWriter::~RuntimeStatsCSVWriter | ( | ) |
Definition at line 2954 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 2959 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.
Referenced by polyfem::State::solve_transient_tensor_nonlinear().
|
protected |
Definition at line 534 of file OutData.hpp.
Referenced by write().
|
protected |
Definition at line 531 of file OutData.hpp.
Referenced by RuntimeStatsCSVWriter(), write(), and ~RuntimeStatsCSVWriter().
|
protected |
Definition at line 532 of file OutData.hpp.
Referenced by write().
|
protected |
Definition at line 533 of file OutData.hpp.
Referenced by write().
|
protected |
Definition at line 535 of file OutData.hpp.
Referenced by write().
|
protected |
Definition at line 537 of file OutData.hpp.
Referenced by write().
|
protected |
Definition at line 536 of file OutData.hpp.
Referenced by write().