MURE
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Reaction Class Reference

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

#include <Reaction.hxx>

Public Member Functions

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

Private Attributes

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

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=elastic scattering, 16=(n,2n) -6=fission, 102=capture, ...

Author
PTO
Version
1.0

Constructor & Destructor Documentation

◆ Reaction() [1/3]

Reaction::Reaction ( )

◆ ~Reaction()

Reaction::~Reaction ( )

◆ Reaction() [2/3]

Reaction::Reaction ( const Reaction r)

Copy desctructor.

◆ Reaction() [3/3]

Reaction::Reaction ( int  code)

Build a Reaction with a given code.

Member Function Documentation

◆ Add()

void Reaction::Add ( int  code)

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

◆ GetCode()

vector< int > Reaction::GetCode ( ) const
inline

< return the reaction code array

◆ Multiply()

void Reaction::Multiply ( int  code)

multiply reaction (e.g. nu*fission)

◆ operator==()

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

true if 2 reactions are identical

◆ Print()

string Reaction::Print ( ) const

Print a reaction list.

Member Data Documentation

◆ fCode

vector< int > Reaction::fCode
private

the reaction code list

◆ fOperator

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.9.7 - Fri Jan 19 2024