#ifndef __xsect_h #define __xsect_h // Cross section tables header struct crossSectStruct { int n; // number of data pairs float thresholdE; // threshold energy float* E; // energy array float* sigma; // cross section array }; typedef struct crossSectStruct CrossSect; int readXSectionTables(CrossSect** xSect, CrossSect* totalMom, char* fileName); float interpolateTableLinear(CrossSect *xSect, float E); // Modeline for ViM {{{1 // vim:set ts=4: // vim600:fdm=marker fdl=0 fdc=3: // 1}}} #endif