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

Define a Reaction list for Tally multiplicator inputs. More...

#include <Tally.hxx>

Public Member Functions

 Reaction (const Reaction &r)
 Copy constructor. More...
 
 Reaction (int code)
 Build a Reaction with a given code. More...
 
void Add (int code)
 Add a reaction (e.g. fission+capture) More...
 
void Multiply (int code)
 multiply reaction (e.g. nu*fission) More...
 
string Print ()
 Print a reaction list. More...
 
vector< int > GetCode ()
 return the reaction code array More...
 
bool operator== (const Reaction r) const
 true if 2 reactions are identical More...
 

Private Attributes

vector< int > fCode
 the reaction code list More...
 
vector< char > fOperator
 the operator list (":" for addition, " " for multiplicatio) More...
 

Detailed Description

Define a Reaction list for Tally multiplicator inputs.

Multiplication of reactions are needed for Nu*Sigma_fission.

reaction codes are based on ENDF MT: +(-)1=total(w/o thermal treatment), 2=absorption, 3=elastic scattering -6=fission, 102=capture,...

Author
PTO
Version
1.0

Constructor & Destructor Documentation

Reaction::Reaction ( const Reaction r)

Copy constructor.

Reaction::Reaction ( int  code)
inline

Build a Reaction with a given code.

Member Function Documentation

void Reaction::Add ( int  code)

Add a reaction (e.g. fission+capture)

vector<int> Reaction::GetCode ( )
inline

return the reaction code array

void Reaction::Multiply ( int  code)

multiply reaction (e.g. nu*fission)

bool Reaction::operator== ( const Reaction  r) const

true if 2 reactions are identical

string Reaction::Print ( )

Print a reaction list.

Member Data Documentation

vector<int> Reaction::fCode
private

the reaction code list

vector<char> Reaction::fOperator
private

the operator list (":" for addition, " " for multiplicatio)


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

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