19#ifndef _MURESIMPLEBIN_HXX_
20#define _MURESIMPLEBIN_HXX_
86 void Add(
int universe);
92 string Print(
int BeforeRparenthesis = 0)
override;
Header file for Cell class.
Header file for Monte-Carlo Source abstract class.
Header file for MureTallyBin abstract class.
Header file for PinCell class.
Header file for Shape class and Shape_ptr type.
A Cell is composed from a Shape and a Material.
Definition Cell.hxx:84
Define a general Simple Tally Bin (cell, universe or surface).
Definition MureSimpleBin.hxx:69
Shape_ptr fShape
the Shape of a Surface type simple bin
Definition MureSimpleBin.hxx:111
~MureSimpleBin() override=default
Destructor.
int fBin
the Cell/Surface/Universe num contains in the tally bin
Definition MureSimpleBin.hxx:112
double RescanVolume() override
Reread bin and assign necessary volume when known.
Definition MureSimpleBin.cxx:358
vector< int > fCellNumber
Only use to store cell number for universe bin.
Definition MureSimpleBin.hxx:113
void UpdateTallyBinVolume() override
Reread all bins and assign necessary volume.
Definition MureSimpleBin.cxx:331
MureTallyBin * Clone() override
The "Virtual Copy Constructor".
Definition MureSimpleBin.hxx:77
void Add(Shape_ptr S)
Set a Shape_ptr to a Simple Bin (Surface tally)
Definition MureSimpleBin.cxx:106
bool IsSimpleBin() override
Definition MureSimpleBin.hxx:88
string PrintVolume() override
Print the Simple Bin Volume(s) for SD cards in MCNP or dv card in Serpent.
Definition MureSimpleBin.cxx:220
int GetBinContent(int i)
Definition MureSimpleBin.hxx:97
bool IsInBin(int num) override
whether or not the universe "num" is in the bin
Definition MureSimpleBin.cxx:287
MureSimpleBin()
Build a Simple Bin of unknown type (the MureSimpleBin::Add() will decide).
Definition MureSimpleBin.cxx:51
string Print(int BeforeRparenthesis=0) override
Print the Simple Bin (dummy)
Definition MureSimpleBin.cxx:212
Cell * fCell
the Cell of a Cell type simple bin
Definition MureSimpleBin.hxx:110
Cell * GetCell()
Definition MureSimpleBin.hxx:102
Define a general Tally Bin.
Definition MureTallyBin.hxx:62
PinCell class allows to create cylindrical cell set included as Matrioshka.
Definition PinCell.hxx:53
the namespace of the Standard C++