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

« back to all changes in this revision

Viewing changes to include/base/cs_mesh_warping.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_WARPING_H__
29
 
#define __CS_MESH_WARPING_H__
30
 
 
31
 
/*============================================================================
32
 
 * Cut warped faces in serial or parallel with/without periodicity.
33
 
 *============================================================================*/
34
 
 
35
 
/*----------------------------------------------------------------------------
36
 
 *  Local headers
37
 
 *----------------------------------------------------------------------------*/
38
 
 
39
 
#include "cs_base.h"
40
 
#include "cs_mesh.h"
41
 
 
42
 
/*----------------------------------------------------------------------------*/
43
 
 
44
 
BEGIN_C_DECLS
45
 
 
46
 
/*============================================================================
47
 
 * Macro definitions
48
 
 *============================================================================*/
49
 
 
50
 
/*============================================================================
51
 
 * Type definitions
52
 
 *============================================================================*/
53
 
 
54
 
/*=============================================================================
55
 
 * Public function prototypes
56
 
 *============================================================================*/
57
 
 
58
 
/*----------------------------------------------------------------------------
59
 
 * Cut warped faces.
60
 
 *
61
 
 * Updates border face connectivity and associated mesh quantities.
62
 
 *
63
 
 * parameters:
64
 
 *   mesh             <-> pointer to mesh structure.
65
 
 *   max_warp_angle   --> criterion to know which face to cut
66
 
 *   post_tag         --> tag to know if we have to post-treat cut faces.
67
 
 *----------------------------------------------------------------------------*/
68
 
 
69
 
void
70
 
cs_mesh_warping_cut_faces(cs_mesh_t    *mesh,
71
 
                          double        max_warp_angle,
72
 
                          cs_bool_t     post_tag);
73
 
 
74
 
/*----------------------------------------------------------------------------*/
75
 
 
76
 
END_C_DECLS
77
 
 
78
 
#endif /* __CS_MESH_WARPING_H__ */