https://mooseframework.inl.gov
MeshGeneratorComponent.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 // MOOSE includes
13 #include "ActionComponent.h"
18 
22 class MeshGeneratorComponent : public virtual ActionComponent,
27 {
28 public:
33 
35 
36 protected:
37  virtual void addMeshGenerators() override;
38  virtual void setupComponent() override;
39  void checkIntegrity() override;
40 
41 private:
44 };
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Base class for components that are defined using an action.
const MooseEnum _mesh_generator_type
Whether the component uses a saved mesh or the final mesh.
Helper class to help creating an entire physics Note: Trying out virtual inheritance.
Component whose mesh is generated in the [Mesh] block on which one can define a Physics.
void checkIntegrity() override
Used for various checks notably:
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:33
static InputParameters validParams()
Class constructor.
Helper class to help Components define the material properties the Physics may need from the paramete...
virtual void setupComponent() override
virtual void addMeshGenerators() override
Helper class to help Components accept boundary condition parameters that the Physics may use to gene...
MeshGeneratorComponent(const InputParameters &params)
Helper class to help Components define the initial conditions the Physics may need from the parameter...