oblique_mc

Monte Carlo in Single Layer Biological Tissue
git clone anongit@rnpnr.xyz:oblique_mc.git
Log | Files | Refs | Feed | README | LICENSE

config.def.h (1013B)


      1 /* global data that will not be modified at runtime */
      2 
      3 /* optional prefix to append to output files. if specified
      4  * as {} a prefix must be specified on command line */
      5 static s8 g_output_prefix = s8("out/ex");
      6 
      7 /* simulation output extent [cm] */
      8 static Rect g_extent = {
      9 	.top   = 1.5,
     10 	.bot   = -1.5,
     11 	.left  = -1.5,
     12 	.right = 1.5,
     13 };
     14 
     15 /* incidence location in polar coordinates: r [cm], theta [radians] */
     16 static Vec3Pol g_incidence_location = {
     17 	.r = 1.0,
     18 	.theta = DEG2RAD(30),
     19 };
     20 
     21 /* incidence angle between z-axis and the plane normal */
     22 static f64 g_theta_i = DEG2RAD(45); /* [radians] */
     23 
     24 /* number of output grid points */
     25 static u32 g_Nx = 64;
     26 static u32 g_Ny = 64;
     27 
     28 static u32 g_N_lines            = 8;
     29 static u32 g_N_photons_per_line = 1e6;
     30 
     31 /* scattering/absorption coefficients */
     32 static f64 g_mu_a = 0.1;   /* [cm^-1] */
     33 static f64 g_mu_s = 100.0; /* [cm^-1] */
     34 
     35 /* scattering anisotropy */
     36 static f64 g_anisotropy = 0.9;
     37 
     38 /* refractive indices */
     39 static f64 g_n0 = 1.0;
     40 static f64 g_n  = 1.33;