www.mooseframework.org
MeshChangedInterface.h
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
9 
10 #pragma once
11 
12 #include "MooseEnum.h"
13 
14 // Forward declarations
15 class FEProblemBase;
16 class InputParameters;
18 
19 template <typename T>
21 
22 template <>
24 
29 {
30 public:
32 
33  MeshChangedInterface(const InputParameters & params);
34  virtual ~MeshChangedInterface() = default;
35 
39  virtual void meshChanged() {}
40 
41 protected:
44 };
MeshChangedInterface::meshChanged
virtual void meshChanged()
Called on this object when the mesh changes.
Definition: MeshChangedInterface.h:39
MeshChangedInterface::_mci_feproblem
FEProblemBase & _mci_feproblem
Reference to FEProblemBase instance.
Definition: MeshChangedInterface.h:43
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition: InputParameters.h:53
MeshChangedInterface::~MeshChangedInterface
virtual ~MeshChangedInterface()=default
MeshChangedInterface::validParams
static InputParameters validParams()
Definition: MeshChangedInterface.C:17
MeshChangedInterface
Interface for notifications that the mesh has changed.
Definition: MeshChangedInterface.h:28
MooseEnum.h
validParams< MeshChangedInterface >
InputParameters validParams< MeshChangedInterface >()
MeshChangedInterface::MeshChangedInterface
MeshChangedInterface(const InputParameters &params)
Definition: MeshChangedInterface.C:24
validParams
InputParameters validParams()
This is the templated validParams() function that every MooseObject-derived class is required to spec...
Definition: InputParameters.h:1551
FEProblemBase
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
Definition: FEProblemBase.h:139