www.mooseframework.org
SelfAux.C
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 
15 #include "SelfAux.h"
16 
17 template <>
20 {
22  return params;
23 }
24 
25 SelfAux::SelfAux(const InputParameters & parameters) : AuxKernel(parameters) {}
26 
27 Real
29 {
30  return _u[_qp];
31 }
virtual Real computeValue() override
Definition: SelfAux.C:28
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
SelfAux(const InputParameters &parameters)
Factory constructor, takes parameters so that all derived classes can be built using the same constru...
Definition: SelfAux.C:25
InputParameters validParams< AuxKernel >()
Definition: AuxKernel.C:30
unsigned int _qp
Quadrature point index.
Definition: AuxKernel.h:192
Base class for creating new auxiliary kernels and auxiliary boundary conditions.
Definition: AuxKernel.h:51
const VariableValue & _u
Holds the solution at current quadrature points.
Definition: AuxKernel.h:167
InputParameters validParams< SelfAux >()
Definition: SelfAux.C:19