src/ctwr/cs_ctwr_halo.h Source File

| programmer's documentation

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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-2013 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
41 BEGIN_C_DECLS
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
69 cs_ctwr_halo_define(cs_ctwr_zone_t *ct,
70 cs_interface_set_t *interface_set);
71
72 /*----------------------------------------------------------------------------*/
73
74 END_C_DECLS
75
76 #endif /* __CS_CTWR_HALO_H__ */