PolyFEM
Loading...
Searching...
No Matches
polyfem::io::OutRuntimeData Class Reference

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
 

Detailed Description

timers from polyfem.

Definition at line 17 of file OutStatsData.hpp.

Member Function Documentation

◆ total_time()

double polyfem::io::OutRuntimeData::total_time ( ) const
inline

computes total time

Returns
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().

Here is the caller graph for this function:

Member Data Documentation

◆ assembling_mass_mat_time

◆ assembling_stiffness_mat_time

◆ assigning_rhs_time

◆ building_basis_time

double polyfem::io::OutRuntimeData::building_basis_time = 0

◆ computing_poly_basis_time

double polyfem::io::OutRuntimeData::computing_poly_basis_time = 0

◆ loading_mesh_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().

◆ solving_time


The documentation for this class was generated from the following file: