programmer's documentation
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-2016 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  *
84  * integer ntcabs : --> : current time step number
85  * integer nvar : <-- : number of variables
86  * integer nscal : <-- : number of scalars
87  *----------------------------------------------------------------------------*/
88 
89 void CS_PROCF (pstvar, PSTVAR)
90 (
91  const cs_int_t *ntcabs,
92  const cs_int_t *nvar,
93  const cs_int_t *nscal
94 );
95 
96 /*============================================================================
97  * Public function prototypes
98  *============================================================================*/
99 
100 /*----------------------------------------------------------------------------*/
101 
103 
104 #endif /* __CS_POST_DEFAULT_H__ */
void pstvar(const cs_int_t *ntcabs, const cs_int_t *nvar, const cs_int_t *nscal)
Definition: cs_post_default.c:242
#define BEGIN_C_DECLS
Definition: cs_defs.h:448
int cs_int_t
Fortran-compatible integer.
Definition: cs_defs.h:295
integer, save nvar
number of solved variables (must be lower than nvarmx)
Definition: dimens.f90:42
#define END_C_DECLS
Definition: cs_defs.h:449
integer(c_int), pointer, save ntcabs
Current absolute time step number. In case of restart, this is equal to ntpabs + number of new iterat...
Definition: optcal.f90:392
integer, save nscal
number of solved user scalars effective number of scalars solutions of an advection equation...
Definition: dimens.f90:55
#define CS_PROCF(x, y)
Definition: cs_defs.h:472
void pstgeo(void)
Definition: cs_post_default.c:214