Class containing basic functions used in generic codes.
More...
#include <comp.hpp>
|
void | d_h_m_s (double, double &, double &, double &, double &) |
| This method converts the walltime to days, hours, miutes and seconds. More...
|
|
Class containing basic functions used in generic codes.
◆ d_h_m_s()
void Comp::d_h_m_s |
( |
double |
time, |
|
|
double & |
days, |
|
|
double & |
hours, |
|
|
double & |
minutes, |
|
|
double & |
seconds |
|
) |
| |
|
private |
This method converts the walltime to days, hours, miutes and seconds.
- Parameters
-
[in] | time | Input walltime. |
[out] | days | Numbers of days. |
[out] | hours | Numbers of hours. |
[out] | minutes | Numbers of minutes. |
[out] | seconds | Numbers of seconds. |
◆ end_time()
This method sets the end walltime.
◆ print_time()
void Comp::print_time |
( |
| ) |
|
This method prints the elapsed walltime.
◆ start_time()
void Comp::start_time |
( |
| ) |
|
This method sets the start walltime.
◆ end
◆ start
The documentation for this class was generated from the following files:
- /Users/sfarrens/Documents/Codes/github/sfof/sfof/src/comp.hpp
- /Users/sfarrens/Documents/Codes/github/sfof/sfof/src/comp.cpp