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 "Component1DConnection.h" 13 : 14 : /** 15 : * Base class for boundary components connected to 1D components 16 : */ 17 : class Component1DBoundary : public Component1DConnection 18 : { 19 : public: 20 : Component1DBoundary(const InputParameters & params); 21 : 22 : protected: 23 : virtual void setupMesh() override; 24 : virtual void check() const override; 25 44 : virtual Convergence * getNonlinearConvergence() const override { return nullptr; } 26 : 27 : /// Name of the connected component 28 : std::string _connected_component_name; 29 : /// End type of the connected component 30 : EEndType _connected_component_end_type; 31 : 32 : /// Element 33 : const Elem * _elem; 34 : /// Side ID 35 : unsigned short int _side; 36 : /// Node ID 37 : dof_id_type _node; 38 : /// Outward normal on this boundary 39 : Real _normal; 40 : /// Name of the boundary this component attaches to 41 : BoundaryName _input; 42 : 43 : public: 44 : static InputParameters validParams(); 45 : };