Code_Saturne
CFD tool
ecs_post_ens_priv.h
Go to the documentation of this file.
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-2012 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 
88 
89 
90 /* Structure définissant un cas EnSight */
91 
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_ */
typedefBEGIN_C_DECLS struct _ecs_file_t ecs_file_t
Pointer to opaque file descriptor.
Definition: ecs_file.h:40
int ecs_int_t
Definition: ecs_def.h:131
ecs_int_t * lst_parents
Definition: ecs_post_ens_priv.h:85
char * prefixe_fic
Definition: ecs_post_ens_priv.h:96
Definition: ecs_post_ens_priv.h:92
char * nom_cas
Definition: ecs_post_ens_priv.h:94
bool modifie
Definition: ecs_post_ens_priv.h:104
char * nom_part
Definition: ecs_post_ens_priv.h:79
ecs_post_ens_part_t ** tab_part
Definition: ecs_post_ens_priv.h:100
char ** nom_typ_ele
Definition: ecs_post_ens_priv.h:84
int num_part
Definition: ecs_post_ens_priv.h:80
ecs_file_t * fic_geo
Definition: ecs_post_ens_priv.h:102
int nbr_part
Definition: ecs_post_ens_priv.h:99
ecs_int_t nbr_som
Definition: ecs_post_ens_priv.h:81
int nbr_typ_ele
Definition: ecs_post_ens_priv.h:82
Definition: ecs_post_ens_priv.h:77
char * nom_fic_case
Definition: ecs_post_ens_priv.h:97
char * prefixe_rep
Definition: ecs_post_ens_priv.h:95
ecs_int_t * nbr_ele_typ
Definition: ecs_post_ens_priv.h:83