https://mooseframework.inl.gov
NodalPatchRecoveryVariable.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 "NodalPatchRecoveryBase.h"
13 
18 {
19 public:
22 
24  const VariableName & variableName() const;
25 
26 protected:
28  Real computeValue() override;
29 
30 private:
32  const VariableValue & _v;
33 
35  const VariableName _name;
36 };
NodalPatchRecoveryVariable(const InputParameters &params)
const VariableName _name
Variable name.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const VariableName & variableName() const
Returns the variable name.
const VariableValue & _v
Variable value.
OutputTools< Real >::VariableValue VariableValue
Definition: MooseTypes.h:343
Real computeValue() override
Returns the recovered value at the quadrature point (_qp)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Patch recovery from a coupled variable.
static InputParameters validParams()