https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SideIntegralFunctorUserObject.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
11
14{
17 params.addRequiredParam<MooseFunctorName>("functor", "The functor to be integrated");
18 return params;
19}
20
22 : SideIntegralUserObject(parameters),
24 _functor(getFunctor<Real>("functor"))
25{
26}
27
28Real
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
void addRequiredParam(const std::string &name, const std::string &doc_string)
This method adds a parameter and documentation string to the InputParameters object that will be extr...
An interface for accessing Moose::Functors for systems that do not care about automatic differentiati...
static InputParameters validParams()
const Moose::Functor< Real > & _functor
Functor to integrate.
SideIntegralFunctorUserObject(const InputParameters &parameters)
This postprocessor computes a side integral of the specified variable over a given boundary.
static InputParameters validParams()
const unsigned int & _current_side
current side of the current element
const QBase *const & _qrule
const MooseArray< Point > & _q_point
const Elem *const & _current_elem
Moose::StateArg determineState() const
Create a functor state argument that corresponds to the implicit state of this object.
Argument for requesting functor evaluation at quadrature point locations on an element side.