https://mooseframework.inl.gov
Loading...
Searching...
No Matches
OrientSurfaceMeshGenerator.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
13
18{
19public:
21
23
24 std::unique_ptr<MeshBase> generate() override;
25
26protected:
27 // The flipping of normals is an option of the base class
28 void actOnElem(Elem * const /*elem*/,
29 const Point & /*normal*/,
30 const subdomain_id_type & /*sub_id*/,
31 MeshBase & /*mesh*/) override
32 {
34 }
35
36private:
38 unsigned int _num_flipped;
39};
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
This class will re-orient surface elements based on user-specified settings.
unsigned int _num_flipped
Keeps track of the number of element orientation flips, for output purposes.
void actOnElem(Elem *const, const Point &, const subdomain_id_type &, MeshBase &) override
Action to perform when flooding.
static InputParameters validParams()
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.