www.mooseframework.org
SmoothMesh.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "MeshModifier.h"
14 
15 // Forward declerations
16 class SmoothMesh;
17 
18 template <>
20 
24 class SmoothMesh : public MeshModifier
25 {
26 public:
28 
29 private:
30  virtual void modify() override;
31 
33  unsigned int _iterations;
34 };
35 
MeshModifiers are objects that can modify or add to an existing mesh.
Definition: MeshModifier.h:25
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
SmoothMesh(const InputParameters &parameters)
Definition: SmoothMesh.C:36
MeshModifier for doing mesh smoothing.
Definition: SmoothMesh.h:24
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:65
InputParameters validParams< SmoothMesh >()
Definition: SmoothMesh.C:23
unsigned int _iterations
The number of smoothing passes to do.
Definition: SmoothMesh.h:33
virtual void modify() override
Pure virtual modify function MUST be overridden by children classes.
Definition: SmoothMesh.C:42