https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ElementL2Norm.C
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#include "ElementL2Norm.h"
11
13
20
25
26Real
31
32Real
34{
35 Real val = _u[_qp];
36 return val * val;
37}
registerMooseObject("MooseApp", ElementL2Norm)
virtual Real getValue() const override
This will get called to actually grab the final value the postprocessor has calculated.
This postprocessor computes a volume integral of the specified variable.
const VariableValue & _u
Holds the solution at current quadrature points.
virtual Real getValue() const override
This will get called to actually grab the final value the postprocessor has calculated.
ElementL2Norm(const InputParameters &parameters)
virtual Real computeQpIntegral() override
static InputParameters validParams()
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.