~chaffra/+junk/trilinos

« back to all changes in this revision

Viewing changes to packages/phalanx/src/Phalanx_DataLayout.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme, Christophe Prud'homme, Johannes Ring
  • Date: 2009-12-13 12:53:22 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20091213125322-in0nrdjc55deqsw9
Tags: 10.0.3.dfsg-1
[Christophe Prud'homme]
* New upstream release

[Johannes Ring]
* debian/patches/libname.patch: Add prefix 'libtrilinos_' to all
  libraries. 
* debian/patches/soname.patch: Add soversion to libraries.
* debian/watch: Update download URL.
* debian/control:
  - Remove python-numeric from Build-Depends (virtual package).
  - Remove automake and autotools from Build-Depends and add cmake to
    reflect switch to CMake.
  - Add python-support to Build-Depends.
* debian/rules: 
  - Cleanup and updates for switch to CMake.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
#include <iostream>
36
36
#include <vector>
 
37
#include <string>
37
38
 
38
39
namespace PHX{
39
40
 
55
56
 
56
57
  public:
57
58
 
58
 
    typedef unsigned size_type;
 
59
    typedef int size_type;
59
60
 
60
61
    DataLayout() {}
61
62
 
63
64
 
64
65
    virtual size_type rank() const = 0; 
65
66
 
 
67
    virtual size_type dimension(size_type ordinal) const = 0; 
 
68
 
66
69
    virtual void dimensions(std::vector<size_type>& dim) const = 0; 
67
70
 
68
71
    virtual size_type size() const = 0;