https://mooseframework.inl.gov
thermal_hydraulics
test
src
interfaces
RiemannArgumentSwitchingInterface.C
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
#include "
RiemannArgumentSwitchingInterface.h
"
11
#include "
MooseObject.h
"
12
13
InputParameters
14
RiemannArgumentSwitchingInterface::validParams
()
15
{
16
InputParameters
params =
emptyInputParameters
();
17
18
params.
addRequiredParam
<
bool
>(
"switch_left_and_right"
,
"Switch the left and right arguments?"
);
19
20
return
params;
21
}
22
23
RiemannArgumentSwitchingInterface::RiemannArgumentSwitchingInterface
(
24
const
MooseObject
* moose_object)
25
: _switch_left_and_right(moose_object->getParam<bool>(
"switch_left_and_right"
))
26
{
27
}
InputParameters::addRequiredParam
void addRequiredParam(const std::string &name, const std::string &doc_string)
emptyInputParameters
InputParameters emptyInputParameters()
InputParameters
MooseObject
MooseObject.h
RiemannArgumentSwitchingInterface::validParams
static InputParameters validParams()
Definition:
RiemannArgumentSwitchingInterface.C:14
RiemannArgumentSwitchingInterface::RiemannArgumentSwitchingInterface
RiemannArgumentSwitchingInterface(const MooseObject *moose_object)
Definition:
RiemannArgumentSwitchingInterface.C:23
RiemannArgumentSwitchingInterface.h
Generated on Fri Jul 18 2025 13:44:04 for https://mooseframework.inl.gov by
1.8.14