flare
Contents
flare.c
Subroutines that control the output of XUV flares.
- Author
Rory Barnes (RoryBarnes)
- Date
Mar 25 2016
Functions
-
void ReadFlareEnergyBin(BODY *body, CONTROL *control, FILES *files, OPTIONS *options, SYSTEM *system, int iFile)
-
void ReadFlareFFD(BODY *body, CONTROL *control, FILES *files, OPTIONS *options, SYSTEM *system, int iFile)
-
void ReadFlareBandPass(BODY *body, CONTROL *control, FILES *files, OPTIONS *options, SYSTEM *system, int iFile)
-
void ReadFlareMinEnergy(BODY *body, CONTROL *control, FILES *files, OPTIONS *options, SYSTEM *system, int iFile)
-
void ReadFlareMaxEnergy(BODY *body, CONTROL *control, FILES *files, OPTIONS *options, SYSTEM *system, int iFile)
-
void ReadFlareYInt(BODY *body, CONTROL *control, FILES *files, OPTIONS *options, SYSTEM *system, int iFile)
-
void ReadFlareSlope(BODY *body, CONTROL *control, FILES *files, OPTIONS *options, SYSTEM *system, int iFile)
-
void ReadLXUVFlareConst(BODY *body, CONTROL *control, FILES *files, OPTIONS *options, SYSTEM *system, int iFile)
-
void InitializeOptionsFlare(OPTIONS *options, fnReadOption fnRead[])
-
void ReadOptionsFlare(BODY *body, CONTROL *control, FILES *files, OPTIONS *options, SYSTEM *system, fnReadOption fnRead[], int iBody)
-
void VerifyFlareFFD(BODY *body, CONTROL *control, OPTIONS *options, UPDATE *update, double dAge, int iBody)
-
void AssignFlareDerivatives(BODY *body, EVOLVE *evolve, UPDATE *update, fnUpdateVariable ***fnUpdate, int iBody)
-
void NullFlareDerivatives(BODY *body, EVOLVE *evolve, UPDATE *update, fnUpdateVariable ***fnUpdate, int iBody)
-
void VerifyFlare(BODY *body, CONTROL *control, FILES *files, OPTIONS *options, OUTPUT *output, SYSTEM *system, UPDATE *update, int iBody, int iModule)
-
void fnForceBehaviorFlare(BODY *body, MODULE *module, EVOLVE *evolve, IO *io, SYSTEM *system, UPDATE *update, fnUpdateVariable ***fnUpdate, int iBody, int iModule)
-
void WriteLXUVFlare(BODY *body, CONTROL *control, OUTPUT *output, SYSTEM *system, UNITS *units, UPDATE *update, int iBody, double *dTmp, char **cUnit)
-
void WriteFlareFreq1(BODY *body, CONTROL *control, OUTPUT *output, SYSTEM *system, UNITS *units, UPDATE *update, int iBody, double *dTmp, char **cUnit)
-
void WriteFlareFreq2(BODY *body, CONTROL *control, OUTPUT *output, SYSTEM *system, UNITS *units, UPDATE *update, int iBody, double *dTmp, char **cUnit)
-
void WriteFlareFreq3(BODY *body, CONTROL *control, OUTPUT *output, SYSTEM *system, UNITS *units, UPDATE *update, int iBody, double *dTmp, char **cUnit)
-
void WriteFlareFreq4(BODY *body, CONTROL *control, OUTPUT *output, SYSTEM *system, UNITS *units, UPDATE *update, int iBody, double *dTmp, char **cUnit)
-
void WriteFlareFreqMin(BODY *body, CONTROL *control, OUTPUT *output, SYSTEM *system, UNITS *units, UPDATE *update, int iBody, double *dTmp, char **cUnit)
-
void WriteFlareFreqMid(BODY *body, CONTROL *control, OUTPUT *output, SYSTEM *system, UNITS *units, UPDATE *update, int iBody, double *dTmp, char **cUnit)
-
void WriteFlareFreqMax(BODY *body, CONTROL *control, OUTPUT *output, SYSTEM *system, UNITS *units, UPDATE *update, int iBody, double *dTmp, char **cUnit)
-
void WriteFlareEnergy1(BODY *body, CONTROL *control, OUTPUT *output, SYSTEM *system, UNITS *units, UPDATE *update, int iBody, double *dTmp, char **cUnit)
-
void WriteFlareEnergy2(BODY *body, CONTROL *control, OUTPUT *output, SYSTEM *system, UNITS *units, UPDATE *update, int iBody, double *dTmp, char **cUnit)
-
void WriteFlareEnergy3(BODY *body, CONTROL *control, OUTPUT *output, SYSTEM *system, UNITS *units, UPDATE *update, int iBody, double *dTmp, char **cUnit)
-
void WriteFlareEnergy4(BODY *body, CONTROL *control, OUTPUT *output, SYSTEM *system, UNITS *units, UPDATE *update, int iBody, double *dTmp, char **cUnit)
-
void WriteFlareEnergyMin(BODY *body, CONTROL *control, OUTPUT *output, SYSTEM *system, UNITS *units, UPDATE *update, int iBody, double *dTmp, char **cUnit)
-
void WriteFlareEnergyMid(BODY *body, CONTROL *control, OUTPUT *output, SYSTEM *system, UNITS *units, UPDATE *update, int iBody, double *dTmp, char **cUnit)
-
void WriteFlareEnergyMax(BODY *body, CONTROL *control, OUTPUT *output, SYSTEM *system, UNITS *units, UPDATE *update, int iBody, double *dTmp, char **cUnit)
-
void InitializeOutputFlare(OUTPUT *output, fnWriteOutput fnWrite[])
-
void LogFlare(BODY *body, CONTROL *control, OUTPUT *output, SYSTEM *system, UPDATE *update, fnWriteOutput fnWrite[], FILE *fp)
-
void LogBodyFlare(BODY *body, CONTROL *control, OUTPUT *output, SYSTEM *system, UPDATE *update, fnWriteOutput fnWrite[], FILE *fp, int iBody)
-
double fdDavenport(double dA1, double dA2, double dA3, double dStarAge, double dStarMass)
-
double fdEnergyJoulesXUV(double dLogEnergyXUV)
flare.h
Subroutines that control the output of XUV flares.
- Author
Rory Barnes (RoryBarnes)
- Date
Mar 25 2016
Defines
-
MINMASSFLARE
-
MAXMASSFLARE
-
FLARE_FFD_DAVENPORT
-
FLARE_FFD_LACY
-
FLARE_FFD_NONE
-
FLARE_KEPLER
-
FLARE_UV
-
FLARE_GOES
-
FLARE_SXR
-
FLARE_TESS_UV
-
FLARE_BOLOMETRIC
-
FLARE_SLOPE_SEC
-
FLARE_SLOPE_DAY
-
FLARE_SLOPE_HOUR
-
FLARE_SLOPE_MINUTE
-
OPTSTARTFLARE
-
OPTENDFLARE
-
OPT_FLAREYINT
-
OPT_FLARESLOPE
-
OPT_FLAREMINENERGY
-
OPT_FLAREMAXENERGY
-
OPT_FLAREFFD
-
OPT_FLARESLOPEUNITS
-
OPT_FLAREENERGYBIN
-
OPT_FLAREBANDPASS
-
OPT_LXUVFLARECONST
-
OUTSTARTFLARE
-
OUTENDFLARE
-
OUT_LXUVFLARE
-
OUT_FLAREFREQ1
-
OUT_FLAREFREQ2
-
OUT_FLAREFREQ3
-
OUT_FLAREFREQ4
-
OUT_FLAREFREQMIN
-
OUT_FLAREFREQMID
-
OUT_FLAREFREQMAX
-
OUT_FLAREENERGY1
-
OUT_FLAREENERGY2
-
OUT_FLAREENERGY3
-
OUT_FLAREENERGY4
-
OUT_FLAREENERGYMIN
-
OUT_FLAREENERGYMID
-
OUT_FLAREENERGYMAX