Code_Saturne
CFD tool
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
ecs_post_ens.h
Go to the documentation of this file.
1 #ifndef _ECS_POST_ENS_H_
2 #define _ECS_POST_ENS_H_
3 
4 /*============================================================================
5  * Prototypes des fonctions de base
6  * réalisant les sorties pour post-traitement Ensight
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 /*----------------------------------------------------------------------------
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 
59 /*============================================================================
60  * Definitions de types
61  *============================================================================*/
62 
63 /* Structure définissant un cas EnSight */
64 
66 
67 
68 /*============================================================================
69  * Définitions d'énumérations
70  *============================================================================*/
71 
72 
73 /*============================================================================
74  * Définition de macros
75  *============================================================================*/
76 
77 
78 /*============================================================================
79  * Prototypes de fonctions publiques
80  *============================================================================*/
81 
82 /*----------------------------------------------------------------------------
83  * Fonction initialisant une structure `ecs_post_ens_t`.
84  *----------------------------------------------------------------------------*/
85 
87 ecs_post_ens__cree_cas(const char *nom_cas);
88 
89 /*----------------------------------------------------------------------------
90  * Fonction détruisant une structure `ecs_post_ens_t`.
91  *----------------------------------------------------------------------------*/
92 
95 
96 /*----------------------------------------------------------------------------
97  * Écriture d'une chaîne de caractères dans un fichier EnSight Gold.
98  *----------------------------------------------------------------------------*/
99 
100 void
102  const char *chaine);
103 
104 /*----------------------------------------------------------------------------
105  * Écriture d'un entier dans un fichier EnSight Gold.
106  *----------------------------------------------------------------------------*/
107 
108 void
110  int val);
111 
112 /*----------------------------------------------------------------------------
113  * Fonction écrivant le fichier contenant la géométrie
114  *----------------------------------------------------------------------------*/
115 
116 ecs_file_t *
118 
119 /*----------------------------------------------------------------------------
120  * Fonction construisant le descripteur (`ecs_file_t') du fichier
121  * contenant les valeurs de la variable à sortir pour post-traitement Ensight
122  *
123  * La fonction détermine aussi la ligne spécifiant la variable
124  * devant figurer dans le fichier Case
125  *----------------------------------------------------------------------------*/
126 
127 ecs_file_t *
129  const char *nom_var);
130 
131 /*----------------------------------------------------------------------------*/
132 
133 #endif /* _ECS_POST_ENS_H_ */
typedefBEGIN_C_DECLS struct _ecs_file_t ecs_file_t
Pointer to opaque file descriptor.
Definition: ecs_file.h:40
ecs_post_ens_t * ecs_post_ens__detruit_cas(ecs_post_ens_t *cas_ens)
Definition: ecs_post_ens.c:292
ecs_post_ens_t * ecs_post_ens__cree_cas(const char *nom_cas)
Definition: ecs_post_ens.c:252
Definition: ecs_post_ens_priv.h:92
void ecs_post_ens__ecr_int(const ecs_file_t *fic, int val)
Definition: ecs_post_ens.c:346
char * nom_cas
Definition: ecs_post_ens_priv.h:94
ecs_file_t * ecs_post_ens__ecrit_fic_geo(ecs_post_ens_t *cas_ens)
Definition: ecs_post_ens.c:359
ecs_file_t * ecs_post_ens__ecrit_fic_var(ecs_post_ens_t *cas_ens, const char *nom_var)
void ecs_post_ens__ecr_chaine(const ecs_file_t *fic, const char *chaine)
Definition: ecs_post_ens.c:328