Line data Source code
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 "ElementHCurlError.h" 11 : 12 : registerMooseObject("MooseApp", ElementHCurlError); 13 : 14 : InputParameters 15 14315 : ElementHCurlError::validParams() 16 : { 17 14315 : InputParameters params = ElementHCurlSemiError::validParams(); 18 14315 : params.addClassDescription("Returns the H(curl)-norm of the difference between a pair of " 19 : "computed and analytical vector-valued solutions."); 20 14315 : return params; 21 0 : } 22 : 23 26 : ElementHCurlError::ElementHCurlError(const InputParameters & parameters) 24 26 : : ElementHCurlSemiError(parameters) 25 : { 26 26 : } 27 : 28 : Real 29 20800 : ElementHCurlError::computeQpIntegral() 30 : { 31 20800 : return ElementVectorL2Error::computeQpIntegral() + ElementHCurlSemiError::computeQpIntegral(); 32 : }