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

« back to all changes in this revision

Viewing changes to preprocessor/pre-post/ecs_post_ens_priv.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2011-11-01 17:43:32 UTC
  • mto: (6.1.7 sid)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: package-import@ubuntu.com-20111101174332-tl4vk45no0x3emc3
Tags: upstream-2.1.0
Import upstream version 2.1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _ECS_POST_ENS_PRIV_H_
 
2
#define _ECS_POST_ENS_PRIV_H_
 
3
 
 
4
/*============================================================================
 
5
 *  Définition de la structure `ecs_post_ens_t' pour post-traitement EnSight
 
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
 
 
31
/*============================================================================
 
32
 *                                 Visibilité
 
33
 *============================================================================*/
 
34
 
 
35
/*----------------------------------------------------------------------------*
 
36
 *  Fichiers `include' librairie standard C ou BFT
 
37
 *----------------------------------------------------------------------------*/
 
38
 
 
39
#include <ecs_file.h>
 
40
 
 
41
 
 
42
/*----------------------------------------------------------------------------*
 
43
 *  Fichiers `include' publics  du  paquetage global "Utilitaire"
 
44
 *----------------------------------------------------------------------------*/
 
45
 
 
46
#include "ecs_def.h"
 
47
 
 
48
 
 
49
/*----------------------------------------------------------------------------*
 
50
 *  Fichiers `include' publics  des paquetages visibles
 
51
 *----------------------------------------------------------------------------*/
 
52
 
 
53
 
 
54
/*----------------------------------------------------------------------------*
 
55
 *  Fichiers `include' publics  du  paquetage courant
 
56
 *----------------------------------------------------------------------------*/
 
57
 
 
58
#include "ecs_post_ens.h"
 
59
 
 
60
 
 
61
/*============================================================================
 
62
 *  Définition de macros
 
63
 *============================================================================*/
 
64
 
 
65
 
 
66
/*============================================================================
 
67
 *  Définitions d'énumerations
 
68
 *============================================================================*/
 
69
 
 
70
 
 
71
/*============================================================================
 
72
 *  Définitions de types
 
73
 *============================================================================*/
 
74
 
 
75
/* Structure conservant des informations sur les parts EnSight */
 
76
 
 
77
typedef struct {
 
78
 
 
79
  char        *nom_part;       /* Nom du "part" EnSight */
 
80
  int          num_part;       /* Numéro du "part" */
 
81
  ecs_int_t    nbr_som;        /* Nombre de sommets associés */
 
82
  int          nbr_typ_ele;    /* Nombre de type d'éléments considérés */
 
83
  ecs_int_t   *nbr_ele_typ;    /* Nombre d'éléments par type */
 
84
  char       **nom_typ_ele;    /* Noms des types d'éléments */
 
85
  ecs_int_t   *lst_parents;    /* Liste des éléments parents */
 
86
 
 
87
} ecs_post_ens_part_t ;
 
88
 
 
89
 
 
90
/* Structure définissant un cas EnSight */
 
91
 
 
92
struct _ecs_post_ens_t {
 
93
 
 
94
  char                  *nom_cas;        /* Nom du cas */
 
95
  char                  *prefixe_rep;    /* Préfixe du répertoire EnSight  */
 
96
  char                  *prefixe_fic;    /* Préfixe des fichiers EnSight */
 
97
  char                  *nom_fic_case;   /* Nom du fichier "case" */
 
98
 
 
99
  int                    nbr_part;       /* Nombre de ``parts'' géométrie */
 
100
  ecs_post_ens_part_t  **tab_part;       /* Descripteurs des ``parts'' */
 
101
 
 
102
  ecs_file_t            *fic_geo;        /* Pointeur sur fichier géométrie */
 
103
 
 
104
  bool                   modifie;        /* Modification depuis dernière
 
105
                                            écriture du fichier case */
 
106
 
 
107
};
 
108
 
 
109
/*----------------------------------------------------------------------------*/
 
110
 
 
111
#endif /* _ECS_POST_ENS_PRIV_H_ */