www.mooseframework.org
ParsedAddSideset.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 PARSEDADDSIDESET_H
16 #define PARSEDADDSIDESET_H
17 
18 // MOOSE includes
19 #include "AddSideSetsBase.h"
20 #include "FunctionParserUtils.h"
21 
22 // Forward declerations
23 class ParsedAddSideset;
24 
25 template <>
27 
34 {
35 public:
37  virtual void modify() override;
38 
39 private:
41  std::string _function;
42 
44  BoundaryName _sideset_name;
45 
48 
51 
53  std::vector<SubdomainID> _included_ids;
54 
56  Point _normal;
57 
60 };
61 
62 #endif // PARSEDADDSIDESET_H
ADFunctionPtr _func_F
function parser object describing the combinatorial geometry
BoundaryName _sideset_name
name of the new sideset
InputParameters validParams< ParsedAddSideset >()
virtual void modify() override
Pure virtual modify function MUST be overridden by children classes.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
std::shared_ptr< ADFunction > ADFunctionPtr
Shorthand for an smart pointer to an autodiff function parser object.
MeshModifier for defining a Sideset by a parsed expression and optionally by looking at the subdomain...
bool _check_subdomains
whether to check subdomain ids when adding sides or not
ParsedAddSideset(const InputParameters &parameters)
std::vector< SubdomainID > _included_ids
A list of included subdomain ids that the side has to be part of.
bool _check_normal
whether to check normals when adding sides or not
Point _normal
A normal vector that (if provided) is compared against side&#39;s normals.
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
std::string _function
function expression