Skip to content
Snippets Groups Projects
Select Git revision
  • profile_trapping
  • master default protected
  • unify_iterations
  • script_devel
  • 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
  • original protected
  • 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
32 results

test_data

  • Clone with SSH
  • Clone with HTTPS
  • Name Last commit Last update
    ..
    cluster
    sphere
    trapping
    README.md

    Folder instructions

    This directory collects the input files to test the code.

    Instructions

    The execution of the original code can be controlled through a set of configuration files that define the characteristics of the problem and affect the type of output. The following sections describe the contents of the configuration files and, to some extent, those of the output ones, presenting one code in each section.

    cluster

    clu is designed to calculate a complex geometry made up by many spheres. These can be either fully embedded in a larger sphere or separated within the external medium. Sphere compenetration is not accounted for.

    TODO: add the description of the cluster configuration files

    sphere

    sph is designed to perform the simplest case calculation, namely the scattering of incident radiation on a single sphere. To perform the calculation, the two following formatted files need to be provided:

    • DEDFB
       SPHERE_NUMBER   EXTERNAL_SPHERE_FLAG
       EXT_DIEL_CONST   PEAK_WAVE   PEAK_SCALE   DIEL_TYPE   SCALE_NUMBER   SCALE_STEP_FLAG   CONTROL_VARIABLE
       SCALE_VECTOR   [SCALE_VECTOR_STEP]
            |
    	v
       SPHERE_ID_VECTOR ->
       LAYER_NUMBER_VECTOR   SPHERE_RADII_VECTOR
                |                     |
    	    v                     v
       FRACTIONAL_BREAK_RADII ->
                 |
    	     v
       DIEL_CONST_VECTOR ->
              |
    	  v
       EOF_CODE

    were the different lines have the following roles:

    1. declare the number of spheres and whether to add an external layer
    2. define the external dielectric constant and the scaling configuration
    3. define the vector of scales (either explicitly, with one element per row, or in steps, with only first element and step declared)
    4. create a vector of IDs to attach to the spheres
    5. define the vectors spcifying the number of layers and the radii of the spheres (one sphere per line)
    6. define the fractional break radii (one line per sphere, one column per layer)
    7. define the vector of dielectric constants or starting functions (one line per sphere, one column per layer)
    8. an end-of-file code (generally 0)
    • DSPH
      SPHERE_NUMBER  MAXIMUM_L_ORDER  POLARIZATION_STATUS  TRANSITION_SHARPNESS_1  TRANSITION_SHARPNESS_2  GEOMETRY
      STARTING_INC_THETA  INC_THETA_STEP  FINAL_INC_THETA  STARTING_SCA_THETA  SCA_THETA_STEP  FINAL_SCA_THETA
      STARTING_INC_PHI  INC_PHI_STEP  FINAL_INC_PHI  STARTING_SCA_PHI  SCA_PHI_STEP  FINAL_SCA_PHI
      WRITE_INTERMEDIATE_FILE
    EOF_CODE

    were the different lines have the following roles:

    1. general configuration of the scattering problem, with some specification of the transition between materials
    2. definition of the elevation angle arrays for the incident and scattered radiation fields
    3. definition of the azimuth angle arrays for the incident and scattered radiation fields
    4. a flag to set whether the intermediate data should be written to output files
    5. an end-of-file code (generally 0)