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:1759
void cs_atmo_log_setup(void)
Print the atmospheric module options to setup.log.
Definition: cs_atmo.c:1960
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:1869
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:2139
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:1225
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:1710
cs_atmo_option_t * cs_glob_atmo_option
cs_atmo_chemistry_t * cs_glob_atmo_chemistry
void cs_atmo_finalize(void)
Deallocate arrays for atmo module.
Definition: cs_atmo.c:2185
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:2074
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:1735
void cs_atmo_init_meteo_profiles(void)
Initialize meteo profiles if no meteo file is given.
Definition: cs_atmo.c:849
void cs_atmo_compute_meteo_profiles(void)
Compute meteo profiles if no meteo file is given.
Definition: cs_atmo.c:1019
void cs_atmo_hydrostatic_profiles_compute(void)
Compute hydrostatic profiles of density and pressure.
Definition: cs_atmo.c:1435
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:1688
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:210
double precision, dimension(ncharm), save omega
Definition: cpincl.f90:99
Definition: cs_atmo.h:246
bool init_gas_with_lib
Definition: cs_atmo.h:270
int model
Definition: cs_atmo.h:255
int * species_to_scalar_id
Definition: cs_atmo.h:278
cs_real_t * molar_mass
Definition: cs_atmo.h:281
int n_species
Definition: cs_atmo.h:256
cs_atmo_aerosol_type_t aerosol_model
Definition: cs_atmo.h:265
char * aero_file_name
Definition: cs_atmo.h:285
bool chemistry_with_photolysis
Definition: cs_atmo.h:260
bool frozen_gas_chem
Definition: cs_atmo.h:268
int * species_to_field_id
Definition: cs_atmo.h:279
int n_reactions
Definition: cs_atmo.h:257
bool init_aero_with_lib
Definition: cs_atmo.h:272
int n_layer
Definition: cs_atmo.h:274
int * chempoint
Definition: cs_atmo.h:282
int n_size
Definition: cs_atmo.h:276
char * spack_file_name
Definition: cs_atmo.h:277
Definition: cs_atmo.h:235
cs_real_t ps
Definition: cs_atmo.h:238
Definition: cs_atmo.h:108
cs_real_t meteo_t1
Definition: cs_atmo.h:214
cs_real_t domain_orientation
Definition: cs_atmo.h:138
int nbmetm
Definition: cs_atmo.h:134
cs_real_t meteo_zi
Definition: cs_atmo.h:190
int squant
Definition: cs_atmo.h:113
cs_real_t meteo_dlmo
Definition: cs_atmo.h:184
cs_real_t * hyd_p_met
Definition: cs_atmo.h:227
int distribution_model
Definition: cs_atmo.h:171
cs_real_t ssec
Definition: cs_atmo.h:119
int syear
Definition: cs_atmo.h:111
int sedimentation_model
Definition: cs_atmo.h:147
bool compute_z_ground
Definition: cs_atmo.h:141
int shour
Definition: cs_atmo.h:115
cs_real_t meteo_zt1
Definition: cs_atmo.h:196
cs_real_t meteo_t0
Definition: cs_atmo.h:212
int deposition_model
Definition: cs_atmo.h:149
int smin
Definition: cs_atmo.h:117
int nbmaxt
Definition: cs_atmo.h:135
cs_real_t meteo_u1
Definition: cs_atmo.h:202
cs_real_t y_l93
Definition: cs_atmo.h:127
int subgrid_model
Definition: cs_atmo.h:166
cs_real_t meteo_zu2
Definition: cs_atmo.h:194
cs_real_t meteo_uref
Definition: cs_atmo.h:200
cs_real_t meteo_ustar0
Definition: cs_atmo.h:206
cs_real_t meteo_z0
Definition: cs_atmo.h:186
int nbmetd
Definition: cs_atmo.h:129
char * meteo_file_name
Definition: cs_atmo.h:181
cs_real_t * z_temp_met
Definition: cs_atmo.h:223
cs_real_t latitude
Definition: cs_atmo.h:123
cs_real_t meteo_wstar0
Definition: cs_atmo.h:208
cs_real_t meteo_t2
Definition: cs_atmo.h:216
cs_real_t * time_met
Definition: cs_atmo.h:225
cs_real_t meteo_zu1
Definition: cs_atmo.h:192
cs_real_t meteo_tstar
Definition: cs_atmo.h:218
cs_real_t longitude
Definition: cs_atmo.h:121
int nbmett
Definition: cs_atmo.h:131
int open_bcs_treatment
Definition: cs_atmo.h:143
cs_real_t meteo_u2
Definition: cs_atmo.h:204
int meteo_profile
Definition: cs_atmo.h:178
cs_real_t x_l93
Definition: cs_atmo.h:125
cs_real_t meteo_zref
Definition: cs_atmo.h:188
int nucleation_model
Definition: cs_atmo.h:158
cs_real_t meteo_zt2
Definition: cs_atmo.h:198
cs_real_t meteo_psea
Definition: cs_atmo.h:220
cs_real_t meteo_angle
Definition: cs_atmo.h:210