https://mooseframework.inl.gov
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
RiemannArgumentSwitchingInterface Class Reference

Interface class for switching the order of arguments to test the symmetry of Riemann-type interfaces. More...

#include <RiemannArgumentSwitchingInterface.h>

Public Member Functions

 RiemannArgumentSwitchingInterface (const MooseObject *moose_object)
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Attributes

const bool _switch_left_and_right
 Switch the left and right arguments? More...
 

Detailed Description

Interface class for switching the order of arguments to test the symmetry of Riemann-type interfaces.

This class provides a switch that should be used to determine if left and right states should be switched and the normal reversed.

Definition at line 23 of file RiemannArgumentSwitchingInterface.h.

Constructor & Destructor Documentation

◆ RiemannArgumentSwitchingInterface()

RiemannArgumentSwitchingInterface::RiemannArgumentSwitchingInterface ( const MooseObject moose_object)

Definition at line 23 of file RiemannArgumentSwitchingInterface.C.

25  : _switch_left_and_right(moose_object->getParam<bool>("switch_left_and_right"))
26 {
27 }
const bool _switch_left_and_right
Switch the left and right arguments?
const T & getParam(const std::string &name) const

Member Function Documentation

◆ validParams()

InputParameters RiemannArgumentSwitchingInterface::validParams ( )
static

Definition at line 14 of file RiemannArgumentSwitchingInterface.C.

15 {
17 
18  params.addRequiredParam<bool>("switch_left_and_right", "Switch the left and right arguments?");
19 
20  return params;
21 }
void addRequiredParam(const std::string &name, const std::string &doc_string)
InputParameters emptyInputParameters()

Member Data Documentation

◆ _switch_left_and_right

const bool RiemannArgumentSwitchingInterface::_switch_left_and_right
protected

Switch the left and right arguments?

Definition at line 30 of file RiemannArgumentSwitchingInterface.h.


The documentation for this class was generated from the following files: