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 "FlowBoundary1PhaseBase.h" 11 : #include "FlowChannel1PhaseBase.h" 12 : 13 : InputParameters 14 9804 : FlowBoundary1PhaseBase::validParams() 15 : { 16 9804 : InputParameters params = FlowBoundary::validParams(); 17 9804 : return params; 18 : } 19 : 20 4900 : FlowBoundary1PhaseBase::FlowBoundary1PhaseBase(const InputParameters & params) 21 9800 : : FlowBoundary(params), _boundary_uo_name(genName(name(), "boundary_uo")) 22 : { 23 4900 : } 24 : 25 : void 26 4900 : FlowBoundary1PhaseBase::init() 27 : { 28 4900 : FlowBoundary::init(); 29 : 30 4900 : if (hasComponentByName<FlowChannel1PhaseBase>(_connected_component_name)) 31 : { 32 : const auto & flow_channel = 33 4894 : getTHMProblem().getComponentByName<FlowChannel1PhaseBase>(_connected_component_name); 34 : _numerical_flux_name = flow_channel.getNumericalFluxUserObjectName(); 35 : } 36 4900 : }