52 #if defined(HAVE_BELOS_EPETRA) && defined(HAVE_TEUCHOS_CXX_ATTRIBUTE_WEAK)
60 #endif // defined(HAVE_BELOS_EPETRA) && defined(HAVE_TEUCHOS_CXX_ATTRIBUTE_WEAK)
62 #if defined(HAVE_BELOS_TPETRA) && defined(HAVE_TEUCHOS_CXX_ATTRIBUTE_WEAK)
66 extern void __attribute__((weak)) registerLinearSolverFactory ();
70 #endif // defined(HAVE_BELOS_TPETRA) && defined(HAVE_TEUCHOS_CXX_ATTRIBUTE_WEAK)
82 #if defined(HAVE_BELOS_TPETRA) && defined(HAVE_TEUCHOS_CXX_ATTRIBUTE_WEAK)
84 if (::Belos::Details::Tpetra::registerLinearSolverFactory != NULL) {
85 ::Belos::Details::Tpetra::registerLinearSolverFactory ();
87 #endif // defined(HAVE_BELOS_TPETRA) && defined(HAVE_TEUCHOS_CXX_ATTRIBUTE_WEAK)
89 #if defined(HAVE_BELOS_EPETRA) && defined(HAVE_TEUCHOS_CXX_ATTRIBUTE_WEAK)
91 if (::Belos::Details::Epetra::registerLinearSolverFactory != NULL) {
92 ::Belos::Details::Epetra::registerLinearSolverFactory ();
94 #endif // defined(HAVE_BELOS_EPETRA) && defined(HAVE_TEUCHOS_CXX_ATTRIBUTE_WEAK)
Implementation of Trilinos::Details::LinearSolverFactory.
void registerLinearSolverFactory()
Register Belos' LinearSolverFactory with the central repository, for all enabled combinations of temp...
Declaration of Belos::Details::registerLinearSolverFactory.