9.2
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-2026 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
32/*============================================================================
33 * Local Macro definitions
34 *============================================================================*/
35
36/*============================================================================
37 * Type definitions
38 *============================================================================*/
39
46/*----------------------------------------------------------------------------
47 * 1-D atmospheric radiative model option
48 *----------------------------------------------------------------------------*/
49
50typedef struct {
51
55 int nvert;
63
66
101
114
129
131
132/*============================================================================
133 * Static global variables
134 *============================================================================*/
135
136/* Pointer to 1-D atmospheric radiative options structure */
138
139/*----------------------------------------------------------------------------*/
140
141/*============================================================================
142 * Public function definitions
143 *============================================================================*/
144
145/*----------------------------------------------------------------------------*/
149/*----------------------------------------------------------------------------*/
150
151extern "C" void
153
154/*----------------------------------------------------------------------------*/
155
156#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:385
cs_atmo_1d_rad_t * cs_glob_atmo_1d_rad
double cs_real_t
Floating-point value.
Definition: cs_defs.h:332
Definition: cs_atmo_1d_rad.h:50
int nlevels
Definition: cs_atmo_1d_rad.h:57
int frequency
Definition: cs_atmo_1d_rad.h:62
cs_real_t * iru
Definition: cs_atmo_1d_rad.h:97
cs_real_t * ird
Definition: cs_atmo_1d_rad.h:98
cs_real_t * rho0
Definition: cs_atmo_1d_rad.h:128
int radiative_model_1d
Definition: cs_atmo_1d_rad.h:53
cs_real_t * sol_div
Definition: cs_atmo_1d_rad.h:94
cs_real_t * ql
Definition: cs_atmo_1d_rad.h:105
cs_real_t * qw
Definition: cs_atmo_1d_rad.h:103
cs_real_t * aco2s
Definition: cs_atmo_1d_rad.h:75
cs_real_t * emissi0
Definition: cs_atmo_1d_rad.h:118
cs_real_t * qv
Definition: cs_atmo_1d_rad.h:107
cs_real_t * daco2
Definition: cs_atmo_1d_rad.h:77
cs_real_t * theta0
Definition: cs_atmo_1d_rad.h:122
int nlevels_max
Definition: cs_atmo_1d_rad.h:60
cs_real_t * acsups
Definition: cs_atmo_1d_rad.h:81
cs_real_t * dacinfe
Definition: cs_atmo_1d_rad.h:72
cs_real_t * dacsups
Definition: cs_atmo_1d_rad.h:83
cs_real_t * tauz
Definition: cs_atmo_1d_rad.h:87
cs_real_t * sold
Definition: cs_atmo_1d_rad.h:100
cs_real_t * aco2
Definition: cs_atmo_1d_rad.h:74
cs_real_t * zq
Definition: cs_atmo_1d_rad.h:90
cs_real_t * qw0
Definition: cs_atmo_1d_rad.h:124
cs_real_t * daco2s
Definition: cs_atmo_1d_rad.h:78
cs_real_t * dacsup
Definition: cs_atmo_1d_rad.h:82
cs_real_t * acsup
Definition: cs_atmo_1d_rad.h:80
cs_real_t * xy
Definition: cs_atmo_1d_rad.h:65
cs_real_t * temp0
Definition: cs_atmo_1d_rad.h:120
cs_real_t * fn
Definition: cs_atmo_1d_rad.h:111
cs_real_t * nc
Definition: cs_atmo_1d_rad.h:109
cs_real_t * tauzq
Definition: cs_atmo_1d_rad.h:85
cs_real_t * ir_div
Definition: cs_atmo_1d_rad.h:92
cs_real_t * z
Definition: cs_atmo_1d_rad.h:68
cs_real_t * solu
Definition: cs_atmo_1d_rad.h:99
cs_real_t * acinfe
Definition: cs_atmo_1d_rad.h:70
cs_real_t * p0
Definition: cs_atmo_1d_rad.h:126
cs_real_t * aerosols
Definition: cs_atmo_1d_rad.h:113
cs_real_t * albedo0
Definition: cs_atmo_1d_rad.h:116
int nvert
Definition: cs_atmo_1d_rad.h:55