MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu::Details Namespace Reference

Classes

struct  DropTol
 
class  LinearSolverFactory
 Interface for a "factory" that creates MueLu solvers. More...
 
class  LinearSolver
 
class  LinearSolver< Tpetra::MultiVector< Scalar, LO, GO, Node >, Tpetra::Operator< Scalar, LO, GO, Node >, typename Teuchos::ScalarTraits< Scalar >::magnitudeType >
 

Functions

void registerLinearSolverFactory ()
 Register MueLu's LinearSolverFactory with the central repository, for all enabled combinations of template parameters. More...
 

Function Documentation

void MueLu::Details::registerLinearSolverFactory ( )

Register MueLu's LinearSolverFactory with the central repository, for all enabled combinations of template parameters.

For all combinations of template parameters that MueLu enables, register MueLu::Details::LinearSolverFactory with the central repository. This will let any clients of Trilinos::Details::getLinearSolver create MueLu solvers with those template parameters.

You may call this function multiple times; it will only have an effect the first time (it is idempotent).

Users do not normally have to call this function, but see Bug

  1. MueLu tries its best to register its LinearSolverFactory automatically with the central repository, for all enabled template parameter combinations. You may have to call this function if your C++ compiler does not support the necessary features for automatic registration to work, or if Trilinos was configured with automatic registration turned off (Trilinos ENABLE_LINEAR_SOLVER_FACTORY_REGISTRATION was set to OFF). It never hurts to invoke this function manually, though.

If you need to register MueLu's LinearSolverFactory for a set of template parameters that is not enabled, see MueLu_Details_LinearSolverFactory.hpp (in this directory).

Definition at line 43 of file MueLu_Details_registerLinearSolverFactory.cpp.