https://mooseframework.inl.gov
Loading...
Searching...
No Matches
include
postprocessors
FunctionElementIntegral.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 "
ElementIntegralPostprocessor.h
"
13
17
class
FunctionElementIntegral
:
public
ElementIntegralPostprocessor
18
{
19
public
:
20
static
InputParameters
validParams
();
21
22
FunctionElementIntegral
(
const
InputParameters
&
parameters
);
23
24
protected
:
25
virtual
Real
computeQpIntegral
()
override
;
26
28
const
Function
&
_function
;
29
};
ElementIntegralPostprocessor.h
ElementIntegralPostprocessor
This postprocessor computes a volume integral of the specified variable.
Definition
ElementIntegralPostprocessor.h:21
FunctionElementIntegral
Integrates a function over elements.
Definition
FunctionElementIntegral.h:18
FunctionElementIntegral::validParams
static InputParameters validParams()
Definition
FunctionElementIntegral.C:16
FunctionElementIntegral::_function
const Function & _function
Function to integrate.
Definition
FunctionElementIntegral.h:28
FunctionElementIntegral::computeQpIntegral
virtual Real computeQpIntegral() override
Definition
FunctionElementIntegral.C:33
Function
Base class for function objects.
Definition
Function.h:30
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition
InputParameters.h:68
MooseBase::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition
MooseBase.h:131
Generated on Fri Aug 21 2026 13:33:51 for https://mooseframework.inl.gov by
1.9.8