Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

load_data.hpp

Go to the documentation of this file.
00001 /*
00002  * ******** fete: From ENDF To ENDL *********
00003  * 
00004  * Copyright (c) 2006, The Regents of the University of California. 
00005  * All rights reserved.
00006  * 
00007  * Produced at the Lawrence Livermore National Laboratory. 
00008  * Written by David A. Brown, Gerry Hedstrom, Tony Hill
00009  * 
00010  * This file is part of fete v1.0  (UCRL-CODE-218718)
00011  * 
00012  * Please read the COPYING file for "Our Notice and GNU General 
00013  * Public License" in the root of this software distribution.  
00014  * 
00015  * This program is free software; you can redistribute it and/or modify 
00016  * it under the terms of the GNU General Public License (as published by 
00017  * the Free Software Foundation) version 2, dated June 1991. 
00018  * 
00019  * This program is distributed in the hope that it will be useful, 
00020  * but WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF 
00021  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms 
00022  * and conditions of the GNU General Public License for more details. 
00023  * 
00024  * You should have received a copy of the GNU General Public License along 
00025  * with this program; if not, write to the Free Software Foundation, Inc., 
00026  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
00027  * 
00028  * $Revision: 1891 $
00029  * $Date: 2006-09-06 12:31:58 -0700 (Wed, 06 Sep 2006) $
00030  * $Author: dbrown $
00031  * $Id: load_data.hpp 1891 2006-09-06 19:31:58Z dbrown $
00032  * 
00033  * ******** fete: From ENDF To ENDL *********
00034  */
00035 
00036 // prototypes
00037 
00038 #ifndef ENDFB6_load_data
00039 #define ENDFB6_load_data
00040 
00041 #include <fstream>  // standard I/O package
00042 #include <iostream> // for file I/O functions
00043 #include <string>   // for character fun
00044 #include <stdio.h>
00045 #include <cmath>
00046 
00047 #include "ENDF_file.hpp"
00048 
00049 using namespace std;
00050 
00051 //! This is the primary loop over the many different types of ENDF data files.
00052 void LoadData( int F, int T);
00053 
00054 //! This code reads in the MF=1 data and converts it to ENDL format data.
00055 void LoadMF1Data( int T, mf1_file& inFile );
00056 
00057 //! This code reads in all MF=1 fission data and converts it to ENDL format data.
00058 void LoadFissionData(  );
00059 
00060 //! Helper code to tell if MF=1, MT=MT file exists
00061 bool MF1MTExists( int MT );
00062 
00063 //! This code reads in the MF=3 data and converts it to ENDL format data.
00064 void LoadMF3Data( mf3_file& inFile );
00065 
00066 //! This code reads in the MF=4 data and converts it to ENDL format data.
00067 void LoadMF4Data( mf4_file& inFile ); 
00068 
00069 //! This code reads in the MF=5 data and converts it to ENDL format data.
00070 void LoadMF5Data( mf5_file& inFile ); 
00071 
00072 //! This code reads in the MF=6 data and converts it to ENDL format data.
00073 void LoadMF6Data( mf6_file & infile );
00074 
00075 //! This code reads in all gamma data (mostly in MF=12) and converts it to ENDL format data.
00076 void LoadGammaData( mf12_file& inFile ); 
00077 
00078 //! This code reads in the MF=13 data and converts it to ENDL format data.  For C=55 only.
00079 void LoadMF13Data( mf13_file& inFile ); 
00080 
00081 #endif

Generated on Thu Sep 7 10:30:06 2006 for fete -- From ENDFB6 To ENDL by doxygen 1.3.4