Particles and Nuclei Sub-Library: Version 0.910
Public Member Functions | Data Fields | Protected Member Functions
reaction_lib Class Reference

Simple reaction library. More...

#include <reaction_lib.h>


Detailed Description

This class is very experimental.

Units:

Chapters:

Original FORTRAN format:

      FORMAT(i1,4x,6a5,8x,a4,a1,a1,3x,1pe12.5) 
      FORMAT(4e13.6) 
      FORMAT(3e13.6) 
      

Definition at line 206 of file reaction_lib.h.

Public Member Functions

int read_file_reaclib2 (std::string fname)
 Read from a file in the REACLIB2 format.
int find_in_chap (std::vector< nuclear_reaction > &nrl, size_t chap, std::string nuc1, std::string nuc2="", std::string nuc3="", std::string nuc4="", std::string nuc5="", std::string nuc6="")
 Find a set of nuclear reactions in a specified chapter.

Data Fields

std::vector< nuclear_reactionlib
 The library.

Protected Member Functions

bool matches (size_t ul, size_t ri)
 Test if entry ul in the arrays matches the library reaction.

Protected Attributes

Storage for the find function
int fN [6]
int fZ [6]
int fA [6]
size_t fi

Member Function Documentation

int reaction_lib::read_file_reaclib2 ( std::string  fname)
Note:
This function does not check that the chapter numbers are correct for the subsequent reaction.
int reaction_lib::find_in_chap ( std::vector< nuclear_reaction > &  nrl,
size_t  chap,
std::string  nuc1,
std::string  nuc2 = "",
std::string  nuc3 = "",
std::string  nuc4 = "",
std::string  nuc5 = "",
std::string  nuc6 = "" 
)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Friends

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.