www.mooseframework.org
SideSetsAroundSubdomain.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef SIDESETSAROUNDSUBDOMAIN_H
16 #define SIDESETSAROUNDSUBDOMAIN_H
17 
18 #include "AddSideSetsBase.h" // needed for _fe_face, if restricting using normals
19 
21 
22 template <>
24 
32 {
33 public:
35 
36 protected:
37  virtual void modify() override;
38 
40  std::vector<BoundaryName> _boundary_names;
41 
44 
51 
53  Point _normal;
54 };
55 
56 #endif /* SIDESETSAROUNDSUBDOMAIN_H */
SideSetsAroundSubdomain(const InputParameters &parameters)
Point _normal
if specified, then faces are only added if their normal is close to this
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual void modify() override
Pure virtual modify function MUST be overridden by children classes.
Real _normal_tol
if normal is specified, then faces are only added if face_normal.normal_hat <= 1 - normal_tol where n...
bool _using_normal
true if only faces close to "normal" will be added
Adds the faces on the boundary of given block to the sidesets specified by "boundary" Optionally...
InputParameters validParams< SideSetsAroundSubdomain >()
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
std::vector< BoundaryName > _boundary_names
names of the sidesets to which the faces will be added