|
GraviDy
1.0
Gravitational Dynamics N-body integrator
|
This structure contains different times of the internal integration process. More...
#include <common.hpp>
Public Member Functions | |
| Gtime () | |
Public Attributes | |
| double | integration_ini |
| Member 'integration_ini' contains the starting time of the integration. More... | |
| double | integration_end |
| Member 'integration_end' contains the final time of the integration. More... | |
| double | prediction_ini |
| Member 'prediction_ini' contains the starting time of the prediction. More... | |
| double | prediction_end |
| Member 'prediction_end' contains the final time of the prediction. More... | |
| double | update_ini |
| Member 'update_ini' contains the starting time of the forces update. More... | |
| double | update_end |
| Member 'update_end' contains the final time of the forces update. More... | |
| double | correction_ini |
| Member 'correction_ini' contains the starting time of the correction. More... | |
| double | correction_end |
| Member 'correction_end' contains the final time of the correction. More... | |
| double | grav_ini |
| Member 'grav_ini' contains the starting time of the gravitational interaction. More... | |
| double | grav_end |
| Member 'grav_end' contains the final time of the gravitational interaction. More... | |
| double | reduce_ini |
| Member 'reduce_ini' contains the starting time of the forces reduction. More... | |
| double | reduce_end |
| Member 'reduce_end' contains the final time of the forces reduction. More... | |
| double | reduce_forces_ini |
| Member 'reduce_ini' contains the starting time of the forces reduction on CPU. More... | |
| double | reduce_forces_end |
| Member 'reduce_end' contains the final time of the forces reduction on CPU. More... | |
| float | gflops |
| Member 'gflops' contains the amount of Giga FLOPs of the force update method. More... | |
This structure contains different times of the internal integration process.
This times are calculated using the function omp_get_wtime() from the OpenMP library.
|
inline |
| Gtime::correction_end |
Member 'correction_end' contains the final time of the correction.
| Gtime::correction_ini |
Member 'correction_ini' contains the starting time of the correction.
| Gtime::gflops |
Member 'gflops' contains the amount of Giga FLOPs of the force update method.
This is calculated with the following formula:
where
is the amount of gravitational interactions,
the elapsed clock-time of the process,
a determinated integration time.
| Gtime::grav_end |
Member 'grav_end' contains the final time of the gravitational interaction.
| Gtime::grav_ini |
Member 'grav_ini' contains the starting time of the gravitational interaction.
| Gtime::integration_end |
Member 'integration_end' contains the final time of the integration.
| Gtime::integration_ini |
Member 'integration_ini' contains the starting time of the integration.
| Gtime::prediction_end |
Member 'prediction_end' contains the final time of the prediction.
| Gtime::prediction_ini |
Member 'prediction_ini' contains the starting time of the prediction.
| Gtime::reduce_end |
Member 'reduce_end' contains the final time of the forces reduction.
| Gtime::reduce_forces_end |
Member 'reduce_end' contains the final time of the forces reduction on CPU.
| Gtime::reduce_forces_ini |
Member 'reduce_ini' contains the starting time of the forces reduction on CPU.
| Gtime::reduce_ini |
Member 'reduce_ini' contains the starting time of the forces reduction.
| Gtime::update_end |
Member 'update_end' contains the final time of the forces update.
| Gtime::update_ini |
Member 'update_ini' contains the starting time of the forces update.
1.8.12