LoginSignup
1

More than 5 years have passed since last update.

ADDA > runtime argument > -ntheta > to configure the [theta] steps in the file [mueller]

Last updated at Posted at 2018-01-16
Environment
GeForce GTX 1070 (8GB)
ASRock Z170M Pro4S [Intel Z170chipset]
Ubuntu 16.04 LTS desktop amd64
TensorFlow v1.2.1
cuDNN v5.1 for Linux
CUDA v8.0
Python 3.5.2
IPython 6.0.0 -- An enhanced Interactive Python.
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)
scipy v0.19.1
geopandas v0.3.0
MATLAB R2017b (Home Edition)
ADDA v.1.3b6

This article is related to ADDA (light scattering simulator based on the discrete dipole approximation).

Theta steps

I thoguht that the file [mueller] is created with the [theta] step of 1.0.
However the step changes for the different runs of the ADDA.

With arguments below, the step is 1.0.

./adda

With arguments below, the step is 0.5.

./adda -shape chebyshev 0.7 12 -m 1.5 0.005 -eq_rad 6.299605 -store_int_field

With arguments below, the step is 0.25.

./adda -grid 104 -shape chebyshev 0.7 12 -m 1.5 0.005 -eq_rad 6.299605 -store_int_field

-ntheta

Link: mueller > different [theta] step for different ADDA run

In the above forum, -ntheta runtime arguemnt is introduced.

./adda -ntheta 180
./adda -ntheta 180 -shape chebyshev 0.7 12 -m 1.5 0.005 -eq_rad 6.299605 -store_int_field
./adda -ntheta 180 -grid 104 -shape chebyshev 0.7 12 -m 1.5 0.005 -eq_rad 6.299605 -store_int_field

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1