Fundamental type for a particle. More...
#include <GravityParticle.h>
Public Member Functions | |
GravityParticle (SFC::Key k) | |
bool | operator< (const GravityParticle &p) const |
Used to sort the particles into tree order. | |
ExternalSmoothParticle | getExternalSmoothParticle () |
Get quantities needed for SPH smooths. | |
double & | u () |
double & | fMetals () |
double & | fMFracOxygen () |
double & | fMFracIron () |
double & | fESNrate () |
double & | fTimeCoolIsOffUntil () |
Vector3D< double > & | vPred () |
double & | uPred () |
double & | divv () |
Vector3D< double > & | curlv () |
double & | mumax () |
double & | PdV () |
double & | uDotPdV () |
double & | uDotAV () |
double & | uDotDiff () |
double & | c () |
double & | PoverRho2 () |
double & | BalsaraSwitch () |
double & | fBallMax () |
double & | dTimeFB () |
double & | uDot () |
COOLPARTICLE & | CoolParticle () |
double & | fStarMetals () |
double & | fStarMFracOxygen () |
double & | fStarMFracIron () |
double & | fTimeForm () |
double & | fMassForm () |
double & | fStarESNrate () |
double & | fNSN () |
double & | fMSN () |
double & | fMIronOut () |
double & | fMOxygenOut () |
double & | fSNMetals () |
int64_t & | iGasOrder () |
int64_t & | iEaterOrder () |
double & | dDeltaM () |
double & | dMDot () |
bool | isDark () const |
bool | isGas () const |
bool | isStar () const |
GravityParticle & | operator= (const ExternalGravityParticle &p) |
Public Attributes | |
SFC::Key | key |
Vector3D< double > | velocity |
Vector3D< cosmoType > | treeAcceleration |
cosmoType | potential |
cosmoType | dtGrav |
double | fBall |
Neighbor search radius for smoothing. | |
double | fDensity |
int64_t | iOrder |
Input order of particles; unique particle ID. | |
int | rung |
the current rung (greater means faster) | |
unsigned int | iType |
Bitmask to hold particle type information. | |
void * | extraData |
cosmoType | interMass |
![]() | |
cosmoType | mass |
cosmoType | soft |
Vector3D< cosmoType > | position |
Fundamental type for a particle.
This class contains everything that a "dark matter" particle needs. Other classes of particles require this plus an "extra data" class.
cosmoType GravityParticle::dtGrav |
timestep from gravity; N.B., this is actually stored as (1/time^2) since the gravity calculation naturally gives us (G M/R^3).