www.mooseframework.org
Classes | Namespaces | Functions
MoosePreconditioner.h File Reference

Go to the source code of this file.

Classes

class  libMesh::NumericVector< T >
 
class  MoosePreconditioner
 Base class for MOOSE preconditioners. More...
 

Namespaces

 libMesh
 The following methods are specializations for using the libMesh::Parallel::packed_range_* routines for std::strings.
 

Functions

template<>
InputParameters validParams< MoosePreconditioner > ()
 

Function Documentation

Definition at line 25 of file MoosePreconditioner.C.

Referenced by validParams< FieldSplitPreconditioner >(), validParams< FiniteDifferencePreconditioner >(), validParams< PhysicsBasedPreconditioner >(), and validParams< SingleMatrixPreconditioner >().

26 {
28  params.addPrivateParam<FEProblemBase *>("_fe_problem_base");
29 
30  MooseEnum pc_side("left right symmetric default", "default");
31  params.addParam<MooseEnum>("pc_side", pc_side, "Preconditioning side");
32  MooseEnum ksp_norm("none preconditioned unpreconditioned natural default", "unpreconditioned");
33  params.addParam<MooseEnum>(
34  "ksp_norm", ksp_norm, "Sets the norm that is used for convergence testing");
35  params.registerBase("MoosePreconditioner");
36 
37 #ifdef LIBMESH_HAVE_PETSC
39 #endif // LIBMESH_HAVE_PETSC
40 
41  return params;
42 }
void addPrivateParam(const std::string &name, const T &value)
These method add a parameter to the InputParameters object which can be retrieved like any other para...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
void registerBase(const std::string &value)
This method must be called from every base "Moose System" to create linkage with the Action System...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:37
InputParameters validParams< MooseObject >()
Definition: MooseObject.C:22
InputParameters getPetscValidParams()
Returns the PETSc options that are common between Executioners and Preconditioners.
Definition: PetscSupport.C:738
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...