PeTar
N-body code for collisional gravitational systems
SysCounts Class Reference

#include <profile.hpp>

Collaboration diagram for SysCounts:
[legend]

Public Member Functions

 SysCounts ()
 
void clusterCount (const PS::S32 n, const PS::S32 ntimes=1)
 
void clearClusterCount ()
 
void getherClusterCount (int *n, int *count, const long unsigned int size)
 
void copyClusterCount (SysCounts &n_count)
 
void addClusterCount (SysCounts &n_count)
 
void printHist (std::ostream &fout, const PS::S64 n_loop=1, const PS::S32 width=PROFILE_PRINT_WIDTH) const
 
void dump (std::ostream &fout, const PS::S64 n_loop=1, const PS::S32 width=PROFILE_PRINT_WIDTH) const
 
void dumpHist (std::ostream &fout, const PS::S64 n_loop=1, const PS::S32 width=PROFILE_PRINT_WIDTH) const
 
void dumpName (std::ostream &fout, const PS::S32 width=PROFILE_PRINT_WIDTH) const
 
void clear ()
 

Public Attributes

NumCounter hard_single
 
NumCounter hard_isolated
 
NumCounter hard_connected
 
NumCounter hard_interrupt
 
NumCounter cluster_isolated
 
NumCounter cluster_connected
 
NumCounter ARC_substep_sum
 
NumCounter ARC_tsyn_step_sum
 
NumCounter ARC_n_groups
 
NumCounter ARC_n_groups_iso
 
NumCounter H4_step_sum
 
NumCounter n_neighbor_zero
 
NumCounter ep_ep_interact
 
NumCounter ep_sp_interact
 
const PS::S32 n_counter
 
std::map< PS::S32, PS::S32 > n_cluster
 Histogram of number of particles in clusters. More...
 

Constructor & Destructor Documentation

◆ SysCounts()

SysCounts::SysCounts ( )
inline

Member Function Documentation

◆ addClusterCount()

void SysCounts::addClusterCount ( SysCounts n_count)
inline

◆ clear()

void SysCounts::clear ( )
inline

◆ clearClusterCount()

void SysCounts::clearClusterCount ( )
inline

◆ clusterCount()

void SysCounts::clusterCount ( const PS::S32  n,
const PS::S32  ntimes = 1 
)
inline

◆ copyClusterCount()

void SysCounts::copyClusterCount ( SysCounts n_count)
inline

◆ dump()

void SysCounts::dump ( std::ostream &  fout,
const PS::S64  n_loop = 1,
const PS::S32  width = PROFILE_PRINT_WIDTH 
) const
inline
Here is the call graph for this function:

◆ dumpHist()

void SysCounts::dumpHist ( std::ostream &  fout,
const PS::S64  n_loop = 1,
const PS::S32  width = PROFILE_PRINT_WIDTH 
) const
inline

◆ dumpName()

void SysCounts::dumpName ( std::ostream &  fout,
const PS::S32  width = PROFILE_PRINT_WIDTH 
) const
inline
Here is the call graph for this function:

◆ getherClusterCount()

void SysCounts::getherClusterCount ( int *  n,
int *  count,
const long unsigned int  size 
)
inline

◆ printHist()

void SysCounts::printHist ( std::ostream &  fout,
const PS::S64  n_loop = 1,
const PS::S32  width = PROFILE_PRINT_WIDTH 
) const
inline

Member Data Documentation

◆ ARC_n_groups

NumCounter SysCounts::ARC_n_groups

◆ ARC_n_groups_iso

NumCounter SysCounts::ARC_n_groups_iso

◆ ARC_substep_sum

NumCounter SysCounts::ARC_substep_sum

◆ ARC_tsyn_step_sum

NumCounter SysCounts::ARC_tsyn_step_sum

◆ cluster_connected

NumCounter SysCounts::cluster_connected

◆ cluster_isolated

NumCounter SysCounts::cluster_isolated

◆ ep_ep_interact

NumCounter SysCounts::ep_ep_interact

◆ ep_sp_interact

NumCounter SysCounts::ep_sp_interact

◆ H4_step_sum

NumCounter SysCounts::H4_step_sum

◆ hard_connected

NumCounter SysCounts::hard_connected

◆ hard_interrupt

NumCounter SysCounts::hard_interrupt

◆ hard_isolated

NumCounter SysCounts::hard_isolated

◆ hard_single

NumCounter SysCounts::hard_single

◆ n_cluster

std::map<PS::S32,PS::S32> SysCounts::n_cluster

Histogram of number of particles in clusters.

◆ n_counter

const PS::S32 SysCounts::n_counter

◆ n_neighbor_zero

NumCounter SysCounts::n_neighbor_zero

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