[vc_actionbox type=”custom” bg_color=”#f18821″ text_color=”#ffffff” title=”Download spheroid package” button1=”DOWNLOAD” link1=”https://code.grasp-open.com/open/spheroid-package” size1=”small” target1=”_blank”]

How to download

  • Click to the ‘Download’ button above.
  • Sign in or register to get access to GRASP open code.
  • On Spheroid package page click on download icon as shown in screenshot below.
  • Select preferred archive type.

Code compilation and execution

To compile and execute the code run this command:

make
./DLS2_gfortran.out fullpath_input_file

 

We advice to run the code with included examples to see how it works:

  • example-1: Compute single scattering properties using base kernels
  • example-2: Compute kernels for given shape distribution using base kernels
    Save kernels in folder provided in input file
    Compute single scattering properties using saved kernels
  • example-3: Read kernels for fixed shape distribution
    Compute single scattering properties
  • example-4: Compute single scattering properties using kernels
    for mixture of spherical and non-spherical particles with fixed
    shape distribution [Dubovik et al., 2006].