www.mooseframework.org
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
MeshChangedInterface Class Reference

Interface for notifications that the mesh has changed. More...

#include <MeshChangedInterface.h>

Inheritance diagram for MeshChangedInterface:
[legend]

Public Member Functions

 MeshChangedInterface (const InputParameters &params)
 
virtual ~MeshChangedInterface ()=default
 
virtual void meshChanged ()
 Called on this object when the mesh changes. More...
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Attributes

FEProblemBase_mci_feproblem
 Reference to FEProblemBase instance. More...
 

Detailed Description

Interface for notifications that the mesh has changed.

Definition at line 23 of file MeshChangedInterface.h.

Constructor & Destructor Documentation

◆ MeshChangedInterface()

MeshChangedInterface::MeshChangedInterface ( const InputParameters params)

Definition at line 22 of file MeshChangedInterface.C.

23  : _mci_feproblem(*params.getCheckedPointerParam<FEProblemBase *>("_fe_problem_base"))
24 {
26 }
T getCheckedPointerParam(const std::string &name, const std::string &error_string="") const
Verifies that the requested parameter exists and is not NULL and returns it to the caller...
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
FEProblemBase & _mci_feproblem
Reference to FEProblemBase instance.
void notifyWhenMeshChanges(MeshChangedInterface *mci)
Register an object that derives from MeshChangedInterface to be notified when the mesh changes...

◆ ~MeshChangedInterface()

virtual MeshChangedInterface::~MeshChangedInterface ( )
virtualdefault

Member Function Documentation

◆ meshChanged()

virtual void MeshChangedInterface::meshChanged ( )
inlinevirtual

◆ validParams()

InputParameters MeshChangedInterface::validParams ( )
static

Definition at line 15 of file MeshChangedInterface.C.

Referenced by AuxScalarKernel::validParams(), ResidualObject::validParams(), FVInterfaceKernel::validParams(), and AuxKernelTempl< Real >::validParams().

16 {
17 
19  return params;
20 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters emptyInputParameters()

Member Data Documentation

◆ _mci_feproblem

FEProblemBase& MeshChangedInterface::_mci_feproblem
protected

Reference to FEProblemBase instance.

Definition at line 38 of file MeshChangedInterface.h.

Referenced by MeshChangedInterface().


The documentation for this class was generated from the following files: