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 "LineSearch.h" 11 : #include "MooseApp.h" 12 : 13 : InputParameters 14 0 : LineSearch::validParams() 15 : { 16 0 : InputParameters params = MooseObject::validParams(); 17 0 : params.registerBase("LineSearch"); 18 0 : return params; 19 0 : } 20 : 21 0 : LineSearch::LineSearch(const InputParameters & parameters) 22 : : MooseObject(parameters), 23 0 : _fe_problem(*getCheckedPointerParam<FEProblem *>("_fe_problem", "Must be using FEProblem.")), 24 0 : _nl_its(0) 25 : { 26 0 : }