https://mooseframework.inl.gov
HSBoundary.h
Go to the documentation of this file.
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 "BoundaryBase.h"
13 #include "Component2D.h"
14 
18 class HSBoundary : public BoundaryBase
19 {
20 public:
21  HSBoundary(const InputParameters & params);
22 
23  virtual void check() const override;
24 
25 protected:
32 
39 
46 
54 
56  const std::vector<BoundaryName> & _boundary;
57 
59  const std::string & _hs_name;
60 
61 public:
63 };
Component2D::ExternalBoundaryType getCommonComponent2DExternalBoundaryType() const
Gets the common external boundary type.
Definition: HSBoundary.C:101
Base class for components of a boundary type.
Definition: BoundaryBase.h:18
ExternalBoundaryType
External boundary type.
Definition: Component2D.h:18
const std::string & _hs_name
Heat structure name.
Definition: HSBoundary.h:59
const std::vector< BoundaryName > & _boundary
Boundary names for which the boundary component applies.
Definition: HSBoundary.h:56
bool hasCommonComponent2DExternalBoundaryType() const
Returns true if all of the boundaries have the same external boundary type.
Definition: HSBoundary.C:83
virtual void check() const override
Check the component integrity.
Definition: HSBoundary.C:35
HSBoundary(const InputParameters &params)
Definition: HSBoundary.C:26
static InputParameters validParams()
Definition: HSBoundary.C:15
void checkAllComponent2DBoundariesAreExternal() const
Logs an error if any boundary is not external.
Definition: HSBoundary.C:76
Base class for heat structure boundary components.
Definition: HSBoundary.h:18
bool allComponent2DBoundariesAreExternal() const
Returns true if all of the boundaries are external.
Definition: HSBoundary.C:66