18#include "libmesh/system.h"
19#include "libmesh/communicator.h"
39 for (
const auto i : make_range(
_problem->numNonlinearSystems()))
44 auto & nl =
_problem->getNonlinearSystemBase(i);
45 auto & dgs = nl.getDGKernelWarehouse();
46 auto & iks = nl.getInterfaceKernelWarehouse();
53 if (dgs.size() || iks.size())
registerMooseAction("MooseApp", CouplingFunctorCheckAction, "coupling_functor_check")
static InputParameters validParams()
MooseApp & _app
The MOOSE application this is associated with.
bool addRelationshipManagers(Moose::RelationshipManagerType when_type, const InputParameters &moose_object_pars)
Method to add a relationship manager for the objects being added to the system.
std::shared_ptr< FEProblemBase > & _problem
Convenience reference to a problem this action works on.
Checks whether there are any Kernels or BoundaryConditions in the warehouses and if so adds a default...
CouplingFunctorCheckAction(const InputParameters ¶meters)
static InputParameters validParams()
void act() override
Method to add objects to the simulation or perform other setup tasks.
void attachRelationshipManagers(Moose::RelationshipManagerType rm_type, bool attach_geometric_rm_final=false)
Attach the relationship managers of the given type Note: Geometric relationship managers that are sup...
static const std::string name_param
The name of the parameter that contains the object name.
static InputParameters oneLayerGhosting(Moose::RelationshipManagerType rm_type)
This returns an InputParameters object containing an ElementSideNeighborLayers relationship manager w...
processor_id_type size() const
const Parallel::Communicator & _communicator
@ ST_JFNK
Jacobian-Free Newton Krylov.