https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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)
 
 MeshChangedInterface (const MeshChangedInterface &object, const Moose::Kokkos::FunctorCopy &key)
 Special constructor used for Kokkos functor copy during parallel dispatch.
 
virtual ~MeshChangedInterface ()=default
 
virtual void meshChanged ()
 Called on this object when the mesh changes.
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Attributes

FEProblemBase_mci_feproblem
 Reference to FEProblemBase instance.
 

Detailed Description

Interface for notifications that the mesh has changed.

Definition at line 21 of file MeshChangedInterface.h.

Constructor & Destructor Documentation

◆ MeshChangedInterface() [1/2]

MeshChangedInterface::MeshChangedInterface ( const InputParameters params)

Definition at line 21 of file MeshChangedInterface.C.

22 : _mci_feproblem(*params.getCheckedPointerParam<FEProblemBase *>("_fe_problem_base"))
23{
25}
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
void notifyWhenMeshChanges(MeshChangedInterface *mci)
Register an object that derives from MeshChangedInterface to be notified when the mesh changes.
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.
FEProblemBase & _mci_feproblem
Reference to FEProblemBase instance.

◆ MeshChangedInterface() [2/2]

MeshChangedInterface::MeshChangedInterface ( const MeshChangedInterface object,
const Moose::Kokkos::FunctorCopy key 
)

Special constructor used for Kokkos functor copy during parallel dispatch.

Definition at line 28 of file MeshChangedInterface.C.

31{
32}

◆ ~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.

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

Referenced by AuxKernelBase::validParams(), AuxScalarKernel::validParams(), LinearSystemContributionObject::validParams(), ResidualObject::validParams(), and FVInterfaceKernel::validParams().

Member Data Documentation

◆ _mci_feproblem

FEProblemBase& MeshChangedInterface::_mci_feproblem
protected

Reference to FEProblemBase instance.

Definition at line 44 of file MeshChangedInterface.h.

Referenced by MeshChangedInterface().


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