PeTar
N-body code for collisional gravitational systems
PtclCluster Struct Reference

#include <cluster_list.hpp>

Collaboration diagram for PtclCluster:
[legend]

Public Member Functions

 PtclCluster ()
 
 PtclCluster (const PS::S32 _id, const PS::S32 _adr_sys, const PS::S32 _adr_ngb_head, const PS::S32 _n_ngb, const bool _flag_searched, PtclCluster *const _next, PS::S32 _rank_org)
 
void clear ()
 
void dump ()
 
void setIdClusterImpl (PS::ReallocatableArray< PtclCluster > &ptcl, PS::ReallocatableArray< std::pair< PS::S32, PS::S32 > > &adr_ngb)
 

Public Attributes

PS::S32 id_
 
PS::S32 adr_sys_
 
PS::S32 adr_ngb_head_
 
PS::S32 n_ngb_
 
bool flag_searched_
 
PtclClusternext_
 
PS::S32 rank_org_
 
PS::S32 id_cluster_
 

Constructor & Destructor Documentation

◆ PtclCluster() [1/2]

PtclCluster::PtclCluster ( )
inline

◆ PtclCluster() [2/2]

PtclCluster::PtclCluster ( const PS::S32  _id,
const PS::S32  _adr_sys,
const PS::S32  _adr_ngb_head,
const PS::S32  _n_ngb,
const bool  _flag_searched,
PtclCluster *const  _next,
PS::S32  _rank_org 
)
inline

Member Function Documentation

◆ clear()

void PtclCluster::clear ( )
inline

◆ dump()

void PtclCluster::dump ( )
inline

◆ setIdClusterImpl()

void PtclCluster::setIdClusterImpl ( PS::ReallocatableArray< PtclCluster > &  ptcl,
PS::ReallocatableArray< std::pair< PS::S32, PS::S32 > > &  adr_ngb 
)
inline

Member Data Documentation

◆ adr_ngb_head_

PS::S32 PtclCluster::adr_ngb_head_

◆ adr_sys_

PS::S32 PtclCluster::adr_sys_

◆ flag_searched_

bool PtclCluster::flag_searched_

◆ id_

PS::S32 PtclCluster::id_

◆ id_cluster_

PS::S32 PtclCluster::id_cluster_

◆ n_ngb_

PS::S32 PtclCluster::n_ngb_

◆ next_

PtclCluster* PtclCluster::next_

◆ rank_org_

PS::S32 PtclCluster::rank_org_

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