9.1
general documentation
cs_atmo_1d_rad.h
Go to the documentation of this file.
1#ifndef CS_ATMO_1D_RAD_H
2#define CS_ATMO_1D_RAD_H
3
4/*============================================================================
5 * Atmospheric radiative fluxes for 1D scheme.
6 *============================================================================*/
7
8/*
9 This file is part of code_saturne, a general-purpose CFD tool.
10
11 Copyright (C) 1998-2025 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#include "base/cs_base.h"
31
33
34/*============================================================================
35 * Local Macro definitions
36 *============================================================================*/
37
38/*============================================================================
39 * Type definitions
40 *============================================================================*/
41
48/*----------------------------------------------------------------------------
49 * 1-D atmospheric radiative model option
50 *----------------------------------------------------------------------------*/
51
52typedef struct {
53
57 int nvert;
65
68
103
116
131
133
134/*============================================================================
135 * Static global variables
136 *============================================================================*/
137
138/* Pointer to 1-D atmospheric radiative options structure */
140
141/*----------------------------------------------------------------------------*/
142
143/*============================================================================
144 * Public function definitions
145 *============================================================================*/
146
147/*----------------------------------------------------------------------------*/
151/*----------------------------------------------------------------------------*/
152
153void
155
156/*----------------------------------------------------------------------------*/
157
159
160#endif /* CS_ATMO_1D_RAD */
void cs_atmo_1d_rad_finalize(void)
free arrays for atmo 1-D radiative module
Definition: cs_atmo_1d_rad.cpp:387
cs_atmo_1d_rad_t * cs_glob_atmo_1d_rad
#define BEGIN_C_DECLS
Definition: cs_defs.h:554
double cs_real_t
Floating-point value.
Definition: cs_defs.h:357
#define END_C_DECLS
Definition: cs_defs.h:555
Definition: cs_atmo_1d_rad.h:52
int nlevels
Definition: cs_atmo_1d_rad.h:59
int frequency
Definition: cs_atmo_1d_rad.h:64
cs_real_t * iru
Definition: cs_atmo_1d_rad.h:99
cs_real_t * ird
Definition: cs_atmo_1d_rad.h:100
cs_real_t * rho0
Definition: cs_atmo_1d_rad.h:130
int radiative_model_1d
Definition: cs_atmo_1d_rad.h:55
cs_real_t * sol_div
Definition: cs_atmo_1d_rad.h:96
cs_real_t * ql
Definition: cs_atmo_1d_rad.h:107
cs_real_t * qw
Definition: cs_atmo_1d_rad.h:105
cs_real_t * aco2s
Definition: cs_atmo_1d_rad.h:77
cs_real_t * emissi0
Definition: cs_atmo_1d_rad.h:120
cs_real_t * qv
Definition: cs_atmo_1d_rad.h:109
cs_real_t * daco2
Definition: cs_atmo_1d_rad.h:79
cs_real_t * theta0
Definition: cs_atmo_1d_rad.h:124
int nlevels_max
Definition: cs_atmo_1d_rad.h:62
cs_real_t * acsups
Definition: cs_atmo_1d_rad.h:83
cs_real_t * dacinfe
Definition: cs_atmo_1d_rad.h:74
cs_real_t * dacsups
Definition: cs_atmo_1d_rad.h:85
cs_real_t * tauz
Definition: cs_atmo_1d_rad.h:89
cs_real_t * sold
Definition: cs_atmo_1d_rad.h:102
cs_real_t * aco2
Definition: cs_atmo_1d_rad.h:76
cs_real_t * zq
Definition: cs_atmo_1d_rad.h:92
cs_real_t * qw0
Definition: cs_atmo_1d_rad.h:126
cs_real_t * daco2s
Definition: cs_atmo_1d_rad.h:80
cs_real_t * dacsup
Definition: cs_atmo_1d_rad.h:84
cs_real_t * acsup
Definition: cs_atmo_1d_rad.h:82
cs_real_t * xy
Definition: cs_atmo_1d_rad.h:67
cs_real_t * temp0
Definition: cs_atmo_1d_rad.h:122
cs_real_t * fn
Definition: cs_atmo_1d_rad.h:113
cs_real_t * nc
Definition: cs_atmo_1d_rad.h:111
cs_real_t * tauzq
Definition: cs_atmo_1d_rad.h:87
cs_real_t * ir_div
Definition: cs_atmo_1d_rad.h:94
cs_real_t * z
Definition: cs_atmo_1d_rad.h:70
cs_real_t * solu
Definition: cs_atmo_1d_rad.h:101
cs_real_t * acinfe
Definition: cs_atmo_1d_rad.h:72
cs_real_t * p0
Definition: cs_atmo_1d_rad.h:128
cs_real_t * aerosols
Definition: cs_atmo_1d_rad.h:115
cs_real_t * albedo0
Definition: cs_atmo_1d_rad.h:118
int nvert
Definition: cs_atmo_1d_rad.h:57