MueLu  Version of the Day
MueLu_IsorropiaInterface_decl.hpp
Go to the documentation of this file.
1 /*
2  * MueLu_IsorropiaInterface_decl.hpp
3  *
4  * Created on: Jun 10, 2013
5  * Author: tobias
6  */
7 
8 #ifndef MUELU_ISORROPIAINTERFACE_DECL_HPP_
9 #define MUELU_ISORROPIAINTERFACE_DECL_HPP_
10 
11 #include "MueLu_ConfigDefs.hpp"
12 
13 //#if defined(HAVE_MUELU_ISORROPIA) && defined(HAVE_MPI)
14 
15 #include <Xpetra_Matrix.hpp>
16 #include <Xpetra_MapFactory_fwd.hpp>
17 #include <Xpetra_VectorFactory.hpp>
18 #include <Xpetra_CrsGraphFactory.hpp> //TODO
19 
20 #ifdef HAVE_MUELU_EPETRA
21 #include <Xpetra_EpetraCrsGraph.hpp>
22 #endif
23 
24 #ifdef HAVE_MUELU_TPETRA
25 #include <Xpetra_TpetraCrsGraph.hpp>
26 #endif
27 
29 
30 #include "MueLu_Level_fwd.hpp"
32 #include "MueLu_Graph_fwd.hpp"
35 #include "MueLu_Utilities_fwd.hpp"
36 
37 namespace MueLu {
38 
45  //FIXME: this class should not be templated
46  template <class LocalOrdinal = int,
47  class GlobalOrdinal = LocalOrdinal,
48  class Node = KokkosClassic::DefaultNode::DefaultNodeType>
50 
51  typedef double Scalar; // FIXME
52 #undef MUELU_ISORROPIAINTERFACE_SHORT
53 #include "MueLu_UseShortNames.hpp"
54 
55  public:
56 
58 
59 
62 
64  virtual ~IsorropiaInterface() { }
66 
67  RCP<const ParameterList> GetValidParameterList() const;
68 
70 
71  void DeclareInput(Level & level) const;
73 
75 
76  void Build(Level &level) const;
77 
79 
80 
81 
82  private:
83 
84 
85 
86  }; //class IsorropiaInterface
87 
88 } //namespace MueLu
89 
90 #define MUELU_ISORROPIAINTERFACE_SHORT
91 //#endif //if defined(HAVE_MUELU_ISORROPIA) && defined(HAVE_MPI)
92 
93 
94 #endif /* MUELU_ISORROPIAINTERFACE_DECL_HPP_ */
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
void Build(Level &level) const
Build an object with this factory.
Interface to Isorropia package.
Namespace for MueLu classes and methods.
Class that holds all level-specific information.
Definition: MueLu_Level.hpp:99
void DeclareInput(Level &level) const
Specifies the data that this class needs, and the factories that generate that data.
Base class for factories that use one level (currentLevel).