/[escript]/branches/arrayview_from_1695_trunk/escript/src/DataTypes.h
ViewVC logotype

Annotation of /branches/arrayview_from_1695_trunk/escript/src/DataTypes.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1697 - (hide annotations)
Mon Aug 11 06:29:54 2008 UTC (11 years, 1 month ago) by jfenwick
File MIME type: text/plain
File size: 1019 byte(s)
Moved ValueType, ShapeType, RegionType, RegionLoopRangeType and maxRank
From DataArrayView.h to DataTypes.h

This is a simple rename but did require modifying a lot of files.


1 jfenwick 1697
2     /* $Id$ */
3    
4     /*******************************************************
5     *
6     * Copyright 2003-2008 by ACceSS MNRF
7     * Copyright 2008 by University of Queensland
8     *
9     * http://esscc.uq.edu.au
10     * Primary Business: Queensland, Australia
11     * Licensed under the Open Software License version 3.0
12     * http://www.opensource.org/licenses/osl-3.0.php
13     *
14     *******************************************************/
15    
16     #if !defined escript_DataTypes_20080811_H
17     #define escript_DataTypes_20080811_H
18     #include "system_dep.h"
19     #include "DataVector.h"
20     #include <vector>
21    
22     namespace escript {
23    
24     namespace DataTypes {
25     //
26     // Some basic types which define the data values and view shapes.
27     typedef DataVector ValueType;
28     typedef std::vector<int> ShapeType;
29     typedef std::vector<std::pair<int, int> > RegionType;
30     typedef std::vector<std::pair<int, int> > RegionLoopRangeType;
31     static const int maxRank=4;
32    
33     } // End DataTypes
34    
35    
36     } // end of namespace
37    
38     #endif

  ViewVC Help
Powered by ViewVC 1.1.26