particleInfo Struct Reference
Collaboration diagram for particleInfo:
[legend]

Public Member Functions

void operator+= (const particleInfo &p)
 
scalar isOlderThan (const particleInfo &p) const
 

Public Attributes

label origID = -1
 
label origProc = -1
 
vector position = Zero
 
scalar time0 = 0
 
scalar age = 0
 
scalar d0 = 0
 
scalar d = 0
 
scalar mass0 = 0
 
scalar mass = 0
 

Friends

bool operator== (const particleInfo &a, const particleInfo &b)
 
bool operator!= (const particleInfo &a, const particleInfo &b)
 
Istreamoperator>> (Istream &is, particleInfo &pi)
 
Ostreamoperator<< (Ostream &os, const particleInfo &pi)
 

Detailed Description

Definition at line 118 of file ParticleZoneInfo.H.

Member Function Documentation

◆ operator+=()

void operator+= ( const particleInfo p)
inline

◆ isOlderThan()

scalar isOlderThan ( const particleInfo p) const
inline

Definition at line 141 of file ParticleZoneInfo.H.

References particleInfo::age, p, and particleInfo::time0.

Referenced by particleInfoCombineOp::operator()().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator==

bool operator== ( const particleInfo a,
const particleInfo b 
)
friend

Definition at line 148 of file ParticleZoneInfo.H.

◆ operator!=

bool operator!= ( const particleInfo a,
const particleInfo b 
)
friend

Definition at line 162 of file ParticleZoneInfo.H.

◆ operator>>

Istream & operator>> ( Istream is,
particleInfo pi 
)
friend

Definition at line 170 of file ParticleZoneInfo.H.

◆ operator<<

Ostream & operator<< ( Ostream os,
const particleInfo pi 
)
friend

Definition at line 185 of file ParticleZoneInfo.H.

Member Data Documentation

◆ origID

label origID = -1

◆ origProc

label origProc = -1

Definition at line 121 of file ParticleZoneInfo.H.

Referenced by ParticleZoneInfo< CloudType >::postMove().

◆ position

◆ time0

◆ age

◆ d0

scalar d0 = 0

◆ d

◆ mass0

scalar mass0 = 0

◆ mass


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