#include <OpenMCVolumeCalculation.h>
Class that computes a volume calculation over the OpenMC model based on information from the OpenMC wrapping (OpenMCCellAverageProblem).
◆ OpenMCVolumeCalculation()
OpenMCVolumeCalculation::OpenMCVolumeCalculation |
( |
const InputParameters & |
parameters | ) |
|
◆ cellVolume()
void OpenMCVolumeCalculation::cellVolume |
( |
const unsigned int & |
index, |
|
|
Real & |
vol, |
|
|
Real & |
std_dev |
|
) |
| const |
Get the OpenMC cell volume
- Parameters
-
[in] | index | cell index |
[out] | vol | stochastically-computed volume |
[out] | std_dev | standard deviation |
◆ computeVolumes()
virtual void OpenMCVolumeCalculation::computeVolumes |
( |
| ) |
|
|
virtual |
Compute the cell volumes.
◆ execute()
virtual void OpenMCVolumeCalculation::execute |
( |
| ) |
|
|
inlinevirtual |
◆ finalize()
virtual void OpenMCVolumeCalculation::finalize |
( |
| ) |
|
|
inlinevirtual |
◆ initialize()
virtual void OpenMCVolumeCalculation::initialize |
( |
| ) |
|
|
inlinevirtual |
◆ initializeVolumeCalculation()
virtual void OpenMCVolumeCalculation::initializeVolumeCalculation |
( |
| ) |
|
|
virtual |
Initialize the volume calculation (not in initialize() because we want to control this from the Problem)
◆ position()
openmc::Position OpenMCVolumeCalculation::position |
( |
const Point & |
pt | ) |
const |
Convert from a Point to a Position
- Parameters
-
- Returns
- position
◆ resetVolumeCalculation()
virtual void OpenMCVolumeCalculation::resetVolumeCalculation |
( |
| ) |
|
|
virtual |
Erase previously-added volume calculation.
◆ validParams()
static InputParameters OpenMCVolumeCalculation::validParams |
( |
| ) |
|
|
static |
◆ _calc_index
unsigned int OpenMCVolumeCalculation::_calc_index |
|
protected |
Index of volume calculation we add in OpenMC.
◆ _index_to_calc_index
std::map<int, int> OpenMCVolumeCalculation::_index_to_calc_index |
|
protected |
Map from cell index to its volume calculation result.
◆ _lower_left
Point OpenMCVolumeCalculation::_lower_left |
|
protected |
Lower left of the box within which to compute OpenMC volumes.
◆ _n_samples
const unsigned int& OpenMCVolumeCalculation::_n_samples |
|
protected |
Number of stochastic samples for calculation.
◆ _results
std::vector<openmc::VolumeCalculation::Result> OpenMCVolumeCalculation::_results |
|
protected |
Results of the volume calculation.
◆ _scaling
Real OpenMCVolumeCalculation::_scaling |
|
protected |
Length multiplier applied to [Mesh] to get into OpenMC centimeters.
◆ _trigger
const MooseEnum OpenMCVolumeCalculation::_trigger |
|
protected |
Trigger for deciding when to terminate the stochastic volume calculation.
◆ _trigger_threshold
Real OpenMCVolumeCalculation::_trigger_threshold |
|
protected |
Threshold for terminating the trigger.
◆ _upper_right
Point OpenMCVolumeCalculation::_upper_right |
|
protected |
Upper right of the box within which to compute OpenMC volumes.
◆ _volume_calc
std::unique_ptr<openmc::VolumeCalculation> OpenMCVolumeCalculation::_volume_calc |
|
protected |
Volume calculation object.
The documentation for this class was generated from the following file: