Code_Saturne
CFD tool
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
ecs_pre.h
Go to the documentation of this file.
1 #ifndef _ECS_PRE_H_
2 #define _ECS_PRE_H_
3 
4 /*============================================================================
5  * Definition des fonctions de base
6  * de remplissage de la structure de maillage a partir des donnees lues
7  *============================================================================*/
8 
9 /*
10  This file is part of Code_Saturne, a general-purpose CFD tool.
11 
12  Copyright (C) 1998-2012 EDF S.A.
13 
14  This program is free software; you can redistribute it and/or modify it under
15  the terms of the GNU General Public License as published by the Free Software
16  Foundation; either version 2 of the License, or (at your option) any later
17  version.
18 
19  This program is distributed in the hope that it will be useful, but WITHOUT
20  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
21  FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
22  details.
23 
24  You should have received a copy of the GNU General Public License along with
25  this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
26  Street, Fifth Floor, Boston, MA 02110-1301, USA.
27 */
28 
29 /*----------------------------------------------------------------------------*/
30 
31 
32 /*============================================================================
33  * Visibilite
34  *============================================================================*/
35 
36 /*----------------------------------------------------------------------------
37  * Fichiers `include' librairie standard C
38  *----------------------------------------------------------------------------*/
39 
40 #include <assert.h>
41 #include <stdlib.h>
42 #include <string.h>
43 
44 
45 /*----------------------------------------------------------------------------
46  * Fichiers `include' visibles du paquetage global "Utilitaire"
47  *----------------------------------------------------------------------------*/
48 
49 #include "ecs_def.h"
50 
51 
52 /*----------------------------------------------------------------------------
53  * Fichiers `include' visibles des paquetages visibles
54  *----------------------------------------------------------------------------*/
55 
56 #include "ecs_maillage.h"
57 
58 
59 /*----------------------------------------------------------------------------
60  * Fichiers `include' visibles du paquetage courant
61  *----------------------------------------------------------------------------*/
62 
63 
64 /*----------------------------------------------------------------------------
65  * Fichier `include' du paquetage courant associe au fichier courant
66  *----------------------------------------------------------------------------*/
67 
68 
69 /*----------------------------------------------------------------------------
70  * Fichiers `include' prives du paquetage courant
71  *----------------------------------------------------------------------------*/
72 
73 
74 /*============================================================================
75  * Définition de type énuméré
76  *============================================================================*/
77 
78 typedef enum {
79 
90 
92 
93 /*============================================================================
94  * Prototypes de fonctions publiques
95  *============================================================================*/
96 
97 /*----------------------------------------------------------------------------
98  * Fonction qui affiche la liste les formats supportés
99  *----------------------------------------------------------------------------*/
100 
101 void
103 
104 /*----------------------------------------------------------------------------
105  * Fonction qui renvoie le type de format de fichier associé à un fichier
106  * et à une clé optionnelle donnés
107  *----------------------------------------------------------------------------*/
108 
110 ecs_pre__type_format(const char *nom_fic,
111  const char *mot_cle);
112 
113 /*----------------------------------------------------------------------------
114  * Fonction qui lit les maillages sur fichiers
115  *
116  * La fonction renvoie le maillage concaténé
117  *----------------------------------------------------------------------------*/
118 
120 ecs_pre__lit_maillage(const char *nom_fic,
121  ecs_pre_format_t format,
122  int num_maillage,
123  bool cree_grp_cel_section,
124  bool cree_grp_cel_zone,
125  bool cree_grp_fac_section,
126  bool cree_grp_fac_zone);
127 
128 /*----------------------------------------------------------------------------*/
129 
130 #endif /* _ECS_PRE_H_ */
ecs_pre_format_t ecs_pre__type_format(const char *nom_fic, const char *mot_cle)
Definition: ecs_pre.c:237
Definition: ecs_pre.h:87
Definition: ecs_pre.h:82
Definition: ecs_pre.h:80
Definition: ecs_pre.h:88
ecs_maillage_t * ecs_pre__lit_maillage(const char *nom_fic, ecs_pre_format_t format, int num_maillage, bool cree_grp_cel_section, bool cree_grp_cel_zone, bool cree_grp_fac_section, bool cree_grp_fac_zone)
Definition: ecs_pre.c:353
void ecs_pre__aff_formats(void)
Definition: ecs_pre.c:209
Definition: ecs_maillage_priv.h:79
ecs_pre_format_t
Definition: ecs_pre.h:78
Definition: ecs_pre.h:85
Definition: ecs_pre.h:89
Definition: ecs_pre.h:81
Definition: ecs_pre.h:84
Definition: ecs_pre.h:86
Definition: ecs_pre.h:83