www.mooseframework.org
ParsedSubdomainMeshModifier.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 PARSEDSUBDOMAINMESHMODIFIER_H
16 #define PARSEDSUBDOMAINMESHMODIFIER_H
17 
18 // MOOSE includes
19 #include "MeshModifier.h"
20 #include "FunctionParserUtils.h"
21 
22 // Forward declerations
24 
25 template <>
27 
32 {
33 public:
39 
40  virtual void modify() override;
41 
42 private:
44  const std::string _function;
45 
48 
50  const std::vector<SubdomainID> _excluded_ids;
51 
54 };
55 
56 #endif // SUBDOMAINBOUDINGBOX_H
const SubdomainID _block_id
Block ID to assign to the region.
subdomain_id_type SubdomainID
Definition: MooseTypes.h:77
virtual void modify() override
Pure virtual modify function MUST be overridden by children classes.
MeshModifiers are objects that can modify or add to an existing mesh.
Definition: MeshModifier.h:31
ADFunctionPtr _func_F
function parser object describing the combinatorial geometry
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.
const std::vector< SubdomainID > _excluded_ids
A list of excluded subdomain ids that will not be changed even if they are in the combinatorial geome...
InputParameters validParams< ParsedSubdomainMeshModifier >()
MeshModifier for defining a Subdomain inside or outside of combinatorial geometry.
ParsedSubdomainMeshModifier(const InputParameters &parameters)
Class constructor.
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
const std::string _function
function expression