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

Void coefficient calculations for a general system. More...

#include <VoidCoefCalculator.hxx>

Public Member Functions

 VoidCoefCalculator (int Nvalues=10, int Nparticules=2000, int NActivesCycles=100, int NInactivesCycles=30, float KeffEstimator=1.0)
 Constructor.
 
 ~VoidCoefCalculator ()
 Destructor.
 
void Run ()
 launch the calculation
 
void PrintResults (string FileName)
 Print results to a file.
 
void SetTempFileName (string FileName)
 
void CalculateVolumes ()
 Calculate moderators' volumes necessary for the average density.
 

Protected Attributes

int fNvalues
 Number of MCNP calculations.
 
int fNparticules
 Number of particles.
 
int fNActivesCycles
 Number of actives cycles.
 
int fNInactivesCycles
 Number of inactives cycles.
 
float fKeffEstimator
 Expected Keff.
 
string fTempFileName
 The name of MCNP tempory file name.
 
vector< double > fFractions
 Moderator void fractions between 1 and 0 (1 = full density)
 
vector< double > fKeffValues
 Output values of MCNP criticality calculations.
 
vector< double > fKeffErrors
 Output values of MCNP Keff statistical errors.
 
vector< double > fReactivitiesValues
 Output values of reactivity.
 
vector< double > fDensitiesValues
 Output values of various densities.
 
vector< double > fVoidCoeffValues
 Output values of void coefficient.
 
vector< double > fRapportValues
 Output values of kinf(i)/kinf(nominal)
 
vector< double > fVolumes
 Volume of moderators' cells.
 
vector< Cell * > fModeratorCells
 The cells implicated in our calcul.
 
int fModeratorCounter
 Number of moderator cells.
 

Private Member Functions

void CalculateFractions ()
 Calculate the void fractions vector from fNvalues given.
 
void CountModeratorCells ()
 Count the cells that are intersting to us.
 
void PrintAllMaterials ()
 Count the cells that are intersting to us.
 

Detailed Description

Void coefficient calculations for a general system.

Moderator density is decreased in steps and change in reactivity is determined For all cells containing moderator materials in the system

Author
Nico*
Version
1.0

Constructor & Destructor Documentation

◆ VoidCoefCalculator()

VoidCoefCalculator::VoidCoefCalculator ( int  Nvalues = 10,
int  Nparticules = 2000,
int  NActivesCycles = 100,
int  NInactivesCycles = 30,
float  KeffEstimator = 1.0 
)

Constructor.

◆ ~VoidCoefCalculator()

VoidCoefCalculator::~VoidCoefCalculator ( )
default

Destructor.

Member Function Documentation

◆ CalculateFractions()

void VoidCoefCalculator::CalculateFractions ( )
private

Calculate the void fractions vector from fNvalues given.

◆ CalculateVolumes()

void VoidCoefCalculator::CalculateVolumes ( )

Calculate moderators' volumes necessary for the average density.

◆ CountModeratorCells()

void VoidCoefCalculator::CountModeratorCells ( )
private

Count the cells that are intersting to us.

◆ PrintAllMaterials()

void VoidCoefCalculator::PrintAllMaterials ( )
private

Count the cells that are intersting to us.

◆ PrintResults()

void VoidCoefCalculator::PrintResults ( string  FileName)

Print results to a file.

◆ Run()

void VoidCoefCalculator::Run ( )

launch the calculation

◆ SetTempFileName()

void VoidCoefCalculator::SetTempFileName ( string  FileName)
inline

< Set the temp file name

Member Data Documentation

◆ fDensitiesValues

vector< double > VoidCoefCalculator::fDensitiesValues
protected

Output values of various densities.

◆ fFractions

vector< double > VoidCoefCalculator::fFractions
protected

Moderator void fractions between 1 and 0 (1 = full density)

◆ fKeffErrors

vector< double > VoidCoefCalculator::fKeffErrors
protected

Output values of MCNP Keff statistical errors.

◆ fKeffEstimator

float VoidCoefCalculator::fKeffEstimator
protected

Expected Keff.

◆ fKeffValues

vector< double > VoidCoefCalculator::fKeffValues
protected

Output values of MCNP criticality calculations.

◆ fModeratorCells

vector< Cell *> VoidCoefCalculator::fModeratorCells
protected

The cells implicated in our calcul.

◆ fModeratorCounter

int VoidCoefCalculator::fModeratorCounter
protected

Number of moderator cells.

◆ fNActivesCycles

int VoidCoefCalculator::fNActivesCycles
protected

Number of actives cycles.

◆ fNInactivesCycles

int VoidCoefCalculator::fNInactivesCycles
protected

Number of inactives cycles.

◆ fNparticules

int VoidCoefCalculator::fNparticules
protected

Number of particles.

◆ fNvalues

int VoidCoefCalculator::fNvalues
protected

Number of MCNP calculations.

◆ fRapportValues

vector< double > VoidCoefCalculator::fRapportValues
protected

Output values of kinf(i)/kinf(nominal)

◆ fReactivitiesValues

vector< double > VoidCoefCalculator::fReactivitiesValues
protected

Output values of reactivity.

◆ fTempFileName

string VoidCoefCalculator::fTempFileName
protected

The name of MCNP tempory file name.

◆ fVoidCoeffValues

vector< double > VoidCoefCalculator::fVoidCoeffValues
protected

Output values of void coefficient.

◆ fVolumes

vector< double > VoidCoefCalculator::fVolumes
protected

Volume of moderators' cells.


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

MURE Project, documentation generated by Doxygen 1.9.7 - Fri Jan 19 2024