/[escript]/trunk/cusplibrary/cusp/format.h
ViewVC logotype

Annotation of /trunk/cusplibrary/cusp/format.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5095 - (hide annotations)
Fri Jul 11 05:54:25 2014 UTC (6 years ago) by caltinay
Original Path: branches/diaplayground/cusplibrary/cusp/format.h
File MIME type: text/plain
File size: 1269 byte(s)
Added implementation of column diagonal storage (CDS) matrix format
and relevant operations within cusp to allow solving for block sizes > 1.
Added exception if trying to solve with more than one rank.
Minor clean up.

1 caltinay 4955 /*
2     * Copyright 2008-2009 NVIDIA Corporation
3     *
4     * Licensed under the Apache License, Version 2.0 (the "License");
5     * you may not use this file except in compliance with the License.
6     * You may obtain a copy of the License at
7     *
8     * http://www.apache.org/licenses/LICENSE-2.0
9     *
10     * Unless required by applicable law or agreed to in writing, software
11     * distributed under the License is distributed on an "AS IS" BASIS,
12     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     * See the License for the specific language governing permissions and
14     * limitations under the License.
15     */
16    
17    
18     /*! \file format.h
19     * \brief Format types
20     */
21    
22     #pragma once
23    
24     #include <cusp/detail/config.h>
25    
26     namespace cusp
27     {
28    
29     struct known_format {};
30     struct unknown_format {};
31    
32     struct dense_format : public known_format {};
33     struct array1d_format : public dense_format {};
34     struct array2d_format : public dense_format {};
35    
36     struct sparse_format : public known_format {};
37 caltinay 5095 struct cds_format : public sparse_format {};
38 caltinay 4955 struct coo_format : public sparse_format {};
39     struct csr_format : public sparse_format {};
40     struct dia_format : public sparse_format {};
41     struct ell_format : public sparse_format {};
42     struct hyb_format : public sparse_format {};
43    
44     } // end namespace cusp
45    

  ViewVC Help
Powered by ViewVC 1.1.26