00001 00002 /*************************************************************************** 00003 Copyright (C) 2007 by Carlos Pascual-Izarra 00004 carlos.pascual_AT_users.sourceforge.net 00005 00006 This program is free software: you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation, either version 3 of the License, or 00009 (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program. If not, see <http://www.gnu.org/licenses/>. 00018 00019 ***************************************************************************/ 00020 00025 #ifndef STP96C 00026 float scoef[94][55]; 00027 void readstopcoef(char *afilename, char *bfilename); 00028 float pstop(int Z2, float E); 00029 void stop96(int Z1, int Z2, float M1, float *Ener, int nEner, float *SE); 00030 void stop96d(int Z1, int Z2,double Ionweight, double *Ener, int nEner, double *SE); 00031 float pstop_fit(int Z2,float E,float P0,float P1,float P2,float P3,float P4,float P5,float P6,float P7,float HE0,float HE1,float HE2,float HE3); 00032 double nuclearstopping_ZBL(int Z1, int Z2,double Ionweight, double trgtweight, double *Ener, int nEner, double *SN); 00033 #define STP96C 1 00034 #endif 00035 00036