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 : #pragma once 11 : 12 : #include "FlowBoundary1PhaseBase.h" 13 : 14 : /** 15 : * Base class for boundary components connected to FlowChannel1Phase components 16 : */ 17 : class FlowBoundary1Phase : public FlowBoundary1PhaseBase 18 : { 19 : public: 20 : FlowBoundary1Phase(const InputParameters & params); 21 : 22 : protected: 23 : virtual void init() override; 24 : virtual void check() const override; 25 : 26 : /** 27 : * Creates the boundary condition objects for 1-phase flow 28 : */ 29 : virtual void addWeakBCs(); 30 : 31 : /// True if the component supports passive transport variables 32 0 : virtual bool supportsPassiveTransport() const { return false; } 33 : 34 : /// Passive transport variables on the connected flow channel 35 : std::vector<VariableName> _passives_times_area; 36 : 37 : public: 38 : static InputParameters validParams(); 39 : };