Code_Saturne
CFD tool
ecs_maillage_post.h
Go to the documentation of this file.
1 #ifndef _ECS_MAILLAGE_POST_H_
2 #define _ECS_MAILLAGE_POST_H_
3 
4 /*============================================================================
5  * Prototypes des fonctions
6  * associées à la structure `ecs_maillage_t' décrivant un maillage
7  * et réalisant les sorties pour post-traitement
8  *============================================================================*/
9 
10 /*
11  This file is part of Code_Saturne, a general-purpose CFD tool.
12 
13  Copyright (C) 1998-2012 EDF S.A.
14 
15  This program is free software; you can redistribute it and/or modify it under
16  the terms of the GNU General Public License as published by the Free Software
17  Foundation; either version 2 of the License, or (at your option) any later
18  version.
19 
20  This program is distributed in the hope that it will be useful, but WITHOUT
21  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
22  FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
23  details.
24 
25  You should have received a copy of the GNU General Public License along with
26  this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
27  Street, Fifth Floor, Boston, MA 02110-1301, USA.
28 */
29 
30 /*----------------------------------------------------------------------------*/
31 
32 
33 /*============================================================================
34  * Visibilite
35  *============================================================================*/
36 
37 
38 /*----------------------------------------------------------------------------
39  * Fichiers `include' librairie standard C
40  *----------------------------------------------------------------------------*/
41 
42 
43 /*----------------------------------------------------------------------------
44  * Fichiers `include' publics du paquetage global "Utilitaire"
45  *----------------------------------------------------------------------------*/
46 
47 #include "ecs_tab.h"
48 
49 
50 /*----------------------------------------------------------------------------
51  * Fichiers `include' publics du paquetage global "Post-Traitement"
52  *----------------------------------------------------------------------------*/
53 
54 #include "ecs_post.h"
55 
56 
57 /*----------------------------------------------------------------------------
58  * Fichiers `include' publics des paquetages visibles
59  *----------------------------------------------------------------------------*/
60 
61 
62 /*----------------------------------------------------------------------------
63  * Fichiers `include' publics du paquetage courant
64  *----------------------------------------------------------------------------*/
65 
66 #include "ecs_maillage.h"
67 
68 
69 /*============================================================================
70  * Prototypes de fonctions publiques
71  *============================================================================*/
72 
73 /*----------------------------------------------------------------------------
74  * Fonction qui écrit le maillage sur fichier pour post-traitement
75  * Seuls les éléments de l'entité de rang `ent_post' sont écrits.
76  *
77  * Les éléments de l'entité à écrire doivent être sous forme de
78  * connectivité nodale.
79  *----------------------------------------------------------------------------*/
80 
81 void
82 ecs_maillage_post__ecr(const char *nom_maillage,
83  ecs_maillage_t *maillage,
84  ecs_post_type_t type_post,
85  ecs_post_t *cas_post);
86 
87 /*----------------------------------------------------------------------------
88  * Écriture du maillage correspondant à une liste de faces sur fichier
89  * pour post-traitement.
90  *
91  * Cette fonction crée une coupe correspondant à la liste de faces donnée
92  * (ce qui provoque automatiquement son post-traitement), puis la détruit.
93  * Le nom utilisé pour cette sortie ne sera donc plus disponible pour
94  * d'autres coupes.
95  *
96  * Le maillage principal doit être en connectivité descendante.
97  *----------------------------------------------------------------------------*/
98 
99 void
100 ecs_maillage_post__ecr_fac_liste(const char *nom_liste,
101  ecs_maillage_t *maillage,
102  const ecs_tab_int_t liste_fac,
103  ecs_post_type_t type_post,
104  ecs_post_t *cas_post);
105 
106 /*----------------------------------------------------------------------------*/
107 
108 #endif /* _ECS_MAILLAGE_POST_H_ */
void ecs_maillage_post__ecr(const char *nom_maillage, ecs_maillage_t *maillage, ecs_post_type_t type_post, ecs_post_t *cas_post)
Definition: ecs_maillage_post.c:191
Definition: ecs_maillage_priv.h:79
ecs_post_type_t
Definition: ecs_post.h:69
Definition: ecs_tab.h:39
void ecs_maillage_post__ecr_fac_liste(const char *nom_liste, ecs_maillage_t *maillage, const ecs_tab_int_t liste_fac, ecs_post_type_t type_post, ecs_post_t *cas_post)
Definition: ecs_maillage_post.c:295
Definition: ecs_post.h:83