Xpetra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Xpetra_Map_def.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Xpetra: A linear algebra interface package
4 //
5 // Copyright 2012 NTESS and the Xpetra contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef XPETRA_MAP_DEF_HPP
11 #define XPETRA_MAP_DEF_HPP
12 
13 #include "Xpetra_Map_decl.hpp"
14 
15 namespace Xpetra {
16 
17 template <class LocalOrdinal, class GlobalOrdinal, class Node>
19  ~Map() {}
20 
21 template <class LocalOrdinal, class GlobalOrdinal, class Node>
22 RCP<const Xpetra::Map<LocalOrdinal, GlobalOrdinal, Node> >
24  getMap() const {
25  return rcpFromRef(*this);
26 }
27 
28 } // namespace Xpetra
29 
30 #endif // XPETRA_MAP_DEF_HPP
virtual RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > getMap() const
virtual ~Map()
Destructor.