SlowDown Algorithmic Regularization (SDAR)
Algorithmic Regularization with slowdown method for integrating few-body motions
AR::Profile Class Reference

profiling class for AR integrator More...

#include <profile.h>

Public Types

typedef long long unsigned int UInt64
 

Public Member Functions

 Profile ()
 
void clear ()
 
void printColumnTitle (std::ostream &_fout, const int _width=20)
 print titles of class members using column style More...
 
void printColumn (std::ostream &_fout, const int _width=20)
 print data of class members using column style More...
 
void writeBinary (FILE *_fout)
 write class data with BINARY format More...
 
void readBinary (FILE *_fin)
 read class data with BINARY format and initial the array More...
 

Public Attributes

UInt64 step_count_sum
 
UInt64 step_count_tsyn_sum
 
UInt64 step_count
 
UInt64 step_count_tsyn
 

Detailed Description

profiling class for AR integrator

Member Typedef Documentation

◆ UInt64

typedef long long unsigned int AR::Profile::UInt64

Constructor & Destructor Documentation

◆ Profile()

AR::Profile::Profile ( )
inline

Member Function Documentation

◆ clear()

void AR::Profile::clear ( )
inline
Here is the caller graph for this function:

◆ printColumn()

void AR::Profile::printColumn ( std::ostream &  _fout,
const int  _width = 20 
)
inline

print data of class members using column style

print data of class members in one line for column style. Notice no newline is printed at the end

Parameters
[out]_foutstd::ostream output object
[in]_widthprint width (defaulted 20)
Here is the caller graph for this function:

◆ printColumnTitle()

void AR::Profile::printColumnTitle ( std::ostream &  _fout,
const int  _width = 20 
)
inline

print titles of class members using column style

print titles of class members in one line for column style

Parameters
[out]_foutstd::ostream output object
[in]_widthprint width (defaulted 20)
Here is the caller graph for this function:

◆ readBinary()

void AR::Profile::readBinary ( FILE *  _fin)
inline

read class data with BINARY format and initial the array

Parameters
[in]_finfile IO for read
Here is the caller graph for this function:

◆ writeBinary()

void AR::Profile::writeBinary ( FILE *  _fout)
inline

write class data with BINARY format

Parameters
[in]_foutfile IO for write
Here is the caller graph for this function:

Member Data Documentation

◆ step_count

UInt64 AR::Profile::step_count

◆ step_count_sum

UInt64 AR::Profile::step_count_sum

◆ step_count_tsyn

UInt64 AR::Profile::step_count_tsyn

◆ step_count_tsyn_sum

UInt64 AR::Profile::step_count_tsyn_sum

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