cs_atmo_model_t
Definition: cs_atmo.h:63
@ CS_ATMO_DRY
Definition: cs_atmo.h:67
@ CS_ATMO_CONSTANT_DENSITY
Definition: cs_atmo.h:66
@ CS_ATMO_OFF
Definition: cs_atmo.h:65
@ CS_ATMO_HUMID
Definition: cs_atmo.h:68
void cs_atmo_declare_chem_from_spack(void)
This function declare additional transported variables for atmospheric module for the chemistry defin...
Definition: cs_atmo.c:1599
void cs_atmo_log_setup(void)
Print the atmospheric module options to setup.log.
Definition: cs_atmo.c:1800
void cs_atmo_compute_solar_angles(cs_real_t xlat, cs_real_t xlong, cs_real_t jour, cs_real_t heurtu, int imer, cs_real_t *albe, cs_real_t *muzero, cs_real_t *omega, cs_real_t *fo)
1D Radiative scheme - Solar data + zenithal angle)
Definition: cs_atmo.c:1709
cs_real_t cs_mo_psih(cs_real_t z, cs_real_t z0, cs_real_t dlmo)
Universal function psih for neutral, stable and unstable.
cs_atmo_nucleation_type_t
Definition: cs_atmo.h:76
@ CS_ATMO_NUC_OFF
Definition: cs_atmo.h:78
@ CS_ATMO_NUC_ABDUL_RAZZAK
Definition: cs_atmo.h:81
@ CS_ATMO_NUC_COHARD
Definition: cs_atmo.h:80
@ CS_ATMO_NUC_PRUPPACHER_KLETT
Definition: cs_atmo.h:79
void cs_atmo_aerosol_log_setup(void)
Print the atmospheric aerosols options to setup.log.
Definition: cs_atmo.c:1976
cs_real_t cs_mo_psim(cs_real_t z, cs_real_t z0, cs_real_t dlmo)
Universal function psim for neutral, stable and unstable.
void cs_atmo_z_ground_compute(void)
This function computes the ground elevation.
Definition: cs_atmo.c:1122
void cs_atmo_chemistry_set_spack_file_name(const char *file_name)
This function set the file name of the SPACK file.
Definition: cs_atmo.c:1550
cs_atmo_option_t * cs_glob_atmo_option
cs_atmo_chemistry_t * cs_glob_atmo_chemistry
cs_real_t cs_mo_phim(cs_real_t z, cs_real_t dlmo)
Universal function phim for neutral, stable and unstable.
cs_atmo_aerosol_type_t
Definition: cs_atmo.h:89
@ CS_ATMO_AEROSOL_SSH
Definition: cs_atmo.h:92
@ CS_ATMO_AEROSOL_OFF
Definition: cs_atmo.h:91
void cs_atmo_chemistry_log_setup(void)
Print the atmospheric chemistry options to setup.log.
Definition: cs_atmo.c:1911
void cs_atmo_chemistry_set_aerosol_file_name(const char *file_name)
This function sets the file name to initialize the aerosol library.
Definition: cs_atmo.c:1575
void cs_atmo_hydrostatic_profiles_compute(void)
This function computes hydrostatic profiles of density and pressure.
Definition: cs_atmo.c:1333
void cs_atmo_set_meteo_file_name(const char *file_name)
This function set the file name of the meteo file.
Definition: cs_atmo.c:1528
cs_atmo_constants_t * cs_glob_atmo_constants
cs_real_t cs_mo_phih(cs_real_t z, cs_real_t dlmo)
Universal function phih for neutral, stable and unstable.
#define BEGIN_C_DECLS
Definition: cs_defs.h:492
double cs_real_t
Floating-point value.
Definition: cs_defs.h:304
#define END_C_DECLS
Definition: cs_defs.h:493
real(c_double), pointer, save xlat
latitude of the domain origin
Definition: atincl.f90:205
double precision, dimension(ncharm), save omega
Definition: cpincl.f90:99
Definition: cs_atmo.h:242
bool init_gas_with_lib
Definition: cs_atmo.h:266
int model
Definition: cs_atmo.h:251
int * species_to_scalar_id
Definition: cs_atmo.h:274
cs_real_t * molar_mass
Definition: cs_atmo.h:277
int n_species
Definition: cs_atmo.h:252
cs_atmo_aerosol_type_t aerosol_model
Definition: cs_atmo.h:261
char * aero_file_name
Definition: cs_atmo.h:281
bool chemistry_with_photolysis
Definition: cs_atmo.h:256
bool frozen_gas_chem
Definition: cs_atmo.h:264
int * species_to_field_id
Definition: cs_atmo.h:275
int n_reactions
Definition: cs_atmo.h:253
bool init_aero_with_lib
Definition: cs_atmo.h:268
int n_layer
Definition: cs_atmo.h:270
int * chempoint
Definition: cs_atmo.h:278
int n_size
Definition: cs_atmo.h:272
char * spack_file_name
Definition: cs_atmo.h:273
Definition: cs_atmo.h:231
cs_real_t ps
Definition: cs_atmo.h:234
Definition: cs_atmo.h:108
cs_real_t meteo_t1
Definition: cs_atmo.h:210
cs_real_t domain_orientation
Definition: cs_atmo.h:134
int nbmetm
Definition: cs_atmo.h:130
cs_real_t meteo_zi
Definition: cs_atmo.h:186
int squant
Definition: cs_atmo.h:113
cs_real_t meteo_dlmo
Definition: cs_atmo.h:180
cs_real_t * hyd_p_met
Definition: cs_atmo.h:223
int distribution_model
Definition: cs_atmo.h:167
cs_real_t ssec
Definition: cs_atmo.h:119
int syear
Definition: cs_atmo.h:111
int sedimentation_model
Definition: cs_atmo.h:143
bool compute_z_ground
Definition: cs_atmo.h:137
int shour
Definition: cs_atmo.h:115
cs_real_t meteo_zt1
Definition: cs_atmo.h:192
cs_real_t meteo_t0
Definition: cs_atmo.h:208
int deposition_model
Definition: cs_atmo.h:145
int smin
Definition: cs_atmo.h:117
int nbmaxt
Definition: cs_atmo.h:131
cs_real_t meteo_u1
Definition: cs_atmo.h:198
int subgrid_model
Definition: cs_atmo.h:162
cs_real_t meteo_zu2
Definition: cs_atmo.h:190
cs_real_t meteo_uref
Definition: cs_atmo.h:196
cs_real_t meteo_ustar0
Definition: cs_atmo.h:202
cs_real_t meteo_z0
Definition: cs_atmo.h:182
int nbmetd
Definition: cs_atmo.h:125
char * meteo_file_name
Definition: cs_atmo.h:177
cs_real_t * z_temp_met
Definition: cs_atmo.h:219
cs_real_t latitude
Definition: cs_atmo.h:123
cs_real_t meteo_wstar0
Definition: cs_atmo.h:204
cs_real_t meteo_t2
Definition: cs_atmo.h:212
cs_real_t * time_met
Definition: cs_atmo.h:221
cs_real_t meteo_zu1
Definition: cs_atmo.h:188
cs_real_t meteo_tstar
Definition: cs_atmo.h:214
cs_real_t longitude
Definition: cs_atmo.h:121
int nbmett
Definition: cs_atmo.h:127
int open_bcs_treatment
Definition: cs_atmo.h:139
cs_real_t meteo_u2
Definition: cs_atmo.h:200
int meteo_profile
Definition: cs_atmo.h:174
cs_real_t meteo_zref
Definition: cs_atmo.h:184
int nucleation_model
Definition: cs_atmo.h:154
cs_real_t meteo_zt2
Definition: cs_atmo.h:194
cs_real_t meteo_psea
Definition: cs_atmo.h:216
cs_real_t meteo_angle
Definition: cs_atmo.h:206