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-2014 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  * Output post-processing meshes using associated writers.
62  *
63  * Fortran interface:
64  *
65  * subroutine pstgeo
66  * *****************
67  *----------------------------------------------------------------------------*/
68 
69 void CS_PROCF (pstgeo, PSTGEO)
70 (
71  void
72 );
73 
74 /*----------------------------------------------------------------------------
75  * Loop on post-processing meshes to output variables
76  *
77  * Fortran interface:
78  *
79  * subroutine pstvar
80  * *****************
81  * ( ntcabs,
82  * nvar, nscal, nvlsta, nvisbr,
83  * nbpmax, nvp, nvp1, nvep, nivep,
84  * itepa,
85  * dt, rtpa, rtp, propce,
86  * coefa, coefb,
87  * statce, stativ, statfb,
88  * ettp, ettpa, tepa )
89  *
90  * integer ntcabs : --> : current time step number
91  * integer nvar : <-- : number of variables
92  * integer nscal : <-- : number of scalars
93  * integer nvlsta : <-- : number of statistical variables (lagr)
94  * integer nvisbr : <-- : number of boundary stat. variables (lagr)
95  * integer nbpmax : <-- : maximum number of particles allowed
96  * integer nvp : <-- : number of particle variables
97  * integer nvp1 : <-- : nvp less position, fluid and
98  * : : particle velocity
99  * integer nvep : <-- : number of real particle attributes
100  * integer nivep : <-- : number of interger particle attributes
101  * double precision ttcabs : <-- : current physical time
102  * integer itepa : <-- : integer particle attributes
103  * double precision dt : <-- : local time step
104  * double precision rtpa : <-- : cell variables at previous time step
105  * double precision rtp : <-- : cell variables
106  * double precision propce : <-- : cell physical properties
107  *----------------------------------------------------------------------------*/
108 
109 void CS_PROCF (pstvar, PSTVAR)
110 (
111  const cs_int_t *ntcabs,
112  const cs_int_t *nvar,
113  const cs_int_t *nscal,
114  const cs_int_t *nvlsta,
115  const cs_int_t *nvisbr,
116  const cs_int_t *nbpmax,
117  const cs_int_t *nvp,
118  const cs_int_t *nvp1,
119  const cs_int_t *nvep,
120  const cs_int_t *nivep,
121  const cs_int_t itepa[],
122  const cs_real_t dt[],
123  const cs_real_t rtpa[],
124  const cs_real_t rtp[],
125  const cs_real_t propce[]
126 );
127 
128 /*----------------------------------------------------------------------------
129  * Define which Lagrangian variables should be postprocessed
130  *
131  * Fortran interface:
132  *
133  * subroutine lagpvr
134  * *****************
135  * ( ivisv1, ivisv2, ivistp, ivisdm, iviste,
136  * ivismp, ivisdk, iviswat, ivisch, ivisck )
137  *
138  * integer ivisv1 : <-- : display of variable 'fluid velocity'
139  * integer ivisv2 : <-- : display of variable 'particles velocity'
140  * integer ivistp : <-- : display of variable 'resident time'
141  * integer ivisdm : <-- : display of variable 'particle diameter'
142  * integer iviste : <-- : display of variable 'particle temperature'
143  * integer ivismp : <-- : display of variable 'particle mass'
144  * integer ivisdk : <-- : display of variable 'core diameter of part.'
145  * integer iviswat : <-- : display of variable 'mass of water in coal'
146  * integer ivisch : <-- : display of variable 'mass of reactive coal'
147  * integer ivisck : <-- : display of variable 'mass of char'
148  *----------------------------------------------------------------------------*/
149 
150 void CS_PROCF (lagpvr, LAGPVR)
151 (
152  const cs_int_t *ivisv1,
153  const cs_int_t *ivisv2,
154  const cs_int_t *ivistp,
155  const cs_int_t *ivisdm,
156  const cs_int_t *iviste,
157  const cs_int_t *ivismp,
158  const cs_int_t *ivisdk,
159  const cs_int_t *iviswat,
160  const cs_int_t *ivisch,
161  const cs_int_t *ivisck
162 );
163 
164 /*============================================================================
165  * Public function prototypes
166  *============================================================================*/
167 
168 /*----------------------------------------------------------------------------*/
169 
171 
172 #endif /* __CS_POST_DEFAULT_H__ */
void lagpvr(const cs_int_t *ivisv1, const cs_int_t *ivisv2, const cs_int_t *ivistp, const cs_int_t *ivisdm, const cs_int_t *iviste, const cs_int_t *ivismp, const cs_int_t *ivisdk, const cs_int_t *iviswat, const cs_int_t *ivisch, const cs_int_t *ivisck)
Definition: cs_post_default.c:432
#define BEGIN_C_DECLS
Definition: cs_defs.h:405
int cs_int_t
Fortran-compatible integer.
Definition: cs_defs.h:295
#define END_C_DECLS
Definition: cs_defs.h:406
double cs_real_t
Definition: cs_defs.h:296
#define CS_PROCF(x, y)
Definition: cs_defs.h:419
void pstgeo(void)
Definition: cs_post_default.c:312
void pstvar(const cs_int_t *ntcabs, const cs_int_t *nvar, const cs_int_t *nscal, const cs_int_t *nvlsta, const cs_int_t *nvisbr, const cs_int_t *nbpmax, const cs_int_t *nvp, const cs_int_t *nvp1, const cs_int_t *nvep, const cs_int_t *nivep, const cs_int_t itepa[], const cs_real_t dt[], const cs_real_t rtpa[], const cs_real_t rtp[], const cs_real_t propce[])
Definition: cs_post_default.c:352