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