programmer's documentation
cs_ctwr_halo.h
Go to the documentation of this file.
1 #ifndef __CS_CTWR_HALO_H__
2 #define __CS_CTWR_HALO_H__
3 
4 /*============================================================================
5  * Structure and function headers handling with ghost cells
6  *============================================================================*/
7 
8 /*
9  This file is part of Code_Saturne, a general-purpose CFD tool.
10 
11  Copyright (C) 1998-2015 EDF S.A.
12 
13  This program is free software; you can redistribute it and/or modify it under
14  the terms of the GNU General Public License as published by the Free Software
15  Foundation; either version 2 of the License, or (at your option) any later
16  version.
17 
18  This program is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
20  FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
21  details.
22 
23  You should have received a copy of the GNU General Public License along with
24  this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
25  Street, Fifth Floor, Boston, MA 02110-1301, USA.
26 */
27 
28 /*----------------------------------------------------------------------------*/
29 
30 /*----------------------------------------------------------------------------
31  * Local headers
32  *----------------------------------------------------------------------------*/
33 
34 #include "cs_base.h"
35 #include "cs_interface.h"
36 
37 #include "cs_ctwr.h"
38 
39 /*----------------------------------------------------------------------------*/
40 
42 
43 /*=============================================================================
44  * Public function prototypes
45  *============================================================================*/
46 
47 /*---------------------------------------------------------------------------
48  * Reverse "ghost cells -> vertex" connectivity into "vertex -> ghost cells"
49  * connectivity for out_halo elements.
50  * Build the connectivity list.
51  *
52  * parameters:
53  *---------------------------------------------------------------------------*/
54 
55 void
56 cs_reverse_vtx_faces_connect(const fvm_nodal_t *this_nodal,
57  cs_int_t *faces_vtx_idx[],
58  cs_int_t *faces_vtx_lst[]);
59 
60 /*----------------------------------------------------------------------------
61  * Define halo structures for internal and distant ghost cells.
62  *
63  * parameters:
64  * mesh --> pointer to cs_mesh_t structure
65  * interface_set --> pointer to cs_interface_set_t structure.
66  *---------------------------------------------------------------------------*/
67 
68 void
70  cs_interface_set_t *interface_set);
71 
72 /*----------------------------------------------------------------------------*/
73 
75 
76 #endif /* __CS_CTWR_HALO_H__ */
#define BEGIN_C_DECLS
Definition: cs_defs.h:429
int cs_int_t
Fortran-compatible integer.
Definition: cs_defs.h:295
void cs_ctwr_halo_define(cs_ctwr_zone_t *ct, cs_interface_set_t *interface_set)
Definition: cs_ctwr_halo.c:1416
struct _cs_interface_set_t cs_interface_set_t
Definition: cs_interface.h:61
struct _cs_ctwr_zone_t cs_ctwr_zone_t
Definition: cs_ctwr.h:59
#define END_C_DECLS
Definition: cs_defs.h:430
void cs_reverse_vtx_faces_connect(const fvm_nodal_t *this_nodal, cs_int_t *faces_vtx_idx[], cs_int_t *faces_vtx_lst[])
Definition: cs_ctwr_halo.c:1338