https://mooseframework.inl.gov
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
};
FunctionElementIntegral::computeQpIntegral
virtual Real computeQpIntegral() override
Definition:
FunctionElementIntegral.C:33
ElementIntegralPostprocessor
This postprocessor computes a volume integral of the specified variable.
Definition:
ElementIntegralPostprocessor.h:20
Function
Base class for function objects.
Definition:
Function.h:36
FunctionElementIntegral::validParams
static InputParameters validParams()
Definition:
FunctionElementIntegral.C:16
FunctionElementIntegral::FunctionElementIntegral
FunctionElementIntegral(const InputParameters ¶meters)
Definition:
FunctionElementIntegral.C:27
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Definition:
InputParameters.h:66
ElementIntegralPostprocessor.h
FunctionElementIntegral::_function
const Function & _function
Function to integrate.
Definition:
FunctionElementIntegral.h:28
FunctionElementIntegral
Integrates a function over elements.
Definition:
FunctionElementIntegral.h:17
Real
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MooseBaseParameterInterface::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition:
MooseBaseParameterInterface.h:62
Generated on Fri Jul 25 2025 05:03:27 for https://mooseframework.inl.gov by
1.8.14