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 "AddInterfaceKernelAction.h" 11 : #include "FEProblem.h" 12 : #include "NonlinearSystem.h" 13 : 14 : registerMooseAction("MooseApp", AddInterfaceKernelAction, "add_interface_kernel"); 15 : 16 : InputParameters 17 1063 : AddInterfaceKernelAction::validParams() 18 : { 19 1063 : InputParameters params = MooseObjectAction::validParams(); 20 1063 : params.addClassDescription("Add an InterfaceKernel object to the simulation."); 21 1063 : return params; 22 0 : } 23 : 24 860 : AddInterfaceKernelAction::AddInterfaceKernelAction(const InputParameters & params) 25 860 : : MooseObjectAction(params) 26 : { 27 860 : } 28 : 29 : void 30 860 : AddInterfaceKernelAction::act() 31 : { 32 860 : if (_current_task == "add_interface_kernel") 33 860 : _problem->addInterfaceKernel(_type, _name, _moose_object_pars); 34 856 : }