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