G+Smo  24.08.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsTrilinosHeaders.h
Go to the documentation of this file.
1 
14 #pragma once
15 
16 #include <gsCore/gsConfig.h>
17 #include <gsCore/gsTemplateTools.h>
18 
19 // This defines useful macros like HAVE_MPI, which is defined if and
20 // only if Epetra was built with MPI enabled.
21 #include <Epetra_config.h>
22 
23 #ifdef HAVE_MPI
24 // Your code is an existing MPI code, so it presumably includes mpi.h directly.
25 //# include <mpi.h>
26 
27 #ifndef GISMO_WITH_MPI
28 # ifdef _MSC_VER
29 // MSVC and GCC >= 4.4.7
30 # pragma message ("warning: MPI is disabled.")
31 # else
32 // GCC
33 # warning "MPI is disabled."
34 # endif
35 #endif
36 
37 // Epetra's wrapper for MPI_Comm. This header file only exists if
38 // Epetra was built with MPI enabled.
39 # include <Epetra_MpiComm.h>
40 #else
41 // Wrapper for a "communicator" containing only one process. This
42 // header file always exists, whether or not Epetra was built with MPI
43 // enabled.
44 # include <Epetra_SerialComm.h>
45 #endif // HAVE_MPI
46 
47 //#include "Epetra_Version.h" // note: contains non-inlined code
48 
49 #include "Epetra_Map.h"
50 #include "Epetra_Vector.h"
51 #include "Epetra_CrsMatrix.h"
52 #include "Epetra_FECrsMatrix.h"
53 #include "Epetra_RowMatrix.h"
54 #include "Epetra_LinearProblem.h"
55 
56 #include <Epetra_Export.h>
57 #include <Epetra_Import.h>
58 
59 #include "Teuchos_RCP.hpp"
60 #include "Teuchos_ParameterList.hpp"
61 
62 #include <Tpetra_Operator.hpp>
63 #include <Tpetra_MultiVector_decl.hpp>
64 #include <Tpetra_CrsMatrix_decl.hpp>
65 //#include <Tpetra_RowMatrix_decl.hpp>
Provides preprocessor directives configuration of G+Smo.
Utilities related to template programming.