|
MURE
|
Define a Time and/or Energy Grid for tallies. More...
#include <MCNPTimeEnergyGrid.hxx>
Public Member Functions | |
| TimeEnergyGrid () | |
| default constructor. | |
| TimeEnergyGrid (int Number) | |
| normal constructor. | |
| TimeEnergyGrid (const TimeEnergyGrid &other)=default | |
| Copy constructor. | |
| TimeEnergyGrid * | Clone () override |
| clone method | |
| void | Print (ofstream &Out) override |
| Print the grid to serpent input file. | |
| string | GetName () override |
| return the grid number as a string | |
Public Member Functions inherited from MureTimeEnergyGrid | |
| MureTimeEnergyGrid () | |
| default constructor. | |
| MureTimeEnergyGrid (int Number) | |
| normal constructor. | |
| MureTimeEnergyGrid (const MureTimeEnergyGrid &other) | |
| Copy constructor. | |
| virtual MureTimeEnergyGrid * | Clone ()=0 |
| clone method | |
| virtual | ~MureTimeEnergyGrid () |
| destructor | |
| void | AddEnergy (double Energy) |
| add Energy to the energy vector | |
| void | AddTime (double Time) |
| add Time to the energy vector | |
| void | AddEnergy (int NumberOfBins, BinRange Range) |
| add min and max value for the NumberOfBins bins (equally width bin) | |
| void | AddTime (int NumberOfBins, BinRange Range) |
| add min and max value for the NumberOfBins bins (equally width bin) | |
| virtual void | Print (ofstream &Out)=0 |
| virtual string | GetName ()=0 |
| vector< double > & | GetEnergyBins () |
| vector< double > & | GetTimeBins () |
| int | GetEnergySize () const |
| return either fNbinE or fEnergyBins.size() | |
| int | GetTimeSize () const |
| return either fNbinT or fTimeBins.size() | |
| int | GetNumber () const |
| void | SetNumber (int num) |
| void | SetFirstBinUpperBound (bool flag) |
| bool | IsFirstBinUpperBound () |
| void | SetEType (int type) |
| void | SetTType (int type) |
| int | GetEType () |
| int | GetTType () |
Additional Inherited Members | |
Public Types inherited from MureTimeEnergyGrid | |
| typedef pair< double, double > | BinRange |
| Min and Max value. | |
Protected Attributes inherited from MureTimeEnergyGrid | |
| int | fNumber |
| the grid number | |
| int | fEType |
| 1=bin by bin, 2=equal bin width for E | |
| int | fTType |
| 1=bin by bin, 2=equal bin width for T | |
| vector< double > | fEnergyBins |
| Energy (eV) grid values. | |
| vector< double > | fTimeBins |
| time (s) grid values | |
| bool | fIsFirstBinUpperBound |
| true if the first bin is a upper bound bin | |
| int | fNbinE |
| number of energy bins | |
| int | fNbinT |
| number of time bins | |
Define a Time and/or Energy Grid for tallies.
This is the real implementation to use instead of MureTimeEnergyGrid. It mainly redefine print method.
|
inline |
default constructor.
|
inline |
normal constructor.
|
default |
Copy constructor.
|
inlineoverridevirtual |
|
overridevirtual |
return the grid number as a string
Implements MureTimeEnergyGrid.
|
overridevirtual |
Print the grid to serpent input file.
Implements MureTimeEnergyGrid.