Xpetra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Xpetra_UseShortNamesOrdinal.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 // Get rid of template parameters
11 
12 // New definition of types using the types LocalOrdinal, GlobalOrdinal, Node of the current context.
13 #ifdef XPETRA_MAP_SHORT
15 #endif
16 
17 #ifdef XPETRA_MAPUTILS_SHORT
19 #endif
20 
21 #ifdef XPETRA_MAPFACTORY_SHORT
23 #endif
24 
25 #ifdef XPETRA_BLOCKEDMAP_SHORT
27 #endif
28 
29 #ifdef XPETRA_CRSGRAPH_SHORT
31 #endif
32 
33 #ifdef XPETRA_CRSGRAPHFACTORY_SHORT
35 #endif
36 
37 #ifdef XPETRA_VECTOR_SHORT
40 using LOVector [[maybe_unused]] = LocalOrdinalVector;
41 using GOVector [[maybe_unused]] = GlobalOrdinalVector;
42 #endif
43 
44 #ifdef XPETRA_MULTIVECTOR_SHORT
47 using LOMultiVector [[maybe_unused]] = LocalOrdinalMultiVector;
48 using GOMultiVector [[maybe_unused]] = GlobalOrdinalMultiVector;
49 #endif
50 
51 #ifdef XPETRA_VECTORFACTORY_SHORT
54 using LOVectorFactory [[maybe_unused]] = LocalOrdinalVectorFactory;
55 using GOVectorFactory [[maybe_unused]] = GlobalOrdinalVectorFactory;
56 #endif
57 
58 #ifdef XPETRA_MULTIVECTORFACTORY_SHORT
61 using LOMultiVectorFactory [[maybe_unused]] = LocalOrdinalMultiVectorFactory;
62 using GOMultiVectorFactory [[maybe_unused]] = GlobalOrdinalMultiVectorFactory;
63 #endif
64 
65 #ifdef XPETRA_IMPORT_SHORT
67 #endif
68 
69 #ifdef XPETRA_EXPORT_SHORT
71 #endif
72 
73 #ifdef XPETRA_IMPORTFACTORY_SHORT
75 #endif
76 
77 #ifdef XPETRA_EXPORTFACTORY_SHORT
79 #endif
80 
81 #ifdef XPETRA_TPETRAMAP_SHORT
83 #endif
84 
85 #ifdef XPETRA_TPETRACRSGRAPH_SHORT
87 #endif
88 
89 #ifdef XPETRA_STRIDEDMAP_SHORT
91 #endif
92 
93 #ifdef XPETRA_STRIDEDMAPFACTORY_SHORT
95 #endif
96 
97 // Note: There is no #ifndef/#define/#end in this header file because it can be included more than once (it can be included in methods templated by Scalar, LocalOrdinal, GlobalOrdinal, Node).
98 
99 // TODO: add namespace {} for shortcut types
100 
101 // Define convenient shortcut for data types
102 using LO [[maybe_unused]] = LocalOrdinal;
103 using GO [[maybe_unused]] = GlobalOrdinal;
104 using NO [[maybe_unused]] = Node;
105 
106 // TODO: do the same for Epetra object (problem of namespace)
This factory creates a Xpetra::StridedMap .
Xpetra utility class for common map-related routines.
Factory for any type of Xpetra::MultiVector and its derived classes.
LocalOrdinal maybe_unused
Create an Xpetra::Map instance.
Class that stores a strided map.