~ubuntu-branches/ubuntu/precise/code-saturne/precise

« back to all changes in this revision

Viewing changes to include/base/cs_mesh_halo.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2011-11-24 00:00:08 UTC
  • mfrom: (6.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20111124000008-2vo99e38267942q5
Tags: 2.1.0-3
Install a missing file

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*============================================================================
2
 
 *
3
 
 *     This file is part of the Code_Saturne Kernel, element of the
4
 
 *     Code_Saturne CFD tool.
5
 
 *
6
 
 *     Copyright (C) 1998-2009 EDF S.A., France
7
 
 *
8
 
 *     contact: saturne-support@edf.fr
9
 
 *
10
 
 *     The Code_Saturne Kernel is free software; you can redistribute it
11
 
 *     and/or modify it under the terms of the GNU General Public License
12
 
 *     as published by the Free Software Foundation; either version 2 of
13
 
 *     the License, or (at your option) any later version.
14
 
 *
15
 
 *     The Code_Saturne Kernel is distributed in the hope that it will be
16
 
 *     useful, but WITHOUT ANY WARRANTY; without even the implied warranty
17
 
 *     of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 
 *     GNU General Public License for more details.
19
 
 *
20
 
 *     You should have received a copy of the GNU General Public License
21
 
 *     along with the Code_Saturne Kernel; if not, write to the
22
 
 *     Free Software Foundation, Inc.,
23
 
 *     51 Franklin St, Fifth Floor,
24
 
 *     Boston, MA  02110-1301  USA
25
 
 *
26
 
 *============================================================================*/
27
 
 
28
 
#ifndef __CS_MESH_HALO_H__
29
 
#define __CS_MESH_HALO_H__
30
 
 
31
 
/*============================================================================
32
 
 * Structure and function headers handling with ghost cells
33
 
 *============================================================================*/
34
 
 
35
 
/*----------------------------------------------------------------------------
36
 
 * FVM library headers
37
 
 *----------------------------------------------------------------------------*/
38
 
 
39
 
#include <fvm_interface.h>
40
 
 
41
 
/*----------------------------------------------------------------------------
42
 
 *  Local headers
43
 
 *----------------------------------------------------------------------------*/
44
 
 
45
 
#include "cs_base.h"
46
 
#include "cs_mesh.h"
47
 
 
48
 
/*----------------------------------------------------------------------------*/
49
 
 
50
 
BEGIN_C_DECLS
51
 
 
52
 
/*=============================================================================
53
 
 * Public function prototypes
54
 
 *============================================================================*/
55
 
 
56
 
/*----------------------------------------------------------------------------
57
 
 * Define halo structures for internal and distant ghost cells.
58
 
 *
59
 
 * parameters:
60
 
 *   mesh             -->  pointer to cs_mesh_t structure
61
 
 *   interface_set    -->  pointer to fvm_interface_set_t structure.
62
 
 *   p_gcell_vtx_idx  <--  pointer to the connectivity index
63
 
 *   p_gcell_vtx_lst  <--  pointer to the connectivity list
64
 
 *---------------------------------------------------------------------------*/
65
 
 
66
 
void
67
 
cs_mesh_halo_define(cs_mesh_t            *mesh,
68
 
                    fvm_interface_set_t  *interface_set,
69
 
                    cs_int_t             *p_gcell_vtx_idx[],
70
 
                    cs_int_t             *p_gcell_vtx_lst[]);
71
 
 
72
 
/*----------------------------------------------------------------------------*/
73
 
 
74
 
END_C_DECLS
75
 
 
76
 
#endif /* __CS_MESH_HALO_H__ */