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 : // MOOSE includes 11 : #include "NearestPointLayeredIntegral.h" 12 : #include "LayeredIntegral.h" 13 : 14 : registerMooseObject("MooseApp", NearestPointLayeredIntegral); 15 : 16 : InputParameters 17 14315 : NearestPointLayeredIntegral::validParams() 18 : { 19 : InputParameters params = 20 14315 : NearestPointBase<LayeredIntegral, ElementIntegralVariableUserObject>::validParams(); 21 14315 : params.addClassDescription( 22 : "Computes integrals of a variable storing partial sums for the specified number of intervals " 23 : "in a direction (x,y,z). Given a list of points this object computes the layered integral " 24 : "closest to each one of those points."); 25 14315 : return params; 26 0 : } 27 : 28 26 : NearestPointLayeredIntegral::NearestPointLayeredIntegral(const InputParameters & parameters) 29 26 : : NearestPointBase<LayeredIntegral, ElementIntegralVariableUserObject>(parameters) 30 : { 31 26 : }