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