Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
Trilinos::Details::Impl Namespace Reference

Implementation details of implementation details. More...

Classes

class  LinearSolverFactoryRepository
 Repository of solver factories. More...
 

Functions

bool rememberRegisteredSomeLinearSolverFactory (const std::string &packageName)
 Remember which packages registered at least one LinearSolverFactory, with any template parameters. More...
 
bool registeredSomeLinearSolverFactory (const std::string &packageName)
 Did the package with the given name register at least one LinearSolverFactory, with any template parameters? More...
 
bool haveLinearSolverFactoryRunTimeRegistration ()
 Whether the CMake run-time registration option is ON. More...
 

Detailed Description

Implementation details of implementation details.

We've already warned you that the Details namespace is full of implementation details. This inner namespace has implementation details of implementation details.

Function Documentation

bool Trilinos::Details::Impl::rememberRegisteredSomeLinearSolverFactory ( const std::string &  packageName)

Remember which packages registered at least one LinearSolverFactory, with any template parameters.

This is helpful for debugging failures to register a LinearSolverFactory with the correct template parameters.

Returns
true if the package has already registered some LinearSolverFactory before, else false. (Same as what registeredSomeLinearSolverFactory(packageName) would have returned.)

Definition at line 46 of file Trilinos_Details_LinearSolverFactory.cpp.

bool Trilinos::Details::Impl::registeredSomeLinearSolverFactory ( const std::string &  packageName)

Did the package with the given name register at least one LinearSolverFactory, with any template parameters?

This is helpful for debugging failures to register a LinearSolverFactory with the correct template parameters.

Definition at line 60 of file Trilinos_Details_LinearSolverFactory.cpp.

bool Trilinos::Details::Impl::haveLinearSolverFactoryRunTimeRegistration ( )

Whether the CMake run-time registration option is ON.

This doesn't actually say whether run-time registration has happened for a particular combination of (MV, OP, NormType) template parameters. Also, some packages or users may have registered a factory manually; this has nothing to do with that.

Definition at line 72 of file Trilinos_Details_LinearSolverFactory.cpp.