https://mooseframework.inl.gov
ElementLpNormAux.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 // MOOSE includes
13 #include "AuxKernel.h"
14 
20 {
21 public:
23 
30 
35  virtual void compute() override;
36 
37 protected:
42  virtual Real computeValue() override;
43 
44  // The exponent used in the norm
46 
49 };
Compute an elemental field variable (single value per element) equal to the Lp-norm of a coupled Vari...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const VariableValue & _coupled_var
A reference to the variable to compute the norm of.
static InputParameters validParams()
virtual void compute() override
Override the base class functionality to compute the element integral withou scaling by element volum...
forward declarations
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Get the parameters of the object.
Base class for creating new auxiliary kernels and auxiliary boundary conditions.
Definition: AuxKernel.h:36
ElementLpNormAux(const InputParameters &parameters)
Class constructor.
virtual Real computeValue() override
Called by compute() to get the value of the integrand at the current qp.