https://mooseframework.inl.gov
SideExtremeValue.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 
13 #include "ExtremeValueBase.h"
14 
16 class SideExtremeValue : public ExtremeValueBase<SideVariablePostprocessor>
17 {
18 public:
20 
22 
23 protected:
24  virtual std::pair<Real, Real> getProxyValuePair() override;
25 
26  virtual void computeQpValue() override { computeExtremeValue(); }
27 
33 
35  std::pair<Real, Real> _proxy_value;
36 };
const VariableValue & _proxy_variable
A proxy variable used to find the quadrature point at which to evaluate the variable.
SideExtremeValue(const InputParameters &parameters)
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
A postprocessor for collecting the side min or max value.
std::pair< Real, Real > _proxy_value
Extreme value of the value and proxy variable at the same point.
virtual std::pair< Real, Real > getProxyValuePair() override
OutputTools< Real >::VariableValue VariableValue
Definition: MooseTypes.h:314
virtual void computeQpValue() override
This is what derived classes should override to do something on every quadrature point on every eleme...
virtual void computeExtremeValue()
Get the extreme value with a functor element argument.
static InputParameters validParams()
const InputParameters & parameters() const
Get the parameters of the object.