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 "MeshChangedInterface.h" 11 : 12 : #include "FEProblem.h" 13 : 14 : InputParameters 15 8631907 : MeshChangedInterface::validParams() 16 : { 17 8631907 : InputParameters params = emptyInputParameters(); 18 8631907 : return params; 19 : } 20 : 21 970695 : MeshChangedInterface::MeshChangedInterface(const InputParameters & params) 22 3882780 : : _mci_feproblem(*params.getCheckedPointerParam<FEProblemBase *>("_fe_problem_base")) 23 : { 24 970695 : _mci_feproblem.notifyWhenMeshChanges(this); 25 970695 : } 26 : 27 : #ifdef MOOSE_KOKKOS_ENABLED 28 200105 : MeshChangedInterface::MeshChangedInterface(const MeshChangedInterface & object, 29 200105 : const Moose::Kokkos::FunctorCopy &) 30 200105 : : _mci_feproblem(object._mci_feproblem) 31 : { 32 200105 : } 33 : #endif