https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MoosePartitioner.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 "MoosePartitioner.h"
11#include "FEProblem.h"
12
15{
17 params.addPrivateParam<MooseMesh *>("mesh");
18 params.registerBase("MoosePartitioner");
19 return params;
20}
21
23 : Partitioner(), MooseObject(params), Restartable(this, "Partitioners")
24{
25}
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
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...
void registerBase(const std::string &value)
This method must be called from every base "Moose System" to create linkage with the Action System.
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
Definition MooseMesh.h:95
Every object that can be built by the factory should be derived from this class.
Definition MooseObject.h:31
static InputParameters validParams()
Definition MooseObject.C:25
static InputParameters validParams()
MoosePartitioner(const InputParameters &params)
A class for creating restricted objects.
Definition Restartable.h:29