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 "AddRayBCAction.h" 11 : 12 : // Local includes 13 : #include "RayBoundaryConditionBase.h" 14 : 15 : registerMooseAction("RayTracingApp", AddRayBCAction, "add_ray_boundary_condition"); 16 : 17 : InputParameters 18 3940 : AddRayBCAction::validParams() 19 : { 20 3940 : auto params = AddRayTracingObjectAction::validParams(); 21 3940 : params.addClassDescription("Adds a RayBC for use in ray tracing to the simulation."); 22 3940 : return params; 23 0 : } 24 : 25 3940 : AddRayBCAction::AddRayBCAction(const InputParameters & params) : AddRayTracingObjectAction(params) 26 : { 27 3940 : } 28 : 29 : void 30 3916 : AddRayBCAction::addRayTracingObject() 31 : { 32 3916 : _problem->addObject<RayBoundaryConditionBase>(_type, _name, _moose_object_pars); 33 3916 : }