GraviDy  1.0
Gravitational Dynamics N-body integrator
Public Member Functions | Public Attributes | List of all members
Gtime Struct Reference

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...
 

Detailed Description

This structure contains different times of the internal integration process.

This times are calculated using the function omp_get_wtime() from the OpenMP library.

Constructor & Destructor Documentation

§ Gtime()

Gtime::Gtime ( )
inline

Member Data Documentation

§ correction_end

Gtime::correction_end

Member 'correction_end' contains the final time of the correction.

§ correction_ini

Gtime::correction_ini

Member 'correction_ini' contains the starting time of the correction.

§ gflops

Gtime::gflops

Member 'gflops' contains the amount of Giga FLOPs of the force update method.

This is calculated with the following formula: $ 60.10e-9 \cdot \frac{1}{C_{\rm time}}\cdot \sum_{t=0}^{t=T} N_{\rm act} N $ where $(N_{\rm act} N)$ is the amount of gravitational interactions, $C_{\rm time}$ the elapsed clock-time of the process, $T$ a determinated integration time.

§ grav_end

Gtime::grav_end

Member 'grav_end' contains the final time of the gravitational interaction.

§ grav_ini

Gtime::grav_ini

Member 'grav_ini' contains the starting time of the gravitational interaction.

§ integration_end

Gtime::integration_end

Member 'integration_end' contains the final time of the integration.

§ integration_ini

Gtime::integration_ini

Member 'integration_ini' contains the starting time of the integration.

§ prediction_end

Gtime::prediction_end

Member 'prediction_end' contains the final time of the prediction.

§ prediction_ini

Gtime::prediction_ini

Member 'prediction_ini' contains the starting time of the prediction.

§ reduce_end

Gtime::reduce_end

Member 'reduce_end' contains the final time of the forces reduction.

§ reduce_forces_end

Gtime::reduce_forces_end

Member 'reduce_end' contains the final time of the forces reduction on CPU.

§ reduce_forces_ini

Gtime::reduce_forces_ini

Member 'reduce_ini' contains the starting time of the forces reduction on CPU.

§ reduce_ini

Gtime::reduce_ini

Member 'reduce_ini' contains the starting time of the forces reduction.

§ update_end

Gtime::update_end

Member 'update_end' contains the final time of the forces update.

§ update_ini

Gtime::update_ini

Member 'update_ini' contains the starting time of the forces update.


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