All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Xpetra_UseShortNamesScalar.hpp
Go to the documentation of this file.
1 // @HEADER
2 //
3 // ***********************************************************************
4 //
5 // Xpetra: A linear algebra interface package
6 // Copyright 2012 Sandia Corporation
7 //
8 // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9 // the U.S. Government retains certain rights in this software.
10 //
11 // Redistribution and use in source and binary forms, with or without
12 // modification, are permitted provided that the following conditions are
13 // met:
14 //
15 // 1. Redistributions of source code must retain the above copyright
16 // notice, this list of conditions and the following disclaimer.
17 //
18 // 2. Redistributions in binary form must reproduce the above copyright
19 // notice, this list of conditions and the following disclaimer in the
20 // documentation and/or other materials provided with the distribution.
21 //
22 // 3. Neither the name of the Corporation nor the names of the
23 // contributors may be used to endorse or promote products derived from
24 // this software without specific prior written permission.
25 //
26 // THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY
27 // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
29 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE
30 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
31 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
32 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
33 // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
34 // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
35 // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
36 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37 //
38 // Questions? Contact
39 // Jonathan Hu (jhu@sandia.gov)
40 // Andrey Prokopenko (aprokop@sandia.gov)
41 // Ray Tuminaro (rstumin@sandia.gov)
42 //
43 // ***********************************************************************
44 //
45 // @HEADER
46 // Get rid of template parameters
47 
48 // New definition of types using the types Scalar, LocalOrdinal, GlobalOrdinal, Node of the current context.
49 
50 // 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).
51 
52 #ifdef XPETRA_CRSMATRIX_SHORT
54 #endif
55 
56 #ifdef XPETRA_IO_SHORT
58 #endif
59 
60 #ifdef XPETRA_ITERATOROPS_SHORT
62 #endif
63 
64 #ifdef XPETRA_VECTOR_SHORT
66 #endif
67 
68 #ifdef XPETRA_BLOCKEDVECTOR_SHORT
70 #endif
71 
72 #ifdef XPETRA_MULTIVECTOR_SHORT
74 #endif
75 
76 #ifdef XPETRA_MATRIX_SHORT
78 #endif
79 
80 #ifdef XPETRA_MATRIXMATRIX_SHORT
82 #endif
83 
84 #ifdef XPETRA_TRIPLEMATRIXMULTIPLY_SHORT
86 #endif
87 
88 #ifdef XPETRA_MATRIXUTILS_SHORT
90 #endif
91 
92 #ifdef XPETRA_OPERATOR_SHORT
94 #endif
95 
96 #ifdef XPETRA_TPETRAOPERATOR_SHORT
98 #endif
99 
100 #ifdef XPETRA_BLOCKEDCRSMATRIX_SHORT
102 #endif
103 
104 #ifdef XPETRA_BLOCKEDMULTIVECTOR_SHORT
106 #endif
107 
108 #ifdef XPETRA_REORDEREDBLOCKEDMULTIVECTOR_SHORT
110 #endif
111 
112 #ifdef XPETRA_REORDEREDBLOCKEDCRSMATRIX_SHORT
114 #endif
115 
116 #ifdef HAVE_XPETRA_THYRA
117 #ifdef XPETRA_THYRAUTILS_SHORT
118 typedef Xpetra::ThyraUtils<Scalar, LocalOrdinal, GlobalOrdinal, Node> ThyraUtils;
119 #endif
120 #endif
121 
122 #ifdef XPETRA_CRSMATRIXWRAP_SHORT
124 #endif
125 
126 #ifdef XPETRA_VECTORFACTORY_SHORT
128 #endif
129 
130 #ifdef XPETRA_CRSMATRIXFACTORY_SHORT
132 #endif
133 
134 #ifdef XPETRA_MULTIVECTORFACTORY_SHORT
136 #endif
137 
138 #ifdef XPETRA_MATRIXFACTORY_SHORT
140 #endif
141 
142 #ifdef XPETRA_MATRIXFACTORY2_SHORT
144 #endif
145 
146 #ifdef XPETRA_TPETRACRSMATRIX_SHORT
148 #endif
149 
150 // TODO remove this
151 #ifdef XPETRA_EPETRACRSMATRIX_SHORT
152 #ifndef XPETRA_EPETRA_NO_32BIT_GLOBAL_INDICES
153 typedef Xpetra::EpetraCrsMatrixT<long long, Node> EpetraCrsMatrix64;
154 #endif
155 typedef Xpetra::EpetraCrsMatrixT<int, Node> EpetraCrsMatrix; // do we need this???
156 #endif
157 // TODO remove above entries
158 
159 #ifdef XPETRA_TPETRAMULTIVECTOR_SHORT
161 #endif
162 
163 #ifdef XPETRA_TPETRAVECTOR_SHORT
165 #endif
166 
167 #ifdef XPETRA_MAPEXTRACTOR_SHORT
169 #endif
170 
171 #ifdef XPETRA_MAPEXTRACTORFACTORY_SHORT
173 #endif
174 
175 // TODO: add namespace {} for shortcut types
176 
177 // Define convenient shortcut for data types
178 typedef Scalar SC;
179 // TODO: do the same for Epetra object (problem of namespace)
Xpetra utility class containing iteration operators.
EpetraCrsMatrixT< int, typename Xpetra::Map< int, int >::node_type > EpetraCrsMatrix
Concrete implementation of Xpetra::Matrix.
Xpetra utility class containing IO routines to read/write vectors, matrices etc...
Definition: Xpetra_IO.hpp:159
Xpetra utility class for common matrix-related routines.
Xpetra-specific matrix class.