#include <SerpentTallyData.hxx>
|
| TallyResult () |
| constructor
|
|
| ~TallyResult () |
| destructor
|
|
ValErr_t | Get (int CellNum=0, int ReactionNum=0, int ETNum=0) |
| returns value read from bin (accesed by cell, reaction or energy grid index, safe)
|
|
ValErr_t | GetValErr (int index) |
| returns value read from bin (accesed by arbitrary index, unsafe)
|
|
int | GetNumberOfBins () |
| returns number of bins read for this detector
|
|
void | SetName (const string &name) |
| sets tally name
|
|
string | GetName () |
|
void | SetNumber (int number) |
| sets tally number
|
|
int | GetNumber () |
|
float * | GetETValues () const |
| return energy grid data in form of float array associated with this detector
|
|
int | GetETSize () const |
| gets size of energy grid data
|
|
void | SetETSize (int size) |
| sets size of energy grid data
|
|
void | AddBin (BinResult *bin) |
| adds bin read
|
|
void | AllocateET () |
| allocates memory for energy grid data
|
|
void | SetETBin (int index, double value) |
| changes entry of energy grid data
|
|
string | PrintBin (int index) |
| Printing method for bin used when multi-run data is merged into one file.
|
|
Define a data structure for detector output read from Serpent detector file.
- Author
- J.Hajnrych
- Version
- 1.0
◆ TallyResult()
Serpent::TallyResult::TallyResult |
( |
| ) |
|
◆ ~TallyResult()
Serpent::TallyResult::~TallyResult |
( |
| ) |
|
◆ AddBin()
void Serpent::TallyResult::AddBin |
( |
BinResult * |
bin | ) |
|
◆ AllocateET()
void Serpent::TallyResult::AllocateET |
( |
| ) |
|
allocates memory for energy grid data
◆ Get()
ValErr_t Serpent::TallyResult::Get |
( |
int |
CellNum = 0 , |
|
|
int |
ReactionNum = 0 , |
|
|
int |
ETNum = 0 |
|
) |
| |
returns value read from bin (accesed by cell, reaction or energy grid index, safe)
◆ GetETSize()
int Serpent::TallyResult::GetETSize |
( |
| ) |
const |
gets size of energy grid data
◆ GetETValues()
float * Serpent::TallyResult::GetETValues |
( |
| ) |
const |
return energy grid data in form of float array associated with this detector
◆ GetName()
string Serpent::TallyResult::GetName |
( |
| ) |
|
|
inline |
◆ GetNumber()
int Serpent::TallyResult::GetNumber |
( |
| ) |
|
|
inline |
◆ GetNumberOfBins()
int Serpent::TallyResult::GetNumberOfBins |
( |
| ) |
|
returns number of bins read for this detector
◆ GetValErr()
ValErr_t Serpent::TallyResult::GetValErr |
( |
int |
index | ) |
|
returns value read from bin (accesed by arbitrary index, unsafe)
◆ Merge()
merge results of 2 tallies
◆ PrintBin()
string Serpent::TallyResult::PrintBin |
( |
int |
index | ) |
|
Printing method for bin used when multi-run data is merged into one file.
◆ SetETBin()
void Serpent::TallyResult::SetETBin |
( |
int |
index, |
|
|
double |
value |
|
) |
| |
changes entry of energy grid data
◆ SetETSize()
void Serpent::TallyResult::SetETSize |
( |
int |
size | ) |
|
sets size of energy grid data
◆ SetName()
void Serpent::TallyResult::SetName |
( |
const string & |
name | ) |
|
◆ SetNumber()
void Serpent::TallyResult::SetNumber |
( |
int |
number | ) |
|
◆ fBins
vector< BinResult *> Serpent::TallyResult::fBins |
|
private |
◆ fEN
int Serpent::TallyResult::fEN |
|
private |
◆ fEV
float* Serpent::TallyResult::fEV |
|
private |
◆ fName
string Serpent::TallyResult::fName |
|
private |
◆ fNumber
int Serpent::TallyResult::fNumber |
|
private |
The documentation for this class was generated from the following files: