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
10 #include "MoosePartitioner.h"
11 #include "FEProblem.h"
13 template <>
16 {
18  params.addPrivateParam<MooseMesh *>("mesh");
19  params.registerBase("MoosePartitioner");
20  return params;
21 }
24  : Partitioner(), MooseObject(params), Restartable(this, "Partitioners")
25 {
26 }
A class for creating restricted objects.
Definition: Restartable.h:29
void addPrivateParam(const std::string &name, const T &value)
These method add a parameter to the InputParameters object which can be retrieved like any other para...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void registerBase(const std::string &value)
This method must be called from every base "Moose System" to create linkage with the Action System...
Every object that can be built by the factory should be derived from this class.
Definition: MooseObject.h:42
InputParameters validParams< MoosePartitioner >()
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
Definition: MooseMesh.h:74
MoosePartitioner(const InputParameters &params)
InputParameters validParams< MooseObject >()
Definition: MooseObject.C:25