MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Private Attributes | List of all members
FPRecord Class Reference

A record in the data file where Fission Product are define. More...

#include <FPDistribution.hxx>

Public Member Functions

 FPRecord (unsigned Rec, short NE)
 Normal Constructor. More...
 
void Add (double E, unsigned Rec)
 Add an energy dependent FP yield. More...
 
int GetNE ()
 Number of available Energy for FP yields for the fissile. More...
 
double GetE (int i)
 Energy array for FP yields for the fissile. More...
 
unsigned GetERecord (int i)
 starting record in binary file of FP yields for Energy i More...
 
unsigned GetStartRecord ()
 starting record in binary file of FP yields More...
 

Private Attributes

unsigned fStartRecord
 starting record in binary file of FP yields More...
 
short int fNE
 Number of available Energy for FP yields for the fissile. More...
 
vector< double > fE
 Energy array for FP yields for the fissile. More...
 
vector< unsigned > fEStartRec
 starting record in binary file of FP yields More...
 

Detailed Description

A record in the data file where Fission Product are define.

Fission Product Yield are extracted from ENDF B6 data file (ENDF format). Each Fission product, its yield and the energy is stored in binary file to be read further. The binary file is described in an ascii file (see FPDistribution class)

Author
PTO
Version
0.1

Constructor & Destructor Documentation

FPRecord::FPRecord ( unsigned  Rec,
short  NE 
)

Normal Constructor.

Parameters
Rec: the starting record in binary file of FP yields
NE: the number of available Energy for FP yields for the fissile

Member Function Documentation

void FPRecord::Add ( double  E,
unsigned  Rec 
)

Add an energy dependent FP yield.

Parameters
E: the Enregy value
Rec: the starting record in binary file of FP yields for the energy
double FPRecord::GetE ( int  i)
inline

Energy array for FP yields for the fissile.

unsigned FPRecord::GetERecord ( int  i)
inline

starting record in binary file of FP yields for Energy i

int FPRecord::GetNE ( )
inline

Number of available Energy for FP yields for the fissile.

unsigned FPRecord::GetStartRecord ( )
inline

starting record in binary file of FP yields

Member Data Documentation

vector<double> FPRecord::fE
private

Energy array for FP yields for the fissile.

vector<unsigned> FPRecord::fEStartRec
private

starting record in binary file of FP yields

short int FPRecord::fNE
private

Number of available Energy for FP yields for the fissile.

unsigned FPRecord::fStartRecord
private

starting record in binary file of FP yields


The documentation for this class was generated from the following files:

MURE Project, documentation generated by Doxygen 1.8.5 - Mon Nov 17 2014