Code_Saturne
CFD tool
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
cs_gui_particles.h
Go to the documentation of this file.
1 #ifndef __CS_GUI_PARTICLES_H__
2 #define __CS_GUI_PARTICLES_H__
3 
4 /*============================================================================
5  * Reader of the parameters file: lagrangian particles
6  *============================================================================*/
7 
8 /*
9  This file is part of Code_Saturne, a general-purpose CFD tool.
10 
11  Copyright (C) 1998-2012 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 
36 /*----------------------------------------------------------------------------*/
37 
39 
40 /*============================================================================
41  * Public function prototypes for Fortran API
42  *============================================================================*/
43 
44 /*----------------------------------------------------------------------------
45  * Copy variable name from C to Fortran
46  *----------------------------------------------------------------------------*/
47 
48 void CS_PROCF(cfname, CFNAME)
49 (
50  int *const flag, /* --> flag for array = 1, 2, or 3 */
51  char *const fstr, /* --> Fortran string */
52  int *const len, /* --> String Length */
53  int *const var_id /* --> Variable Id (1 to n) */
55  );
56 
57 /*----------------------------------------------------------------------------
58  * Copy variable name from Fortran to C
59  *----------------------------------------------------------------------------*/
60 
61 void CS_PROCF(fclag1, FCLAG1)
62 (
63  const char *const fstr, /* --> Fortran string */
64  int *const len, /* --> String Length */
65  int *const var_id /* --> Variable Id (1 to n) */
67 );
68 
69 /*----------------------------------------------------------------------------
70  * Copy variable name from Fortran to C
71  *----------------------------------------------------------------------------*/
72 
73 void CS_PROCF(fclag2, FCLAG2)
74 (
75  const char *const fstr, /* --> Fortran string */
76  int *const len, /* --> String Length */
77  int *const var_id /* --> Variable Id (1 to n) */
79 );
80 
81 /*----------------------------------------------------------------------------
82  * Copy variable name from Fortran to C
83  *----------------------------------------------------------------------------*/
84 
85 void CS_PROCF(fclag3, FCLAG3)
86 (
87  const char *const fstr, /* --> Fortran string */
88  int *const len, /* --> String Length */
89  int *const var_id /* --> Variable Id (1 to n) */
91 );
92 
93 /*-----------------------------------------------------------------------------
94  * Lagrangian: global settings, particles model, 2 way coupling, numerical ordering.
95  *
96  * Fortran Interface:
97  *
98  * SUBROUTINE UILAG1
99  * *****************
100  *
101  *----------------------------------------------------------------------------*/
102 
103 void CS_PROCF (uilag1, UILAG1) (int *const iilagr,
104  int *const isuila,
105  int *const isuist,
106  int *const nbpmax,
107  int *const isttio,
108  int *const injcon,
109  int *const iphyla,
110  int *const idpvar,
111  int *const itpvar,
112  int *const impvar,
113  int *const iencra,
114  double tprenc[],
115  double visref[],
116  double enc1[],
117  double enc2[],
118  int *const nstits,
119  int *const lstdyn,
120  int *const ltsmas,
121  int *const ltsthe,
122  int *const nordre,
123  int *const idistu,
124  int *const idiffl,
125  int *const modcpl,
126  int *const idirla,
127  int *const iensi1,
128  int *const iensi2,
129  int *const ntlal,
130  int *const nbvis,
131  int *const nvisla,
132  int *const ivisv1,
133  int *const ivisv2,
134  int *const ivistp,
135  int *const ivisdm,
136  int *const iviste,
137  int *const ivismp,
138  int *const ivishp,
139  int *const ivisdk,
140  int *const ivisch,
141  int *const ivisck,
142  int *const istala,
143  int *const nbclst,
144  double *const seuil,
145  int *const idstnt,
146  int *const nstist,
147  int ihslag[],
148  int *const iensi3,
149  double *const seuilf,
150  int *const nstbor,
151  int *const inbrbd,
152  int *const iflmbd,
153  int *const iangbd,
154  int *const ivitbd,
155  int *const iencbd,
156  int imoybr[],
157  int *const iactfv,
158  int *const iactvx,
159  int *const iactvy,
160  int *const iactvz,
161  int *const iactts);
162 
163 /*-----------------------------------------------------------------------------
164  * Fortran Interface:
165  *
166  * subroutine uilag2
167  * *****************
168  *
169  * integer nfabor --> number of boundary faces
170  * integer nozppm --> max number of boundary conditions zone
171  * integer nclagm --> max number of classes
172  * integer nflagm --> max number of boundaries
173  * integer iphyla --> physica model associated to the particles
174  * integer iusncl <-- array for particles class(es) number
175  * integer iusclb <-- array for particles boundary conditions
176  * integer iuslag <-- array for integer variables
177  * double precision ruslag <-- array for real variables
178  *----------------------------------------------------------------------------*/
179 
180 void CS_PROCF (uilag2, UILAG2) (const int *const nfabor,
181  const int *const nozppm,
182  const int *const nclagm,
183  const int *const nflagm,
184  const int *const nbclst,
185  const int *const ientrl,
186  const int *const isortl,
187  const int *const idepo1,
188  const int *const idepo2,
189  const int *const idepfa,
190  const int *const iencrl,
191  const int *const irebol,
192  const int *const iphyla,
193  const int *const ijnbp,
194  const int *const ijfre,
195  const int *const iclst,
196  const int *const ijuvw,
197  const int *const iuno,
198  const int *const iupt,
199  const int *const ivpt,
200  const int *const iwpt,
201  const int *const ijprpd,
202  const int *const ipoit,
203  const int *const idebt,
204  const int *const ijprdp,
205  const int *const idpt,
206  const int *const ivdpt,
207  const int *const iropt,
208  const int *const ijprtp,
209  const int *const itpt,
210  const int *const icpt,
211  const int *const iepsi,
212  const int *const ihpt,
213  const int *const inuchl,
214  const int *const imcht,
215  const int *const imckt,
216  int ichcor[],
217  int cp2ch[],
218  int diam20[],
219  int rho0ch[],
220  int xashch[],
221  int ifrlag[],
222  int iusncl[],
223  int iusclb[],
224  int iuslag[],
225  double ruslag[]);
226 
227 /*============================================================================
228  * Public function prototypes
229  *============================================================================*/
230 
231 /*-----------------------------------------------------------------------------
232  * Free global GUI structures related to particles.
233  *----------------------------------------------------------------------------*/
234 
235 void
237 
238 /*----------------------------------------------------------------------------*/
239 
241 
242 #endif /* __CS_GUI_PARTICLES_H__ */
BEGIN_C_DECLS void cfname(int *const flag, char *const fstr, int *const len, int *const var_idCS_ARGF_SUPP_CHAINE)
Definition: cs_gui_particles.c:746
void fclag1(const char *const fstr, int *const len, int *const var_idCS_ARGF_SUPP_CHAINE)
Definition: cs_gui_particles.c:549
size_t len
Definition: mei_scanner.c:639
#define BEGIN_C_DECLS
Definition: cs_defs.h:365
void uilag2(const int *const nfabor, const int *const nozppm, const int *const nclagm, const int *const nflagm, const int *const nbclst, const int *const ientrl, const int *const isortl, const int *const idepo1, const int *const idepo2, const int *const idepfa, const int *const iencrl, const int *const irebol, const int *const iphyla, const int *const ijnbp, const int *const ijfre, const int *const iclst, const int *const ijuvw, const int *const iuno, const int *const iupt, const int *const ivpt, const int *const iwpt, const int *const ijprpd, const int *const ipoit, const int *const idebt, const int *const ijprdp, const int *const idpt, const int *const ivdpt, const int *const iropt, const int *const ijprtp, const int *const itpt, const int *const icpt, const int *const iepsi, const int *const ihpt, const int *const inuchl, const int *const imcht, const int *const imckt, int ichcor[], int cp2ch[], int diam20[], int rho0ch[], int xashch[], int ifrlag[], int iusncl[], int iusclb[], int iuslag[], double ruslag[])
Definition: cs_gui_particles.c:1340
#define CS_ARGF_SUPP_CHAINE
Definition: cs_defs.h:394
void fclag2(const char *const fstr, int *const len, int *const var_idCS_ARGF_SUPP_CHAINE)
Definition: cs_gui_particles.c:614
void uilag1(int *const iilagr, int *const isuila, int *const isuist, int *const nbpmax, int *const isttio, int *const injcon, int *const iphyla, int *const idpvar, int *const itpvar, int *const impvar, int *const iencra, double tprenc[], double visref[], double enc1[], double enc2[], int *const nstits, int *const lstdyn, int *const ltsmas, int *const ltsthe, int *const nordre, int *const idistu, int *const idiffl, int *const modcpl, int *const idirla, int *const iensi1, int *const iensi2, int *const ntlal, int *const nbvis, int *const nvisla, int *const ivisv1, int *const ivisv2, int *const ivistp, int *const ivisdm, int *const iviste, int *const ivismp, int *const ivishp, int *const ivisdk, int *const ivisch, int *const ivisck, int *const istala, int *const nbclst, double *const seuil, int *const idstnt, int *const nstist, int ihslag[], int *const iensi3, double *const seuilf, int *const nstbor, int *const inbrbd, int *const iflmbd, int *const iangbd, int *const ivitbd, int *const iencbd, int imoybr[], int *const iactfv, int *const iactvx, int *const iactvy, int *const iactvz, int *const iactts)
Definition: cs_gui_particles.c:867
void fclag3(const char *const fstr, int *const len, int *const var_idCS_ARGF_SUPP_CHAINE)
Definition: cs_gui_particles.c:680
void cs_gui_particles_free(void)
Definition: cs_gui_particles.c:1663
#define END_C_DECLS
Definition: cs_defs.h:366
#define CS_PROCF(x, y)
Definition: cs_defs.h:379