changa  3.5
 All Classes Files Functions Variables Typedefs Enumerations Friends Macros Groups Pages
Public Member Functions | Public Attributes | Friends | List of all members
SN Class Reference

Methods for calculating the number and feedback effects of supernova. More...

#include <supernova.h>

Public Member Functions

void CalcAGORAFeedback (SFEvent *sfEvent, double dTime, double dDelta, FBEffects *fbEffects) const
 Feedback algorithm to match the requirements of the AGORA project see paper 4, dataset 2 for details. More...
 
void CalcSNIIFeedback (SFEvent *sfEvent, double dTime, double dDelta, FBEffects *fbEffects) const
 
void CalcSNIaFeedback (SFEvent *sfEvent, double dTime, double dDelta, FBEffects *fbEffects) const
 
double NSNIa (double dMassT1, double dMassT2) const
 
void pup (PUP::er &p)
 

Public Attributes

double AGORAsnTime
 
double AGORAsnE
 
double AGORAsnPerMass
 
double dESN
 
int iNSNIIQuantum
 
double dFracBinSNIa
 
IMFimf
 

Friends

class Fdbk
 
double dMSIMFSec (const SN *sn, double dMass2)
 

Detailed Description

Methods for calculating the number and feedback effects of supernova.

Member Function Documentation

void SN::CalcAGORAFeedback ( SFEvent sfEvent,
double  dTime,
double  dDelta,
FBEffects fbEffects 
) const

Feedback algorithm to match the requirements of the AGORA project see paper 4, dataset 2 for details.

Parameters
sfEventReference to information about the formation event for the star particle doing the feedback
dTimeThe current simulation time (in years)
dDeltaThe size of the next timestep (in years)
fbEffectsPasses information about the feedback event (mass loss, energy and metal injection) back to the rest of the simulation
double SN::NSNIa ( double  dMassT1,
double  dMassT2 
) const

calculate number of SN Type Ia a la Raiteri, Villata, Navarro, A&A 315, 105, 1996) Returns number of SN Type Ia that occur during timestep in which dMassT1 and dMassT2 are masses of stars that end their lives at the end and beginning of timestep, respectively

Friends And Related Function Documentation

double dMSIMFSec ( const SN sn,
double  dMass2 
)
friend

IMF of secondary in binary system that goes SN Ia The distribution of secondary mass ratios is assumed to be a power law, mu^dGamma as in Matteucci & Greggio (1986)


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