Loading...
Searching...
No Matches
particleInfo Struct Reference

#include <ParticleZoneInfo.H>

Collaboration diagram for particleInfo:

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 114 of file ParticleZoneInfo.H.

Member Function Documentation

◆ operator+=()

void operator+= ( const particleInfo & p)
inline

Definition at line 126 of file ParticleZoneInfo.H.

References age, d, mass, p, and position.

◆ isOlderThan()

scalar isOlderThan ( const particleInfo & p) const
inline

Definition at line 137 of file ParticleZoneInfo.H.

References age, p, and time0.

Referenced by particleInfoCombineOp::operator()().

Here is the caller graph for this function:

◆ operator==

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

Definition at line 144 of file ParticleZoneInfo.H.

References age, b, d, d0, mass, mass0, origID, origProc, position, and time0.

◆ operator!=

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

Definition at line 158 of file ParticleZoneInfo.H.

References b.

◆ operator>>

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

Definition at line 166 of file ParticleZoneInfo.H.

References pi().

◆ operator<<

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

Definition at line 181 of file ParticleZoneInfo.H.

References os(), and pi().

Member Data Documentation

◆ origID

label origID = -1

◆ origProc

label origProc = -1

Definition at line 117 of file ParticleZoneInfo.H.

Referenced by operator==, and ParticleZoneInfo< CloudType >::postMove().

◆ position

◆ time0

◆ age

◆ d0

◆ d

◆ mass0

scalar mass0 = 0

◆ mass


The documentation for this struct was generated from the following file:
  • src/lagrangian/intermediate/submodels/CloudFunctionObjects/ParticleZoneInfo/ParticleZoneInfo.H