src/atmo/cs_at_plugin.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_at_plugin.h
Go to the documentation of this file.
1 #ifndef __CS_ATPLUGIN_H__
2 #define __CS_ATPLUGIN_H__
3
4 /*
5 This file is part of Code_Saturne, a general-purpose CFD tool.
6
7 Copyright (C) 1998-2013 EDF S.A.
8
9 This program is free software; you can redistribute it and/or modify it under
10 the terms of the GNU General Public License as published by the Free Software
11 Foundation; either version 2 of the License, or (at your option) any later
12 version.
13
14 This program is distributed in the hope that it will be useful, but WITHOUT
15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
17 details.
18
19 You should have received a copy of the GNU General Public License along with
20 this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
21 Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 */
23
24 /*----------------------------------------------------------------------------*/
25
26 /*----------------------------------------------------------------------------
27 * Local headers
28 *----------------------------------------------------------------------------*/
29
30 /*----------------------------------------------------------------------------*/
31
32 BEGIN_C_DECLS
33
34 /*============================================================================
35 * Macro definitions
36 *============================================================================*/
37
38 /*============================================================================
39 * Type definitions
40 *============================================================================*/
41
42 /*============================================================================
43 * Global variables
44 *============================================================================*/
45
46 /*=============================================================================
47 * Public function prototypes for Fortran API
48 *============================================================================*/
49
50 /* Plug-in to get aerosol function
51 from SIREAM library (ENPC - INRIA - EDF R&D) */
52
53 void CS_PROCF(plug_aerosol, PLUG_AEROSOL)
54 (
55 cs_int_t *nx,
56 cs_int_t *ny,
57 cs_int_t *nz,
58 cs_int_t *ns,
59 cs_real_t *ts,
60 cs_real_t *dlhumid,
61 cs_real_t *dltemp,
62 cs_real_t *dlpress,
63 cs_real_t *delta_t,
64 cs_real_t *dlconc,
65 cs_int_t *noptions_aer,
66 cs_int_t *options_aer,
67 cs_int_t *ns_aer,
68 cs_int_t *nbin_aer,
69 cs_int_t *ncycle_aer,
70 cs_real_t *bin_bound_aer,
71 cs_real_t *fixed_density_aer,
72 cs_real_t *density_aer,
73 cs_int_t *couples_coag,
74 cs_int_t *first_index_coag,
75 cs_int_t *second_index_coag,
76 cs_real_t *coefficient_coag,
77 cs_real_t *dlconc_aer,
78 cs_real_t *dlnum_aer
79 );
80
81 /* Plug-in to get compute_coagulation_coefficient function
82 from SIREAM library (ENPC - INRIA - EDF R&D) */
83
84 void CS_PROCF(plug_compute_coagulation_coefficient,
85 PLUG_COMPUTE_COAGULATION_COEFFICIENT)
86 (
87 cs_int_t *nbin_aer,
88 cs_real_t *bin_bound,
89 cs_int_t *couple,
90 cs_int_t *first_index,
91 cs_int_t *second_index,
92 cs_real_t *partition_coefficient
93 );
94
95 /*----------------------------------------------------------------------------*/
96
97 END_C_DECLS
98
99 #endif /* __CS_ATPLUGIN_H__ */