10 void TwoPhotonSetup( vector<two_photon> &tnu_vec,
const long &ipHi,
const long &ipLo,
const double &Aul,
const TransitionProxy &tr,
const long ipISO,
const long nelem )
14 tnu_vec.resize( tnu_vec.size() + 1 );
20 tnu.
Pop = &(*tr.
Hi()).Pop();
52 double SumShapeFunction = 0., Renorm= 0.;
62 SumShapeFunction += ShapeFunction;
71 Renorm = 1./SumShapeFunction;
79 ASSERT( fabs( SumShapeFunction*Renorm - 1. ) < 0.00001 );
97 for(
long nu=0; nu < tnu.
ipTwoPhoE; nu++ )
104 sum += tnu.
As2nu[nu];
110 double rate_up = tnu.
As2nu[nu] *
134 for(
long nu=0; nu < tnu.
ipTwoPhoE; nu++ )
145 for(
long nu=0; nu < tnu.
ipTwoPhoE; nu++ )
163 for(
long yTimes20=1; yTimes20<=10; yTimes20++ )
165 double y = yTimes20/20.;
double widflx(size_t i) const
double anu(size_t i) const
long ipoint(double energy_ryd)
double energy(const genericState &gs)
void PrtTwoPhotonEmissCoef(const two_photon &tnu, const double &densityProduct)
qList::iterator Hi() const
void CalcTwoPhotonRates(two_photon &tnu, bool lgDoInduced)
void TwoPhotonSetup(vector< two_photon > &tnu_vec, const long &ipHi, const long &ipLo, const double &Aul, const TransitionProxy &tr, const long ipISO, const long nelem)
vector< realnum > local_emis
#define DEBUG_ENTRY(funcname)
int fprintf(const Output &stream, const char *format,...)
double anumax(size_t i) const
void CalcTwoPhotonEmission(two_photon &tnu, bool lgDoInduced)
double atmdat_2phot_shapefunction(double EbyE2nu, long ipISO, long nelem)