Line data Source code
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 : 13 : InputParameters 14 115743 : MeshDivision::validParams() 15 : { 16 115743 : InputParameters params = MooseObject::validParams(); 17 231486 : params.addClassDescription( 18 : "Base class to divide/partition the mesh into separately indexed regions"); 19 115743 : params.registerBase("MeshDivision"); 20 115743 : return params; 21 0 : } 22 : 23 865 : MeshDivision::MeshDivision(const InputParameters & parameters) 24 : : MooseObject(parameters), 25 : SetupInterface(this), 26 : MeshChangedInterface(parameters), 27 2595 : _fe_problem(getCheckedPointerParam<FEProblemBase *>("_fe_problem_base")), 28 865 : _mesh(_fe_problem->mesh()), 29 865 : _mesh_fully_indexed(true) 30 : { 31 865 : } 32 : 33 628 : MeshDivision::~MeshDivision() {}