changa 3.5
Loading...
Searching...
No Matches
Fdbk Class Reference

#include <feedback.h>

Inheritance diagram for Fdbk:
Fdbk_Shallow

Public Member Functions

void AddParams (PRM prm)
 initialize parameters for star formation
 
void CheckParams (PRM prm, struct parameters &param)
 
void NullFeedback ()
 
void DoFeedback (GravityParticle *p, double dTime, double dDeltaYr, FBEffects *fbTotals, LWDATA *LWData, Rand &rndGen) const
 Fdbk main method.
 
double NSNIa (double dMassT1, double dMassT2)
 
 Fdbk (const Fdbk &fb)
 
void pup (PUP::er &p)
 

Public Attributes

IMFimf
 
- Public Attributes inherited from Fdbk_Shallow
char achIMF [32]
 
SN sn
 
double dDeltaStarForm
 
double dErgPerGmUnit
 
double dSecUnit
 
double dMaxGasMass
 
int bSNTurnOffCooling
 
int bSmallSNSmooth
 
int bShortCoolShutoff
 
int bAGORAFeedback
 
double dExtraCoolShutoff
 
double dRadPreFactor
 
double dTimePreFactor
 
int nSmoothFeedback
 
double dMaxCoolShutoff
 
double dEarlyFeedbackFrac
 
double dFBInitialMassLoad
 
double dMultiPhaseMinTemp
 
double dMultiPhaseMaxTime
 
double dEarlyETotal
 

Additional Inherited Members

- Protected Attributes inherited from Fdbk_Shallow
double dGmUnit
 
double dGmPerCcUnit
 
double dErgUnit
 
Padova pdva
 

Detailed Description

@ brief Derived class to handle the deep copy for the IMF pointer. N.B. All attributes except imf need to be in Fdbk_Shallow.

Member Function Documentation

◆ CheckParams()

void Fdbk::CheckParams ( PRM prm,
struct parameters & param )

Total SNe ergs/solar mass of stars

◆ DoFeedback()

void Fdbk::DoFeedback ( GravityParticle * p,
double dTime,
double dDeltaYr,
FBEffects * fbTotals,
LWDATA * LWData,
Rand & rndGen ) const

Fdbk main method.

Parameters
pStar particle doing feedback
dTimeCurrent time in years.
dDeltaYrTimestep in years.
fbTotalspointer to total effects for bookkeeping
LWDatapointer to the table containing Lyman-Werner data if stochastic IMF sampling is used.
rndGenRandom number generator reference

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