www.mooseframework.org
ElementLengthAux.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 #ifndef ELEMENTLENGTHAUX_H
15 #define ELEMENTLENGTHAUX_H
16 
17 // MOOSE includes
18 #include "AuxKernel.h"
19 
20 // Forward Declarations
21 class ElementLengthAux;
22 
23 template <>
25 
30 {
31 public:
33 
34 protected:
38  virtual Real computeValue() override;
39 
41  const bool _use_min;
42 };
43 
44 #endif // ELEMENTLENGTHAUX_H
ElementLengthAux(const InputParameters &parameters)
virtual Real computeValue() override
Returns the min/max of the current element.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Base class for creating new auxiliary kernels and auxiliary boundary conditions.
Definition: AuxKernel.h:51
InputParameters validParams< ElementLengthAux >()
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
const bool _use_min
The type of calculation to perform min or max.
Computes the min or max of element length.