GADGET-4
ngbnode Struct Reference

#include <ngbtree.h>

Inherits basenode.

Public Member Functions

 ngbnode ()
 
 ngbnode (ngbnode &other)
 
ngbnodeoperator= (ngbnode &other)
 
void drift_node (integertime time1, simparticles *Sp)
 

Public Attributes

MySignedIntPosType center_offset_min [3]
 
MySignedIntPosType center_offset_max [3]
 
MyNgbTreeFloat vmin [3]
 
MyNgbTreeFloat vmax [3]
 
MyNgbTreeFloat MaxHsml
 
MyNgbTreeFloat MaxDtHsml
 
MyNgbTreeFloat MaxCsnd
 
std::atomic< integertimeTi_Current
 
- Public Attributes inherited from basenode
std::atomic< node_bit_fieldflag_already_fetched
 
vector< MyIntPosTypecenter
 
int sibling
 
int nextnode
 
int father
 
int OriginTask
 
int OriginNode
 
unsigned char level
 
unsigned char sibling_shmrank
 
unsigned char nextnode_shmrank
 
std::atomic_flag access
 
std::atomic< unsigned char > cannot_be_opened_locally
 
unsigned char not_empty: 1
 

Detailed Description

Definition at line 28 of file ngbtree.h.

Constructor & Destructor Documentation

◆ ngbnode() [1/2]

ngbnode ( )
inline

Definition at line 35 of file ngbtree.h.

◆ ngbnode() [2/2]

ngbnode ( ngbnode other)
inline

Definition at line 38 of file ngbtree.h.

Member Function Documentation

◆ drift_node()

void drift_node ( integertime  time1,
simparticles Sp 
)
inline

Definition at line 58 of file ngbtree.h.

◆ operator=()

ngbnode & operator= ( ngbnode other)
inline

Definition at line 41 of file ngbtree.h.

Member Data Documentation

◆ center_offset_max

MySignedIntPosType center_offset_max[3]

Definition at line 48 of file ngbtree.h.

◆ center_offset_min

MySignedIntPosType center_offset_min[3]

Definition at line 47 of file ngbtree.h.

◆ MaxCsnd

MyNgbTreeFloat MaxCsnd

Definition at line 54 of file ngbtree.h.

◆ MaxDtHsml

MyNgbTreeFloat MaxDtHsml

Definition at line 53 of file ngbtree.h.

◆ MaxHsml

MyNgbTreeFloat MaxHsml

Definition at line 52 of file ngbtree.h.

◆ Ti_Current

std::atomic<integertime> Ti_Current

Definition at line 56 of file ngbtree.h.

◆ vmax

MyNgbTreeFloat vmax[3]

Definition at line 51 of file ngbtree.h.

◆ vmin

MyNgbTreeFloat vmin[3]

Definition at line 50 of file ngbtree.h.


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