~fluidity-core/fluidity/embedded_models

« back to all changes in this revision

Viewing changes to libspud/include/spud_enums.h

  • Committer: Timothy Bond
  • Date: 2011-04-14 15:40:24 UTC
  • Revision ID: timothy.bond@imperial.ac.uk-20110414154024-116ci9gq6mwigmaw
Following the move from svn to bzr we change the nature of inclusion of these
four software libraries. Previously, they were included as svn externals and
pulled at latest version for trunk, pinned to specific versions for release
and stable trunk. Since bzr is less elegant at dealing with externals we have
made the decision to include the packages directly into the trunk instead.

At this import the versions are:

libadaptivity: r163
libvtkfortran: r67
libspud: r545
libmba2d: r28

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*  Copyright (C) 2006 Imperial College London and others.
 
2
 
 
3
    Please see the AUTHORS file in the main source directory for a full list
 
4
    of copyright holders.
 
5
 
 
6
    Prof. C Pain
 
7
    Applied Modelling and Computation Group
 
8
    Department of Earth Science and Engineering
 
9
    Imperial College London
 
10
 
 
11
    C.Pain@Imperial.ac.uk
 
12
 
 
13
    This library is free software; you can redistribute it and/or
 
14
    modify it under the terms of the GNU Lesser General Public
 
15
    License as published by the Free Software Foundation,
 
16
    version 2.1 of the License.
 
17
 
 
18
    This library is distributed in the hope that it will be useful,
 
19
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
20
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
21
    Lesser General Public License for more details.
 
22
 
 
23
    You should have received a copy of the GNU Lesser General Public
 
24
    License along with this library; if not, write to the Free Software
 
25
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
 
26
    USA
 
27
*/
 
28
 
 
29
#ifndef SPUD_ENUMS_H
 
30
#define SPUD_ENUMS_H
 
31
 
 
32
#ifdef __cplusplus
 
33
namespace Spud{
 
34
#endif
 
35
 
 
36
#ifdef __cplusplus
 
37
  enum OptionType{
 
38
#else
 
39
  enum SpudOptionType{
 
40
#endif
 
41
    SPUD_DOUBLE = 0,
 
42
    SPUD_INT    = 1,
 
43
    SPUD_NONE   = 2,
 
44
    SPUD_STRING = 3,
 
45
  };
 
46
 
 
47
#ifdef __cplusplus
 
48
  enum OptionError{
 
49
#else
 
50
  enum SpudOptionError{
 
51
#endif
 
52
    SPUD_NO_ERROR                = 0,
 
53
    SPUD_KEY_ERROR               = 1,
 
54
    SPUD_TYPE_ERROR              = 2,
 
55
    SPUD_RANK_ERROR              = 3,
 
56
    SPUD_SHAPE_ERROR             = 4,
 
57
    SPUD_NEW_KEY_WARNING         = -1,
 
58
    SPUD_ATTR_SET_FAILED_WARNING = -2,
 
59
  };
 
60
 
 
61
#ifdef __cplusplus
 
62
}
 
63
#endif
 
64
 
 
65
#endif