#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include "libcpixe.h"
#include "compilopt.h"
Go to the source code of this file.
Functions | |
int | createSFCList (const EXP_PARAM *pexp, const int *PresentElems, const XrayYield *XYldArray, const AbsCoef *TotAbsCoefArray, int *nSFCList, SFCListElem **SFCList) |
int | needSFC (atomicnumber Za, atomicnumber Zb, const CalibYld *enerA, const AbsCoef *AbsC, int *nSFCList, SFCListElem **SFCList) |
double | sigmaphoto (int iabs, const AbsCoef *AbsC, atomicnumber Zb, double Xray) |
int | inrange (double value, double min, double max) |
This is still (in v1.0) under development so nothing is really used yet.
Definition in file sfc.c.
int createSFCList | ( | const EXP_PARAM * | pexp, | |
const int * | PresentElems, | |||
const XrayYield * | XYldArray, | |||
const AbsCoef * | TotAbsCoefArray, | |||
int * | nSFCList, | |||
SFCListElem ** | SFCList | |||
) |
Definition at line 35 of file sfc.c.
References SIM_PARAM::MaxZinsample, minK, needSFC(), and EXP_PARAM::simpar.
int inrange | ( | double | value, | |
double | min, | |||
double | max | |||
) |
int needSFC | ( | atomicnumber | Za, | |
atomicnumber | Zb, | |||
const CalibYld * | enerA, | |||
const AbsCoef * | AbsC, | |||
int * | nSFCList, | |||
SFCListElem ** | SFCList | |||
) |
<
<
Definition at line 57 of file sfc.c.
References SFCListElem::abs, SFCListElem::Ea, AbsCoef::enr, SFCListElem::epri, SFCListElem::esec, inrange(), CalibYld::K_, CalibYld::L_, CalibYld::M_, minK, minL, minM, sigmaphoto(), SFCListElem::sigmaphoto, SFCListElem::Za, and SFCListElem::Zb.
Referenced by createSFCList().
double sigmaphoto | ( | int | iabs, | |
const AbsCoef * | AbsC, | |||
atomicnumber | Zb, | |||
double | Xray | |||
) |
Definition at line 137 of file sfc.c.
References AbsCoef::coefenr, AbsCoef::enr, and TotAbsor_elemental().
Referenced by needSFC().