#include <OpenMCCellMaterialFill.h>
Modifies the material filling an OpenMC cell prior to execution
◆ OpenMCCellMaterialFill()
| OpenMCCellMaterialFill::OpenMCCellMaterialFill |
( |
const InputParameters & |
parameters | ) |
|
◆ extractMaterialIdsFromFile()
| void OpenMCCellMaterialFill::extractMaterialIdsFromFile |
( |
std::string |
filename, |
|
|
std::vector< int32_t > & |
material_ids |
|
) |
| |
Read data from hdf5 file to assign to _material_indices
- Parameters
-
| [in] | filename | filename |
| [out] | material_ids | passed by reference to assign |
◆ getCellId()
| const int32_t& OpenMCCellMaterialFill::getCellId |
( |
| ) |
const |
|
inline |
◆ getCellIndex()
| const int32_t& OpenMCCellMaterialFill::getCellIndex |
( |
| ) |
const |
|
inline |
◆ getMaterialIndices()
| const std::vector<int32_t>& OpenMCCellMaterialFill::getMaterialIndices |
( |
| ) |
const |
|
inline |
◆ kMean()
A function which computes the mean value of \(k_{eff}\).
- Parameters
-
| [in] | estimator | type of estimator |
- Returns
- the mean value of the k-eigenvalue
◆ kStandardDeviation()
A function which computes the standard deviation of \(k_{eff}\).
- Parameters
-
| [in] | estimator | type of estimator |
- Returns
- the standard deviation of the k-eigenvalue
◆ modifyOpenMCModel()
| virtual void OpenMCCellMaterialFill::modifyOpenMCModel |
( |
| ) |
const |
|
overridevirtual |
◆ stdev()
| Real OpenMCBase::stdev |
( |
const double & |
mean, |
|
|
const double & |
sum_sq, |
|
|
unsigned int |
realizations |
|
) |
| const |
|
protectedinherited |
Compute standard deviation of a variable
- Parameters
-
| [in] | mean | mean |
| [in] | sum_sq | sum squared |
| [in] | realizations | the number of realizations of the variable |
- Returns
- standard deviation
◆ validParams()
| static InputParameters OpenMCCellMaterialFill::validParams |
( |
| ) |
|
|
static |
◆ _cell_id
| const int32_t& OpenMCCellMaterialFill::_cell_id |
|
protected |
◆ _cell_index
| int32_t OpenMCCellMaterialFill::_cell_index |
|
protected |
Index of the cell to be modified.
◆ _material_ids_file
| std::string OpenMCCellMaterialFill::_material_ids_file |
|
protected |
Name of a file containing material data to be assigned to _material_indices.
◆ _material_indices
| std::vector<int32_t> OpenMCCellMaterialFill::_material_indices |
|
protected |
Materials to be filled into the cell instances.
◆ _openmc_problem
The documentation for this class was generated from the following file: