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 "LoadSurrogateDataAction.h" 11 : #include "SurrogateModel.h" 12 : #include "FEProblem.h" 13 : #include "StochasticToolsApp.h" 14 : 15 : registerMooseAction("StochasticToolsApp", LoadSurrogateDataAction, "load_surrogate_data"); 16 : 17 : InputParameters 18 39276 : LoadSurrogateDataAction::validParams() 19 : { 20 : InputParameters params = LoadModelDataAction<SurrogateModel>::validParams(); 21 39276 : params.addClassDescription("Calls load method on SurrogateModel objects contained within the " 22 : "`[Surrogates]` input block, if a filename is given."); 23 39276 : return params; 24 0 : } 25 : 26 39276 : LoadSurrogateDataAction::LoadSurrogateDataAction(const InputParameters & params) 27 39276 : : LoadModelDataAction<SurrogateModel>(params) 28 : { 29 39276 : }