Skip to content

Latest commit

 

History

History

equiv

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Utils for automatic testing of ADDA by running equivalent command line combinations and comparing the output. Currently, it contains only a few tests, but should be further developed into a general framework (similar to tests/comp2exec).

Directory structure

  • bb_equiv.py - tests for Bessel beams. Relative differences are shown when > 1e-08. See results in bb_results.txt
  • common.sh - common parts used by other Bash scripts (should be scripted rather than run)
  • ext_CD.py - tests for calculation of Cext for various polarizations (including circular dichroism) through the amplitude matrix at forward direction. Compares this with direct simulations for circular polarizations, either by combining linear ones or through plane-wave limit of Bessel beams.
  • helix.dat - helix shape for test ext_CD.py
  • onion.sh - tests for onion and onion_ell (multilayered sphere and ellipsoid) shapes
  • superellipsoid.sh - test for superellipsoid shape