MueLu
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
MueLu_Details_LinearSolverFactory.cpp
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// MueLu: A package for multigrid based preconditioning
4
//
5
// Copyright 2012 NTESS and the MueLu contributors.
6
// SPDX-License-Identifier: BSD-3-Clause
7
// *****************************************************************************
8
// @HEADER
9
10
#include "MueLu_config.hpp"
11
12
#if defined(HAVE_MUELU_EXPLICIT_INSTANTIATION)
13
14
// We need both the _decl.hpp and _def.hpp files here, because if ETI
15
// is ON, then the .hpp file will only include the _decl.hpp file.
16
#include "
MueLu_Details_LinearSolverFactory_decl.hpp
"
17
#include "
MueLu_Details_LinearSolverFactory_def.hpp
"
18
// We need this whether or not ETI is on, in order to define typedefs
19
// for making Tpetra's macros work.
20
#include "TpetraCore_ETIHelperMacros.h"
21
22
#ifdef HAVE_MUELU_EPETRA
23
// Do explicit instantiation of MueLu::Details::LinearSolverFactory,
24
// for Epetra objects.
25
template
class
MueLu::Details::LinearSolverFactory<Epetra_MultiVector, Epetra_Operator, double>
;
26
#endif
// HAVE_MUELU_EPETRA
27
28
// Define typedefs that make the Tpetra macros work
29
TPETRA_ETI_MANGLING_TYPEDEFS()
30
31
// Do explicit instantiation of MueLu::Details::LinearSolverFactory, for
32
// Tpetra objects, for all combinations of Tpetra template parameters
33
// for which Tpetra does explicit template instantiation (ETI).
34
TPETRA_INSTANTIATE_SLGN_NO_ORDINAL_SCALAR(
MUELU_DETAILS_LINEARSOLVERFACTORY_INSTANT
)
35
36
// TODO amk: do we also have to do this for Xpetra?
37
38
#endif
// HAVE_MUELU_EXPLICIT_INSTANTIATION
MueLu_Details_LinearSolverFactory_decl.hpp
Definition of MueLu::Details::LinearSolverFactory.
MueLu_Details_LinearSolverFactory_def.hpp
Definition of MueLu::Details::LinearSolverFactory.
MUELU_DETAILS_LINEARSOLVERFACTORY_INSTANT
#define MUELU_DETAILS_LINEARSOLVERFACTORY_INSTANT(SC, LO, GO, NT)
Definition
MueLu_Details_LinearSolverFactory_def.hpp:379
MueLu::Details::LinearSolverFactory
Interface for a "factory" that creates MueLu solvers.
Definition
MueLu_Details_LinearSolverFactory_decl.hpp:43
adapters
linear_solver_factory
MueLu_Details_LinearSolverFactory.cpp
Generated by
1.17.0