programmer's documentation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cs_post_default.h
Go to the documentation of this file.
1 #ifndef __CS_POST_DEFAULT_H__
2 #define __CS_POST_DEFAULT_H__
3 
4 /*============================================================================
5  * Post-processing management
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  * Standard C library headers
32  *----------------------------------------------------------------------------*/
33 
34 /*----------------------------------------------------------------------------
35  * Local headers
36  *----------------------------------------------------------------------------*/
37 
38 #include "cs_base.h"
39 
40 /*----------------------------------------------------------------------------*/
41 
43 
44 /*============================================================================
45  * Macro definitions
46  *============================================================================*/
47 
48 /*============================================================================
49  * Local type definitions
50  *============================================================================*/
51 
52 /*=============================================================================
53  * Global variables
54  *============================================================================*/
55 
56 /*============================================================================
57  * Public Fortran function prototypes
58  *============================================================================*/
59 
60 /*----------------------------------------------------------------------------
61  * Loop on post-processing meshes to output variables
62  *
63  * Fortran interface:
64  *
65  * subroutine pstvar
66  * *****************
67  * ( ntcabs,
68  * nvar, nscal, nvlsta, nvisbr,
69  * nbpmax, nvp, nvp1, nvep, nivep,
70  * itepa,
71  * dt, rtpa, rtp, propce,
72  * coefa, coefb,
73  * statce, stativ, statfb,
74  * ettp, ettpa, tepa )
75  *
76  * integer ntcabs : --> : current time step number
77  * integer nvar : <-- : number of variables
78  * integer nscal : <-- : number of scalars
79  * integer nvlsta : <-- : number of statistical variables (lagr)
80  * integer nvisbr : <-- : number of boundary stat. variables (lagr)
81  * integer nbpmax : <-- : maximum number of particles allowed
82  * integer nvp : <-- : number of particle variables
83  * integer nvp1 : <-- : nvp less position, fluid and
84  * : : particle velocity
85  * integer nvep : <-- : number of real particle attributes
86  * integer nivep : <-- : number of interger particle attributes
87  * double precision ttcabs : <-- : current physical time
88  * integer itepa : <-- : integer particle attributes
89  * double precision dt : <-- : local time step
90  * double precision rtpa : <-- : cell variables at previous time step
91  * double precision rtp : <-- : cell variables
92  * double precision propce : <-- : cell physical properties
93  *----------------------------------------------------------------------------*/
94 
95 void CS_PROCF (pstvar, PSTVAR)
96 (
97  const cs_int_t *ntcabs,
98  const cs_int_t *nvar,
99  const cs_int_t *nscal,
100  const cs_int_t *nvlsta,
101  const cs_int_t *nvisbr,
102  const cs_int_t *nbpmax,
103  const cs_int_t *nvp,
104  const cs_int_t *nvp1,
105  const cs_int_t *nvep,
106  const cs_int_t *nivep,
107  const cs_int_t itepa[],
108  const cs_real_t dt[],
109  const cs_real_t rtpa[],
110  const cs_real_t rtp[],
111  const cs_real_t propce[]
112 );
113 
114 /*----------------------------------------------------------------------------
115  * Define which Lagrangian variables should be postprocessed
116  *
117  * Fortran interface:
118  *
119  * subroutine lagpvr
120  * *****************
121  * ( iphyla, ivisv1, ivisv2, ivistp, ivisdm, iviste,
122  * ivismp, ivisdk, iviswat, ivisch, ivisck )
123  *
124  * integer iphyla : <-- : type of lagrangian calculation
125  * integer ivisv1 : <-- : display of variable 'fluid velocity'
126  * integer ivisv2 : <-- : display of variable 'particles velocity'
127  * integer ivistp : <-- : display of variable 'resident time'
128  * integer ivisdm : <-- : display of variable 'particle diameter'
129  * integer iviste : <-- : display of variable 'particle temperature'
130  * integer ivismp : <-- : display of variable 'particle mass'
131  * integer ivisdk : <-- : display of variable 'core diameter of part.'
132  * integer iviswat : <-- : display of variable 'mass of water in coal'
133  * integer ivisch : <-- : display of variable 'mass of reactive coal'
134  * integer ivisck : <-- : display of variable 'mass of char'
135  *----------------------------------------------------------------------------*/
136 
137 void CS_PROCF (lagpvr, LAGPVR)
138 (
139  const cs_int_t *iphyla,
140  const cs_int_t *ivisv1,
141  const cs_int_t *ivisv2,
142  const cs_int_t *ivistp,
143  const cs_int_t *ivisdm,
144  const cs_int_t *iviste,
145  const cs_int_t *ivismp,
146  const cs_int_t *ivisdk,
147  const cs_int_t *iviswat,
148  const cs_int_t *ivisch,
149  const cs_int_t *ivisck
150 );
151 
152 /*============================================================================
153  * Public function prototypes
154  *============================================================================*/
155 
156 /*----------------------------------------------------------------------------*/
157 
159 
160 #endif /* __CS_POST_DEFAULT_H__ */