https://mooseframework.inl.gov
MeshDivision.C
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 #include "MeshDivision.h"
11 #include "FEProblemBase.h"
12 
15 {
17  params.addClassDescription(
18  "Base class to divide/partition the mesh into separately indexed regions");
19  params.registerBase("MeshDivision");
20  return params;
21 }
22 
24  : MooseObject(parameters),
25  SetupInterface(this),
26  MeshChangedInterface(parameters),
27  _fe_problem(getCheckedPointerParam<FEProblemBase *>("_fe_problem_base")),
28  _mesh(_fe_problem->mesh()),
29  _mesh_fully_indexed(true)
30 {
31 }
32 
MeshDivision(const InputParameters &parameters)
Definition: MeshDivision.C:23
MeshBase & mesh
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
void registerBase(const std::string &value)
This method must be called from every base "Moose System" to create linkage with the Action System...
virtual ~MeshDivision()
MeshDivision destructor.
Definition: MeshDivision.C:33
Interface for notifications that the mesh has changed.
Every object that can be built by the factory should be derived from this class.
Definition: MooseObject.h:28
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump...
static InputParameters validParams()
Definition: MooseObject.C:25
static InputParameters validParams()
Class constructor.
Definition: MeshDivision.C:14