Loading [MathJax]/extensions/tex2jax.js
https://mooseframework.inl.gov
Main Page
Classes
Class Index
Class List
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
v
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Typedefs
a
b
c
d
e
f
g
i
k
m
n
o
p
q
r
s
t
v
Enumerations
Enumerator
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
src
postprocessors
NodalExtremeValue.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 "
NodalExtremeValue.h
"
11
12
#include <algorithm>
13
#include <limits>
14
15
registerMooseObject
(
"MooseApp"
,
NodalExtremeValue
);
16
17
InputParameters
18
NodalExtremeValue::validParams
()
19
{
20
InputParameters
params =
ExtremeValueBase<NodalVariablePostprocessor>::validParams
();
21
params.
addCoupledVar
(
"proxy_variable"
,
22
"The name of the variable to use to identify the location at which "
23
"the variable value should be taken; if not provided, this defaults "
24
"to the 'variable'."
);
25
params.
addClassDescription
(
26
"Finds either the min or max elemental value of a variable over the domain."
);
27
return
params;
28
}
29
30
NodalExtremeValue::NodalExtremeValue
(
const
InputParameters
& parameters)
31
:
ExtremeValueBase
<
NodalVariablePostprocessor
>(parameters),
32
_proxy_variable(isParamValid(
"proxy_variable"
) ? coupledValue(
"proxy_variable"
) : _u)
33
{
34
}
35
36
std::pair<Real, Real>
37
NodalExtremeValue::getProxyValuePair
()
38
{
39
return
std::make_pair(
_proxy_variable
[
_qp
],
_u
[
_qp
]);
40
}
NodalVariablePostprocessor
This is a base class for other classes which compute post-processed values based on nodal solution va...
Definition:
NodalVariablePostprocessor.h:20
NodalVariablePostprocessor::_u
const VariableValue & _u
Holds the solution at current quadrature points.
Definition:
NodalVariablePostprocessor.h:29
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Definition:
InputParameters.h:66
ExtremeValueBase::validParams
static InputParameters validParams()
Definition:
ExtremeValueBase.C:21
NodalExtremeValue
A postprocessor for collecting the nodal min or max value.
Definition:
NodalExtremeValue.h:16
NodalExtremeValue::_proxy_variable
const VariableValue & _proxy_variable
A proxy variable used to find the quadrature point at which to evaluate the variable.
Definition:
NodalExtremeValue.h:31
NodalExtremeValue::getProxyValuePair
virtual std::pair< Real, Real > getProxyValuePair() override
Definition:
NodalExtremeValue.C:37
NodalUserObject::_qp
const unsigned int _qp
Quadrature point index.
Definition:
NodalUserObject.h:45
ExtremeValueBase
Definition:
ExtremeValueBase.h:15
InputParameters::addCoupledVar
void addCoupledVar(const std::string &name, const std::string &doc_string)
This method adds a coupled variable name pair.
Definition:
InputParameters.C:257
NodalExtremeValue::validParams
static InputParameters validParams()
Definition:
NodalExtremeValue.C:18
NodalExtremeValue::NodalExtremeValue
NodalExtremeValue(const InputParameters ¶meters)
Definition:
NodalExtremeValue.C:30
InputParameters::addClassDescription
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump...
Definition:
InputParameters.C:82
registerMooseObject
registerMooseObject("MooseApp", NodalExtremeValue)
NodalExtremeValue.h
Generated on Tue Jun 10 2025 22:52:30 for https://mooseframework.inl.gov by
1.8.14