www.mooseframework.org
VectorMagnitudeAux.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 VECTORMAGNITUDEAUX_H
15 #define VECTORMAGNITUDEAUX_H
16 
17 #include "AuxKernel.h"
18 
19 class VectorMagnitudeAux;
20 
21 template <>
23 
29 {
30 public:
32 
33 protected:
34  virtual Real computeValue() override;
35 
36  const VariableValue & _x;
37  const VariableValue & _y;
38  const VariableValue & _z;
39 };
40 
41 #endif /* VECTORMAGNITUDEAUX_H */
Computes the magnitude of a vector whose components are given by up to three coupled variables...
InputParameters validParams< VectorMagnitudeAux >()
virtual Real computeValue() override
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const VariableValue & _y
VectorMagnitudeAux(const InputParameters &parameters)
const VariableValue & _z
Base class for creating new auxiliary kernels and auxiliary boundary conditions.
Definition: AuxKernel.h:51
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
const VariableValue & _x