18 #include "libmesh/preconditioner.h" 19 #include "libmesh/linear_solver.h" 20 #include "libmesh/coupling_matrix.h" 48 const unsigned int from_system,
49 const unsigned int from_var,
51 const unsigned int to_system,
52 const unsigned int to_var,
NonlinearSystemBase & _nl
The nonlinear system whose linearization this preconditioner should be applied to.
virtual ~MoosePreconditioner()=default
static void copyVarValues(MeshBase &mesh, const unsigned int from_system, const unsigned int from_var, const NumericVector< Number > &from_vector, const unsigned int to_system, const unsigned int to_var, NumericVector< Number > &to_vector)
Helper function for copying values associated with variables in vectors from two different systems...
A class for creating restricted objects.
const unsigned int _nl_sys_num
The nonlinear system number whose linearization this preconditioner should be applied to...
FEProblemBase & _fe_problem
Subproblem this preconditioner is part of.
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
Base class for MOOSE preconditioners.
Nonlinear system to be solved.
Set the preconditioner up.
MoosePreconditioner(const InputParameters ¶ms)
Every object that can be built by the factory should be derived from this class.
static InputParameters validParams()
Interface for objects interacting with the PerfGraph.
void setCouplingMatrix(std::unique_ptr< CouplingMatrix > cm)
Setup the coupling matrix on the finite element problem.