Code_Saturne
CFD tool
ecs_table_post_cgns.h
Go to the documentation of this file.
1 #ifndef _ECS_CHAMP_POST_CGNS_H_
2 #define _ECS_CHAMP_POST_CGNS_H_
3 
4 /*============================================================================
5  * Functions associated with a `ecs_champ_t' structure describing a field
6  * for CGNS output.
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 #include "cs_config.h"
32 
33 #if defined(HAVE_CGNS)
34 
35 /*----------------------------------------------------------------------------
36  * Standard C library headers
37  *----------------------------------------------------------------------------*/
38 
39 /*----------------------------------------------------------------------------
40  * Local headers
41  *----------------------------------------------------------------------------*/
42 
43 #include "ecs_tab.h"
44 #include "ecs_table.h"
45 
46 #include "ecs_post.h"
47 
48 #include "ecs_post_cgns.h"
49 #include "ecs_post_cgns_priv.h"
50 
51 /*============================================================================
52  * Public function prototypes
53  *============================================================================*/
54 
55 /*----------------------------------------------------------------------------
56  * Write element connectivity based on geometric type.
57  *
58  * Elements must have been previously sorted by type, and polyhedra
59  * are ignored.
60  *---------------------------------------------------------------------------*/
61 
62 void
63 ecs_table_post_cgns__ecr_connect(const char *nom_maillage,
64  size_t n_vertices,
65  const ecs_coord_t vertex_coords[],
66  ecs_table_t *table_def,
67  const ecs_tab_int_t *tab_elt_typ_geo,
68  ecs_post_cgns_t *cas_cgns);
69 
70 #endif /* HAVE_CGNS */
71 
72 /*----------------------------------------------------------------------------*/
73 
74 #endif /* _ECS_TABLE_POST_CGNS_H_ */
double ecs_coord_t
Definition: ecs_def.h:133
Definition: ecs_post_cgns_priv.h:101
Definition: ecs_tab.h:39
Definition: ecs_table_priv.h:63
void ecs_table_post_cgns__ecr_connect(const char *nom_maillage, size_t n_vertices, const ecs_coord_t vertex_coords[], ecs_table_t *table_def, const ecs_tab_int_t *tab_elt_typ_geo, ecs_post_cgns_t *cas_cgns)
Definition: ecs_table_post_cgns.c:167