https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
18{
19public:
21
22protected:
23 virtual Real computeValue() override;
24
25 const bool & _value;
26
27public:
29};
Takes a boolean value and converts it into a Real value (0 for false, 1 for true)
virtual Real computeValue() override
static InputParameters validParams()
const InputParameters & parameters() const