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
src
alge
cs_convection_diffusion_balance.h
Go to the documentation of this file.
1
#ifndef __CS_CONVECTION_DIFFUSION_BALANCE_H__
2
#define __CS_CONVECTION_DIFFUSION_BALANCE_H__
3
4
/*============================================================================
5
* Explicit convection diffusion balance
6
*============================================================================*/
7
8
/*
9
This file is part of Code_Saturne, a general-purpose CFD tool.
10
11
Copyright (C) 1998-2013 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
#include "
cs_halo.h
"
36
37
/*----------------------------------------------------------------------------*/
38
39
BEGIN_C_DECLS
40
41
/*=============================================================================
42
* Local Macro definitions
43
*============================================================================*/
44
45
/*============================================================================
46
* Type definition
47
*============================================================================*/
48
49
/*============================================================================
50
* Global variables
51
*============================================================================*/
52
53
/*============================================================================
54
* Public function prototypes for Fortran API
55
*============================================================================*/
56
57
/*----------------------------------------------------------------------------
58
* Wrapper to cs_convection_diffusion_balance
59
*----------------------------------------------------------------------------*/
60
61
void
CS_PROCF
(
bilsc2
, BILSC2)
62
(
63
const
cs_int_t
*
const
idtvar,
64
const
cs_int_t
*
const
f_id,
65
const
cs_int_t
*
const
iconvp,
66
const
cs_int_t
*
const
idiffp,
67
const
cs_int_t
*
const
nswrgp,
68
const
cs_int_t
*
const
imligp,
69
const
cs_int_t
*
const
ircflp,
70
const
cs_int_t
*
const
ischcp,
71
const
cs_int_t
*
const
isstpp,
72
const
cs_int_t
*
const
icvflb,
73
const
cs_int_t
*
const
inc,
74
const
cs_int_t
*
const
imrgra,
75
const
cs_int_t
*
const
iccocg,
76
const
cs_int_t
*
const
ifaccp,
77
const
cs_int_t
*
const
iwarnp,
78
const
cs_real_t
*
const
blencp,
79
const
cs_real_t
*
const
epsrgp,
80
const
cs_real_t
*
const
climgp,
81
const
cs_real_t
*
const
extrap,
82
const
cs_real_t
*
const
relaxp,
83
const
cs_real_t
*
const
thetap,
84
cs_real_t
pvar[],
85
const
cs_real_t
pvara[],
86
const
cs_int_t
bc_type[],
87
const
cs_int_t
icvfli[],
88
const
cs_real_t
coefap[],
89
const
cs_real_t
coefbp[],
90
const
cs_real_t
cofafp[],
91
const
cs_real_t
cofbfp[],
92
const
cs_real_t
i_massflux[],
93
const
cs_real_t
b_massflux[],
94
const
cs_real_t
i_visc[],
95
const
cs_real_t
b_visc[],
96
cs_real_t
rhs[]);
97
98
/*=============================================================================
99
* Public function prototypes
100
*============================================================================*/
101
124
/*-------------------------------------------------------------------------------
125
Arguments
126
______________________________________________________________________________.
127
mode name role !
128
______________________________________________________________________________*/
204
/*-------------------------------------------------------------------------------*/
205
206
void
207
cs_convection_diffusion_scalar
(
208
int
idtvar,
209
int
f_id,
210
int
iconvp,
211
int
idiffp,
212
int
nswrgp,
213
int
imligp,
214
int
ircflp,
215
int
ischcp,
216
int
isstpp,
217
int
icvflb,
218
int
inc,
219
int
imrgra,
220
int
iccocg,
221
int
ifaccp,
222
int
iwarnp,
223
double
blencp,
224
double
epsrgp,
225
double
climgp,
226
double
extrap,
227
double
relaxp,
228
double
thetap,
229
cs_real_t
*
restrict
pvar,
230
const
cs_real_t
*
restrict
pvara,
231
const
cs_int_t
bc_type[],
232
const
cs_int_t
icvfli[],
233
const
cs_real_t
coefap[],
234
const
cs_real_t
coefbp[],
235
const
cs_real_t
cofafp[],
236
const
cs_real_t
cofbfp[],
237
const
cs_real_t
i_massflux[],
238
const
cs_real_t
b_massflux[],
239
const
cs_real_t
i_visc[],
240
const
cs_real_t
b_visc[],
241
cs_real_t
*
restrict
rhs);
242
243
/*----------------------------------------------------------------------------*/
244
245
END_C_DECLS
246
247
#endif
/* __CS_CONVECTION_DIFFUSION_BALANCE_H__ */
Generated on Thu Feb 27 2014 19:21:34 by
1.8.3.1