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

#include <hard_assert.hpp>

Public Types

typedef H4::ParticleH4< PtclHardPtclH4
 

Public Member Functions

 HardDump ()
 
void backup (PtclH4 *_ptcl_local, const PS::S32 _n_ptcl, FPSoft *_ptcl_artifical, const PS::S32 _n_group, const PS::S32 *_n_member_in_group, const PS::F64 _time_offset, const PS::F64 _time_end, const PS::S32 _n_artificial)
 backup one hard cluster data More...
 
void dumpOneCluster (const char *_fname)
 Dumping one cluster data for debuging. More...
 
void readOneCluster (const char *_fname)
 reading one cluster data for debuging More...
 

Public Attributes

PS::F64 time_offset
 
PS::F64 time_end
 
PS::S32 n_ptcl
 
PS::S32 n_arti
 
PS::S32 n_group
 
PS::ReallocatableArray< PS::S32 > n_member_in_group
 
PS::ReallocatableArray< FPSoftptcl_arti_bk
 
PS::ReallocatableArray< PtclH4ptcl_bk
 
bool backup_flag
 

Member Typedef Documentation

◆ PtclH4

typedef H4::ParticleH4<PtclHard> HardDump::PtclH4

Constructor & Destructor Documentation

◆ HardDump()

HardDump::HardDump ( )
inline

Member Function Documentation

◆ backup()

void HardDump::backup ( PtclH4 _ptcl_local,
const PS::S32  _n_ptcl,
FPSoft _ptcl_artifical,
const PS::S32  _n_group,
const PS::S32 *  _n_member_in_group,
const PS::F64  _time_offset,
const PS::F64  _time_end,
const PS::S32  _n_artificial 
)
inline

backup one hard cluster data

Parameters
[in]_ptcl_localhard particle backup
[in]_n_ptclcluster member number
[in]_ptcl_artificalartifical particle backup
[in]_n_groupnumber of groups
[in]_time_offsetoffset of time
[in]_time_endtime ending without offset
[in]_n_artificialartifical particle number

◆ dumpOneCluster()

void HardDump::dumpOneCluster ( const char *  _fname)
inline

Dumping one cluster data for debuging.

Here is the caller graph for this function:

◆ readOneCluster()

void HardDump::readOneCluster ( const char *  _fname)
inline

reading one cluster data for debuging

Member Data Documentation

◆ backup_flag

bool HardDump::backup_flag

◆ n_arti

PS::S32 HardDump::n_arti

◆ n_group

PS::S32 HardDump::n_group

◆ n_member_in_group

PS::ReallocatableArray<PS::S32> HardDump::n_member_in_group

◆ n_ptcl

PS::S32 HardDump::n_ptcl

◆ ptcl_arti_bk

PS::ReallocatableArray<FPSoft> HardDump::ptcl_arti_bk

◆ ptcl_bk

PS::ReallocatableArray<PtclH4> HardDump::ptcl_bk

◆ time_end

PS::F64 HardDump::time_end

◆ time_offset

PS::F64 HardDump::time_offset

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