Code_Saturne
CFD tool
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
ecs_post_cgns.h
Go to the documentation of this file.
1 #ifndef _ECS_POST_CGNS_H_
2 #define _ECS_POST_CGNS_H_
3 
4 /*============================================================================
5  * Prototypes des fonctions de base
6  * réalisant les sorties au format CGNS
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  * Visibilité
33  *============================================================================*/
34 
35 #include "cs_config.h"
36 
37 #if defined(HAVE_CGNS)
38 
39 /*----------------------------------------------------------------------------
40  * Fichiers `include' librairie standard C
41  *----------------------------------------------------------------------------*/
42 
43 
44 /*----------------------------------------------------------------------------
45  * Fichiers `include' publics du paquetage global "Utilitaire"
46  *----------------------------------------------------------------------------*/
47 
48 #include "ecs_def.h"
49 
50 
51 /*----------------------------------------------------------------------------
52  * Fichiers `include' publics des paquetages visibles
53  *----------------------------------------------------------------------------*/
54 
55 
56 /*----------------------------------------------------------------------------
57  * Fichiers `include' publics du paquetage courant
58  *----------------------------------------------------------------------------*/
59 
60 
61 /*============================================================================
62  * Définitions d'énumerations
63  *============================================================================*/
64 
65 
66 /*============================================================================
67  * Définitions de types
68  *============================================================================*/
69 
70 /* Structure définissant un cas CGNS */
71 
73 
74 /*============================================================================
75  * Définition de macros
76  *============================================================================*/
77 
78 
79 /*============================================================================
80  * Prototypes de fonctions publiques
81  *============================================================================*/
82 
83 /*----------------------------------------------------------------------------
84  * Fonction initialisant une structure `ecs_cgns_t` utilisée en ecriture.
85  *---------------------------------------------------------------------------*/
86 
88 ecs_post_cgns__cree_cas(const char *nom_cas);
89 
90 /*----------------------------------------------------------------------------
91  * Fonction détruisant une structure `ecs_cgns_t` utilisée en écriture.
92  *----------------------------------------------------------------------------*/
93 
96 
97 /*----------------------------------------------------------------------------
98  * Fonction fermant le fichier associé à un cas CGNS
99  * (pour forcer sa mise à jour).
100  *---------------------------------------------------------------------------*/
101 
102 void
104 
105 /*----------------------------------------------------------------------------
106  * Fonction définissant un maillage pour une structure `ecs_cgns_t`.
107  *----------------------------------------------------------------------------*/
108 
109 void
110 ecs_post_cgns__ajoute_maillage(const char *nom_maillage,
111  ecs_int_t dim_entite,
112  ecs_post_cgns_t *cas_cgns);
113 
114 #endif /* HAVE_CGNS */
115 
116 /*----------------------------------------------------------------------------*/
117 
118 #endif /* _ECS_POST_CGNS_H_ */
void ecs_post_cgns__ajoute_maillage(const char *nom_maillage, ecs_int_t dim_entite, ecs_post_cgns_t *cas_cgns)
Definition: ecs_post_cgns.c:203
int ecs_int_t
Definition: ecs_def.h:131
char * nom_cas
Definition: ecs_post_cgns_priv.h:105
ecs_post_cgns_t * ecs_post_cgns__cree_cas(const char *nom_cas)
Definition: ecs_post_cgns.c:103
Definition: ecs_post_cgns_priv.h:101
ecs_post_cgns_t * ecs_post_cgns__detruit_cas(ecs_post_cgns_t *cas_cgns)
Definition: ecs_post_cgns.c:128
void ecs_post_cgns__ferme_cas(ecs_post_cgns_t *cas_cgns)
Definition: ecs_post_cgns.c:174