Skip to content
Snippets Groups Projects
Select Git revision
  • a6d77523cbc1f74c2a4c571ad0ddd3c28578499b
  • master default protected
  • offload_trapping
  • script_devel
  • parallel_trapping
  • unify_iterations
  • containers-m10
  • magma_refinement
  • release9
  • enable_svd
  • parallel_angles_gmu
  • containers-m8
  • parallel_angles
  • profile_omp_leonardo
  • test_nvidia_profiler
  • containers
  • shaditest
  • test1
  • main
  • 3-error-in-run-the-program
  • experiment
  • NP_TMcode-M10a.03
  • NP_TMcode-M10a.02
  • NP_TMcode-M10a.01
  • NP_TMcode-M10a.00
  • NP_TMcode-M9.01
  • NP_TMcode-M9.00
  • NP_TMcode-M8.03
  • NP_TMcode-M8.02
  • NP_TMcode-M8.01
  • NP_TMcode-M8.00
  • NP_TMcode-M7.00
  • v0.0
33 results

config_random_example.yml

Blame
  • config_random_example.yml 4.47 KiB
    # EXAMPLE CONFIGURATION FILE TO BUILD A RANDOM CLUSTER WITH 100 SPHERES.
    
    system_settings:
      # Limit on host RAM use in Gb (0 for no configuration limit)
      max_host_ram : 24
      # Limit on GPU RAM use in Gb (0 for no configuration limit)
      max_gpu_ram  : 8
      # Random seed (a positive integer number)
      rnd_seed     : 105
      # Random engine (COMPACT or LOOSE)
      rnd_engine   : "COMPACT"
      # OBJ model export flag (requires pyvista; 0 is FALSE)
      make_3D      : 0
    
    input_settings:
      # Folder to write the code input configuration files
      input_folder : "."
      # Name of the scatterer description file
      spheres_file : "DEDFB_comp"
      # Name of the geometry description file
      geometry_file: "DCLU_comp"
      
    output_settings:
      # Folder for the code output storage
      output_folder: "."
      # Name of the main output file
      output_name  : "c_OCLU"
      # Requested output formats
      formats      : [ "LEGACY", "HDF5" ]
      # Index of the scale for transition matrix output
      jwtm         : 1
    
    particle_settings:
      # What application to use (SPHERE | CLUSTER | INCLUSION)
      application : "CLUSTER"
      # Number of spheres
      n_spheres   : 100
      # Number of sphere types
      n_types     : 2
      # Vector of sphere type identifiers (what type is each sphere)
      # For random genration it can be empty (random sphere types),
      # or contain "n_spheres" elements (random position with assigned
      # types).
      sph_types   : [ ]
      # Vector of layers in types (how many layers in each type)
      n_layers    : [ 1, 1 ]
      # Spherical monomer radii in m (one size for each type)
      radii       : [ 4.000e-8, 4.000e-8 ]
      # Layer fractional radii (one per layer in each type)
      rad_frac    : [ [ 1.0 ], [ 1.0 ] ]
      # Index of the dielectric constants (one per layer in each type)
      #
      # 1 is first file in `dielec_file`, 2 is second ...
      dielec_id   : [ [ 1 ], [ 1 ] ]
      # Maximum radius for random particle size in m
      max_rad     : 3.0e-7
    
    material_settings:
      # Dielectric properties definition (-1 = scaled, 0 = tabulated)
      diel_flag   : 0
      # External medium dielectric constant
      extern_diel : 1.00e+00
      # Dielectric constant files folder
      dielec_path : "../../ref_data"
      # List of dielectric constant files (used if diel_flag = 0)
      dielec_file : [ "eps_ashok_C.csv" ]
      # Dielectric constant files format (same for all files)
      dielec_fmt  : [ "CSV" ]
      # Matching method between optical constants and radiation wavelengths
      #