20 #if defined(HAVE_BELOS_EPETRA) && defined(HAVE_TEUCHOS_CXX_ATTRIBUTE_WEAK)
28 #endif // defined(HAVE_BELOS_EPETRA) && defined(HAVE_TEUCHOS_CXX_ATTRIBUTE_WEAK)
30 #if defined(HAVE_BELOS_TPETRA) && defined(HAVE_TEUCHOS_CXX_ATTRIBUTE_WEAK)
34 extern void __attribute__((weak)) registerLinearSolverFactory ();
38 #endif // defined(HAVE_BELOS_TPETRA) && defined(HAVE_TEUCHOS_CXX_ATTRIBUTE_WEAK)
50 #if defined(HAVE_BELOS_TPETRA) && defined(HAVE_TEUCHOS_CXX_ATTRIBUTE_WEAK)
52 if (::Belos::Details::Tpetra::registerLinearSolverFactory != NULL) {
53 ::Belos::Details::Tpetra::registerLinearSolverFactory ();
55 #endif // defined(HAVE_BELOS_TPETRA) && defined(HAVE_TEUCHOS_CXX_ATTRIBUTE_WEAK)
57 #if defined(HAVE_BELOS_EPETRA) && defined(HAVE_TEUCHOS_CXX_ATTRIBUTE_WEAK)
59 if (::Belos::Details::Epetra::registerLinearSolverFactory != NULL) {
60 ::Belos::Details::Epetra::registerLinearSolverFactory ();
62 #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.