|
PolyFEM
|
timers from polyfem. More...
#include <OutStatsData.hpp>
Public Member Functions | |
| double | total_time () const |
| computes total time | |
Public Attributes | |
| double | building_basis_time = 0 |
| time to construct the basis | |
| double | loading_mesh_time = 0 |
| time to load the mesh | |
| double | computing_poly_basis_time = 0 |
| time to build the polygonal/polyhedral bases | |
| double | assembling_stiffness_mat_time = 0 |
| time to assembly | |
| double | assembling_mass_mat_time = 0 |
| time to assembly mass | |
| double | assigning_rhs_time = 0 |
| time to computing the rhs | |
| double | solving_time = 0 |
| time to solve | |
timers from polyfem.
Definition at line 17 of file OutStatsData.hpp.
|
inline |
computes total time
Definition at line 37 of file OutStatsData.hpp.
References assembling_mass_mat_time, assembling_stiffness_mat_time, assigning_rhs_time, building_basis_time, computing_poly_basis_time, loading_mesh_time, and solving_time.
Referenced by forward_simulation_with_legacy_state(), and forward_simulation_with_varform_state().
| double polyfem::io::OutRuntimeData::assembling_mass_mat_time = 0 |
time to assembly mass
Definition at line 29 of file OutStatsData.hpp.
Referenced by polyfem::legacy::State::assemble_mass_mat(), polyfem::varform::BilaplacianVarForm::assemble_mass_mat(), polyfem::varform::ElasticVarForm::assemble_mass_mat(), polyfem::varform::FluidVarForm::assemble_mass_mat(), polyfem::varform::IncompressibleElasticVarForm::assemble_mass_mat(), polyfem::varform::ScalarVarForm::assemble_mass_mat(), polyfem::io::OutStatsData::save_json(), and total_time().
| double polyfem::io::OutRuntimeData::assembling_stiffness_mat_time = 0 |
time to assembly
Definition at line 27 of file OutStatsData.hpp.
Referenced by polyfem::legacy::State::assemble_mass_mat(), polyfem::legacy::State::build_stiffness_mat(), polyfem::varform::BilaplacianVarForm::build_stiffness_mat(), polyfem::varform::FluidVarForm::build_stiffness_mat(), polyfem::varform::IncompressibleElasticVarForm::build_stiffness_mat(), polyfem::varform::LinearElasticVarForm::build_stiffness_mat(), polyfem::io::OutStatsData::save_json(), and total_time().
| double polyfem::io::OutRuntimeData::assigning_rhs_time = 0 |
time to computing the rhs
Definition at line 31 of file OutStatsData.hpp.
Referenced by polyfem::legacy::State::assemble_rhs(), polyfem::varform::BilaplacianVarForm::assemble_rhs(), polyfem::varform::ElasticVarForm::assemble_rhs(), polyfem::varform::FluidVarForm::assemble_rhs(), polyfem::varform::ScalarVarForm::assemble_rhs(), polyfem::io::OutStatsData::save_json(), and total_time().
| double polyfem::io::OutRuntimeData::building_basis_time = 0 |
time to construct the basis
Definition at line 21 of file OutStatsData.hpp.
Referenced by polyfem::legacy::State::build_basis(), polyfem::varform::VarForm::build_fe_space(), polyfem::io::OutStatsData::save_json(), and total_time().
| double polyfem::io::OutRuntimeData::computing_poly_basis_time = 0 |
time to build the polygonal/polyhedral bases
Definition at line 25 of file OutStatsData.hpp.
Referenced by polyfem::legacy::State::build_polygonal_basis(), polyfem::varform::VarForm::build_polygonal_basis(), polyfem::io::OutStatsData::save_json(), and total_time().
| double polyfem::io::OutRuntimeData::loading_mesh_time = 0 |
time to load the mesh
Definition at line 23 of file OutStatsData.hpp.
Referenced by polyfem::io::OutStatsData::save_json(), polyfem::varform::VarForm::set_mesh(), and total_time().
| double polyfem::io::OutRuntimeData::solving_time = 0 |
time to solve
Definition at line 33 of file OutStatsData.hpp.
Referenced by polyfem::io::OutStatsData::save_json(), polyfem::varform::BilaplacianVarForm::solve_problem(), polyfem::varform::IncompressibleElasticVarForm::solve_problem(), polyfem::varform::LinearElasticVarForm::solve_problem(), polyfem::legacy::State::solve_problem(), and total_time().