42 using namespace std::chrono;
43 const auto current_time = steady_clock::now();
44 return duration_cast<duration<double>>(current_time - mStartTime).
count();
53 const std::chrono::steady_clock::time_point mStartTime;
65 int minutes = elapsed_secs / 60;
66 int hours = minutes / 60;
67 minutes = minutes % 60;
68 double seconds = elapsed_secs - hours*3600.0 - minutes*60.0;
71 rOStream << hours <<
" [h] ";
74 rOStream << minutes <<
" [m] ";
76 seconds =
int(seconds);
78 rOStream << seconds <<
" [s]";
Definition: builtin_timer.h:26
BuiltinTimer()
Default constructor.
Definition: builtin_timer.h:32
double ElapsedSeconds() const
Definition: builtin_timer.h:40
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
REACTION_CHECK_STIFFNESS_FACTOR int
Definition: contact_structural_mechanics_application_variables.h:75
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432
int count
Definition: generate_frictional_mortar_condition.py:212
namespace
Definition: array_1d.h:793