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

#include <soft_ptcl.hpp>

Collaboration diagram for EPJSoft:
[legend]

Public Member Functions

void copyFromFP (const FPSoft &fp)
 
PS::F64vec getPos () const
 
void setPos (const PS::F64vec &pos_new)
 
PS::F64 getCharge () const
 
PS::F64 getRSearch () const
 
PS::S64 getId () const
 
void print (std::ostream &fout=std::cout) const
 
void clear ()
 

Public Attributes

PS::S64 id
 
PS::F64 mass
 
PS::F64vec pos
 
PS::F64vec vel
 
PS::F64 r_in
 
PS::F64 r_out
 
PS::F64 r_search
 
PS::F64 r_scale_next
 
GroupDataDeliver group_data
 
PS::S32 rank_org
 
PS::S32 adr_org
 

Member Function Documentation

◆ clear()

void EPJSoft::clear ( )
inline

◆ copyFromFP()

void EPJSoft::copyFromFP ( const FPSoft fp)
inline

◆ getCharge()

PS::F64 EPJSoft::getCharge ( ) const
inline

◆ getId()

PS::S64 EPJSoft::getId ( ) const
inline

◆ getPos()

PS::F64vec EPJSoft::getPos ( ) const
inline

◆ getRSearch()

PS::F64 EPJSoft::getRSearch ( ) const
inline

◆ print()

void EPJSoft::print ( std::ostream &  fout = std::cout) const
inline

◆ setPos()

void EPJSoft::setPos ( const PS::F64vec &  pos_new)
inline

Member Data Documentation

◆ adr_org

PS::S32 EPJSoft::adr_org

◆ group_data

GroupDataDeliver EPJSoft::group_data

◆ id

PS::S64 EPJSoft::id

◆ mass

PS::F64 EPJSoft::mass

◆ pos

PS::F64vec EPJSoft::pos

◆ r_in

PS::F64 EPJSoft::r_in

◆ r_out

PS::F64 EPJSoft::r_out

◆ r_scale_next

PS::F64 EPJSoft::r_scale_next

◆ r_search

PS::F64 EPJSoft::r_search

◆ rank_org

PS::S32 EPJSoft::rank_org

◆ vel

PS::F64vec EPJSoft::vel

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