1 #ifndef __CS_ATPLUGIN_H__ 2 #define __CS_ATPLUGIN_H__ 92 PLUG_COMPUTE_COAGULATION_COEFFICIENT)
double precision, dimension(nbin_aer), save density_aer
Size variable aerosol density ([g/m^3])
Definition: siream.f90:83
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
integer, dimension(nbin_aer, 4 *nbin_aer), save first_index_coag
First bin index of coagulation couples.
Definition: siream.f90:87
int cs_int_t
Fortran-compatible integer.
Definition: cs_defs.h:301
double precision, dimension(nbin_aer+1), save bin_bound_aer
Aerosol diameters at bin bounds.
Definition: siream.f90:79
double cs_real_t
Floating-point value.
Definition: cs_defs.h:302
integer ncycle_aer
Number of cycle in aerosol computation between ts and tf.
Definition: siream.f90:61
integer nbin_aer
Number of aerosol bins (can vary depending on the user)
Definition: siream.f90:57
double precision, dimension(nbin_aer, nbin_aer, nbin_aer), save coefficient_coag
Coagulation partition coefficient.
Definition: siream.f90:91
integer, dimension(nbin_aer, 4 *nbin_aer), save second_index_coag
Second bin index of coagulation couples.
Definition: siream.f90:89
integer noptions_aer
Number of aerosol module options.
Definition: siream.f90:64
integer, dimension(nbin_aer), save couples_coag
Coagulation couples for each bin.
Definition: siream.f90:85
#define END_C_DECLS
Definition: cs_defs.h:468
void plug_aerosol(cs_int_t *nx, cs_int_t *ny, cs_int_t *nz, cs_int_t *ns, cs_real_t *ts, cs_real_t *dlhumid, cs_real_t *dltemp, cs_real_t *dlpress, cs_real_t *delta_t, cs_real_t *dlconc, cs_int_t *noptions_aer, cs_int_t *options_aer, cs_int_t *ns_aer, cs_int_t *nbin_aer, cs_int_t *ncycle_aer, cs_real_t *bin_bound_aer, cs_real_t *fixed_density_aer, cs_real_t *density_aer, cs_int_t *couples_coag, cs_int_t *first_index_coag, cs_int_t *second_index_coag, cs_real_t *coefficient_coag, cs_real_t *dlconc_aer, cs_real_t *dlnum_aer)
Definition: cs_at_plugin.c:139
void plug_compute_coagulation_coefficient(cs_int_t *nbin_aer, cs_real_t *bin_bound, cs_int_t *couple, cs_int_t *first_index, cs_int_t *second_index, cs_real_t *partition_coefficient)
Definition: cs_at_plugin.c:211
#define CS_PROCF(x, y)
Definition: cs_defs.h:481
integer, dimension(noptions_aer), save options_aer
1D list of aerosol module options
Definition: siream.f90:68
double precision, save fixed_density_aer
Fixed aerosol density ([g/m^3])
Definition: siream.f90:81