Loading [MathJax]/extensions/tex2jax.js
Cardinal
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
TallyRelativeError.h
Go to the documentation of this file.
1/********************************************************************/
2/* SOFTWARE COPYRIGHT NOTIFICATION */
3/* Cardinal */
4/* */
5/* (c) 2021 UChicago Argonne, LLC */
6/* ALL RIGHTS RESERVED */
7/* */
8/* Prepared by UChicago Argonne, LLC */
9/* Under Contract No. DE-AC02-06CH11357 */
10/* With the U. S. Department of Energy */
11/* */
12/* Prepared by Battelle Energy Alliance, LLC */
13/* Under Contract No. DE-AC07-05ID14517 */
14/* With the U. S. Department of Energy */
15/* */
16/* See LICENSE for full restrictions */
17/********************************************************************/
18
19#pragma once
20
21#include "GeneralPostprocessor.h"
22
23#include "OpenMCBase.h"
24#include "CardinalEnums.h"
25#include "TallyBase.h"
26
30class TallyRelativeError : public GeneralPostprocessor, public OpenMCBase
31{
32public:
33 static InputParameters validParams();
34
35 TallyRelativeError(const InputParameters & parameters);
36
37 virtual void initialize() override {}
38 virtual void execute() override {}
39
40 virtual Real getValue() const override;
41
42protected:
45
47 std::string _score;
48};
Definition OpenMCBase.h:31
Definition TallyRelativeError.h:31
virtual void execute() override
Definition TallyRelativeError.h:38
const operation::OperationEnum _type
type of extrema operation
Definition TallyRelativeError.h:44
virtual Real getValue() const override
virtual void initialize() override
Definition TallyRelativeError.h:37
std::string _score
The tally score we want to fetch the relative error of.
Definition TallyRelativeError.h:47
static InputParameters validParams()
TallyRelativeError(const InputParameters &parameters)
OperationEnum
Enumeration of possible operations to perform in global postprocessors.
Definition CardinalEnums.h:130