00001 /* 00002 Copyright (C) 2002 Carlos Pascual-Izarra 00003 00004 This program is free software; you can redistribute it and/or modify 00005 it under the terms of the GNU General Public License as published by 00006 the Free Software Foundation; either version 2, or (at your option) 00007 any later version. 00008 00009 This program is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with this program; if not, write to the Free Software Foundation, 00016 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00017 00018 */ 00019 /**\file stop96.h 00020 stop96.h is the header file for using stop96.c .It has been modified from the original version found in the hotstop code ( http://hotstop.sourceforge.net ) 00021 */ 00022 00023 #ifndef STP96C 00024 float scoef[94][55]; 00025 void readstopcoef(char *afilename, char *bfilename); 00026 float pstop(int Z2, float E); 00027 void stop96(int Z1, int Z2, float M1, float *Ener, int nEner, float *SE); 00028 void stop96d(int Z1, int Z2,double Ionweight, double *Ener, int nEner, double *SE); 00029 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); 00030 double nuclearstopping_ZBL(int Z1, int Z2,double Ionweight, double trgtweight, double *Ener, int nEner, double *SN); 00031 #define STP96C 1 00032 #endif 00033 00034