https://mooseframework.inl.gov
Loading...
Searching...
No Matches
thermal_hydraulics
test
include
auxkernels
BooleanValueTestAux.h
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://mooseframework.inl.gov
3
//*
4
//* All rights reserved, see COPYRIGHT for full restrictions
5
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6
//*
7
//* Licensed under LGPL 2.1, please see LICENSE for details
8
//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10
#pragma once
11
12
#include "
AuxKernel.h
"
13
17
class
BooleanValueTestAux
:
public
AuxKernel
18
{
19
public
:
20
BooleanValueTestAux
(
const
InputParameters
&
parameters
);
21
22
protected
:
23
virtual
Real
computeValue
()
override
;
24
25
const
bool
&
_value
;
26
27
public
:
28
static
InputParameters
validParams
();
29
};
AuxKernel.h
AuxKernelTempl< Real >
BooleanValueTestAux
Takes a boolean value and converts it into a Real value (0 for false, 1 for true)
Definition
BooleanValueTestAux.h:18
BooleanValueTestAux::computeValue
virtual Real computeValue() override
Definition
BooleanValueTestAux.C:31
BooleanValueTestAux::validParams
static InputParameters validParams()
Definition
BooleanValueTestAux.C:15
BooleanValueTestAux::_value
const bool & _value
Definition
BooleanValueTestAux.h:25
AuxKernelTempl< Real >::parameters
const InputParameters & parameters() const
InputParameters
Generated on Fri Aug 21 2026 13:42:02 for https://mooseframework.inl.gov by
1.9.8