1
#ifndef __CS_AST_COUPLING_H__
2
#define __CS_AST_COUPLING_H__
4
/*============================================================================
6
*============================================================================*/
9
This file is part of Code_Saturne, a general-purpose CFD tool.
11
Copyright (C) 1998-2011 EDF S.A.
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
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
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.
28
/*----------------------------------------------------------------------------*/
30
/*----------------------------------------------------------------------------
31
* Standard C library headers
32
*----------------------------------------------------------------------------*/
34
/*----------------------------------------------------------------------------
36
*----------------------------------------------------------------------------*/
38
/*----------------------------------------------------------------------------
40
*----------------------------------------------------------------------------*/
42
/*----------------------------------------------------------------------------
44
*----------------------------------------------------------------------------*/
48
/*----------------------------------------------------------------------------*/
52
/*=============================================================================
53
* Local Macro Definitions
54
*============================================================================*/
56
/*============================================================================
57
* Structure definition
58
*============================================================================*/
60
typedef struct _cs_ast_coupling_t cs_ast_coupling_t;
62
/*============================================================================
63
* Global variables definition
64
*============================================================================*/
66
/*============================================================================
67
* Public function prototypes for Fortran API
68
*============================================================================*/
70
/*----------------------------------------------------------------------------
71
* Send nodes coordinates and structure numbering of coupled mesh.
78
*----------------------------------------------------------------------------*/
80
void CS_PROCF(astgeo, ASTGEO)
90
/*----------------------------------------------------------------------------
91
* Send stresses acting on the fluid/structure interface.
98
*----------------------------------------------------------------------------*/
100
void CS_PROCF(astfor, ASTFOR)
107
/*----------------------------------------------------------------------------
108
* Receive displacement values of the fluid/structure interface
115
*----------------------------------------------------------------------------*/
117
void CS_PROCF(astcin, ASTCIN)
125
/*----------------------------------------------------------------------------
126
* Receive coupling parameters
133
*----------------------------------------------------------------------------*/
135
void CS_PROCF(astpar, ASTPAR)
144
/*----------------------------------------------------------------------------
152
*----------------------------------------------------------------------------*/
154
void CS_PROCF(astpdt, ASTPDT)
161
/*----------------------------------------------------------------------------
162
* Receive convergence value of Code_Saturne/Code_Aster coupling
169
*----------------------------------------------------------------------------*/
171
void CS_PROCF(astcv1, ASTCV1)
177
/*-----------------------------------------------------------------------------
178
* Send global convergence value of IFS calculations
179
* (Internal and external structures)
186
*----------------------------------------------------------------------------*/
188
void CS_PROCF(astcv2, ASTCV2)
194
/*----------------------------------------------------------------------------*/
198
#endif /* __CS_SYR_COUPLING_H__ */