~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to dolfin/common/types.h

  • Committer: Anders Logg
  • Date: 2008-04-22 13:59:10 UTC
  • mfrom: (2581.1.1 trunk)
  • Revision ID: logg@simula.no-20080422135910-gp5wktbxzu9rjj1w
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright (C) 2008 Anders Logg.
 
2
// Licensed under the GNU LGPL Version 2.1.
 
3
//
 
4
// First added:  2008-04-22
 
5
// Last changed: 2008-04-22
 
6
//
 
7
// This file provides DOLFIN typedefs for basic types.
 
8
 
 
9
#ifndef __DOLFIN_TYPES_H
 
10
#define __DOLFIN_TYPES_H
 
11
 
 
12
#include <complex>
 
13
 
 
14
namespace dolfin
 
15
{
 
16
 
 
17
  // Real numbers
 
18
  typedef double real;
 
19
 
 
20
  // Unsigned integers
 
21
  typedef unsigned int uint;
 
22
 
 
23
  // Complex numbers
 
24
  typedef std::complex<double> complex;
 
25
 
 
26
}
 
27
 
 
28
#endif