~ubuntu-branches/ubuntu/precise/code-saturne/precise

« back to all changes in this revision

Viewing changes to preprocessor/util/ecs_tab_glob.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2011-11-24 00:00:08 UTC
  • mfrom: (6.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20111124000008-2vo99e38267942q5
Tags: 2.1.0-3
Install a missing file

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _ECS_TAB_GLOB_H_
 
2
#define _ECS_TAB_GLOB_H_
 
3
 
 
4
/*============================================================================
 
5
 *  Définition publique de la structure `tab_t' décrivant un tableau
 
6
 *============================================================================*/
 
7
 
 
8
/*
 
9
  This file is part of Code_Saturne, a general-purpose CFD tool.
 
10
 
 
11
  Copyright (C) 1998-2011 EDF S.A.
 
12
 
 
13
  This program is free software; you can redistribute it and/or modify it under
 
14
  the terms of the GNU General Public License as published by the Free Software
 
15
  Foundation; either version 2 of the License, or (at your option) any later
 
16
  version.
 
17
 
 
18
  This program is distributed in the hope that it will be useful, but WITHOUT
 
19
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 
20
  FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
 
21
  details.
 
22
 
 
23
  You should have received a copy of the GNU General Public License along with
 
24
  this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
 
25
  Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
26
*/
 
27
 
 
28
 
 
29
/*============================================================================
 
30
 *                                 Visibilité
 
31
 *============================================================================*/
 
32
 
 
33
 
 
34
/*----------------------------------------------------------------------------
 
35
 *  Fichiers `include' librairie standard C
 
36
 *----------------------------------------------------------------------------*/
 
37
 
 
38
#include <stdio.h>
 
39
 
 
40
 
 
41
/*----------------------------------------------------------------------------
 
42
 *  Fichiers `include' publics  du  paquetage global "Utilitaire"
 
43
 *----------------------------------------------------------------------------*/
 
44
 
 
45
#include "ecs_def.h"
 
46
 
 
47
 
 
48
/*============================================================================
 
49
 *                         Définition d'enumération
 
50
 *============================================================================*/
 
51
 
 
52
 
 
53
/*============================================================================
 
54
 *                         Définitions de type
 
55
 *============================================================================*/
 
56
 
 
57
typedef struct {
 
58
 
 
59
  size_t        nbr;
 
60
  ecs_int_t    *val;
 
61
 
 
62
} ecs_tab_int_t;
 
63
 
 
64
typedef struct {
 
65
 
 
66
  size_t       nbr;
 
67
  char       **val;
 
68
 
 
69
} ecs_tab_char_t;
 
70
 
 
71
 
 
72
typedef struct {
 
73
 
 
74
  size_t       nbr;
 
75
  bool        *val;
 
76
 
 
77
} ecs_tab_bool_t;
 
78
 
 
79
/*----------------------------------------------------------------------------*/
 
80
 
 
81
#endif /* _ECS_TAB_GLOB_H_ */