Skip to content

Commit 5d2f110

Browse files
committed
Preparing files for release 0.79: Win32 binaries, sample output, and docs
1 parent e17d69b commit 5d2f110

File tree

9 files changed

+319
-253
lines changed

9 files changed

+319
-253
lines changed

doc/history

Lines changed: 68 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Ver. 0.76 - 14.10.06
149149
reference frame. Thanks to Michiel Min for fruitful discussions.
150150

151151
----------------------------------
152-
Ver. 0.77 - (05.06.07)
152+
Ver. 0.77 - 05.06.07
153153

154154
- Calculation of radiation forces gave segmentation fault. The bug was
155155
introduced in version 0.76. Fixed.
@@ -185,7 +185,7 @@ Ver. 0.77 - (05.06.07)
185185
discussion. Thanks to Vitezslav Karasek and Liviu Clime for their feedback.
186186

187187
----------------------------------
188-
Ver. 0.78 - (19.03.08)
188+
Ver. 0.78 - 19.03.08
189189

190190
* Makefiles were improved to enable automatic compilation of both sequential and
191191
MPI versions from the same source folder. Name of MPI executable is now
@@ -274,3 +274,69 @@ Ver. 0.78.2 - 11.04.08
274274
- An implementation of a new FCD polarization prescription (-pol fcd) was
275275
somewhat faulty. Correction terms of orders (kd)^2 and ln(...)(kd)^3 were
276276
interchanged. Fixed.
277+
278+
----------------------------------
279+
Ver. 0.79 - 29.05.09
280+
281+
+ Added using SLURM job ID, when available.
282+
- Corrected inaccuracies in passing grid... to FFTW planning functions by making
283+
explicit conversion from size_t to int *.
284+
- Warnings were produced about anisotropic refractive index in the input file
285+
for any file in DDSCAT format. Fixed.
286+
+ Saving of granule coordinates to a file was implemented.
287+
+ Discussion of difference between two ways to calculate Csca, possibilities to
288+
improve the accuracy of these calculations, and connection between
289+
differential cross section and the Mueller matrix has been added to the
290+
manual.
291+
+ Tested for 64bit, implementing a number of corrections/improvements.
292+
+ Support for new compiler (IBM XLC/XLF) added to the makefiles.
293+
- Warnings for grid adjustments (e.g. from odd to even) were extended to cover
294+
all possible ambiguities, including combination with specified '-size' command
295+
line option. A discussion of these issues is added to the manual.
296+
* Affiliation of one of the author (Maxim Yurkin) has changed to Institute of
297+
Chemical Kinetics & Combustion (Novosibirsk, Russia). This does not change the
298+
global strategy of ADDA development.
299+
+ New shape 'axisymmetric' was added. The internals of shape generation routines
300+
were adjusted so that shape can now define the absolute size of the particle.
301+
* Full name of the package was changed from 'Amsterdam DDA' to 'ADDA'.
302+
* Code for calculating and saving different variants of Mueller matrix
303+
integrated over phi was shortened by implementing repeated blocks as inline
304+
function.
305+
* Code repository has been moved to Google Code: http://a-dda.googlecode.com
306+
+ Google groups adda-announce, adda-discuss and adda-develop were created to
307+
facilitate interaction with users. This replaces the previous mailing list.
308+
* Heads of source and a few other files were changed using subversion keywords.
309+
* Copyright was updated to GPL 3.
310+
* Exit codes inside the code were changed to standard ones (EXIT_FAILURE,
311+
EXIT_SUCCESS).
312+
* The special code in exit sequence for Borland compiler was removed (no more
313+
relevant).
314+
+ Short history of earlier ADDA development was added to the manual.
315+
* To-do list was replaced by issue tracker http://code.google.com/p/a-dda/issues
316+
- avg_inc_pol was not initialized in param.c, which could potentially lead to
317+
undetermined behavior of LDR polarizability prescription (whether it is
318+
averaged over incident polaeization or not). Fixed.
319+
- MakeParticle() was referenced as int instead of void in ADDAmain.c. This
320+
should not cause any problems, but was fixed anyway.
321+
+ A description how to add new beam type and new command line options were added
322+
to the code and manual.
323+
* All 'intel...' compilation options in makefiles were combined into one. Tested
324+
with icc 10.1 and 11.0.
325+
+ Information on how to cite the manual was added to its first page. It includes
326+
a direct link to the particular version of the manual on Google code.
327+
* PBS script was updated according to recent changes of module structure and
328+
64-bit OS on LISA . An extensive description of this script was removed from
329+
the manual.
330+
+ Manual license is now explicitly set to Creative Commons Attribution 3.0
331+
license.
332+
+ A small summary of the comparison of the DDA with the FDTD was added to the
333+
manual.
334+
* '-prognose' command line option was replaced by '-prognosis' (correct
335+
spelling). The former is still operational but marked as deprecated.
336+
+ A new option '-scat fin' was implemented, which uses finite dipole correction
337+
for calculation of Cabs and Cext.
338+
+ Breakdown detection of iterative solvers was improved.
339+
* The code was transformed to C99 standard without using its parts, which are
340+
not yet widely supported by compilers (such as inline and complex). Explicit
341+
support of this standard is required during compilation. Some style changes
342+
were done, and some work in this direction is still due.

doc/manual.doc

-35.5 KB
Binary file not shown.

doc/manual.pdf

-75.9 KB
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Cext = 135.0449046
22
Qext = 3.79114961
3-
Cabs = 0
4-
Qabs = 0
3+
Cabs = -1.937494758e-016
4+
Qabs = -5.439177818e-018

sample/run000_sphere_g16m1_5/log

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
Generated by ADDA v.0.78.2
2-
The program was run on: dda
3-
command: './adda '
1+
Generated by ADDA v.0.79
2+
The program was run on: YURKIN
3+
command: 'd:\Maxim\Current\adda\win32\adda.exe '
44
lambda: 6.283185307
55
shape: sphere; diameter:6.734551818
66
box dimensions: 16x16x16
77
refractive index: 1.5+0i
88
Dipoles/lambda: 15
99
(Volume correction used)
10-
Required relative residual norm: 1e-05
10+
Required relative residual norm: 1e-005
1111
Total number of occupied dipoles: 2176
1212
Volume-equivalent size parameter: 3.367275909
1313

@@ -31,51 +31,51 @@ Total memory usage: 2.2 Mb
3131

3232
here we go, calc Y
3333

34-
CoupleConstant:0.005259037197+1.843854148e-05i
34+
CoupleConstant:0.005259037197+1.843854148e-005i
3535
x_0 = 0
36-
RE_000 = 1.0000000000E+00
37-
RE_001 = 8.4752662637E-01 + progress = 0.152473
38-
RE_002 = 8.2113292044E-01 + progress = 0.031142
39-
RE_003 = 4.2639057157E-01 + progress = 0.480729
40-
RE_004 = 3.0639031825E-01 + progress = 0.281433
41-
RE_005 = 2.2448283848E-01 + progress = 0.267331
42-
RE_006 = 2.2740255145E-01 - progress = -0.013006
43-
RE_007 = 1.5952149116E-01 + progress = 0.298506
44-
RE_008 = 6.1602401378E-02 + progress = 0.613830
45-
RE_009 = 3.5443250605E-02 + progress = 0.424645
46-
RE_010 = 2.9898244022E-02 + progress = 0.156447
47-
RE_011 = 2.4111231314E-02 + progress = 0.193557
48-
RE_012 = 3.8307716444E-03 + progress = 0.841121
49-
RE_013 = 3.0434605426E-03 + progress = 0.205523
50-
RE_014 = 1.3101400518E-03 + progress = 0.569523
51-
RE_015 = 8.2588869902E-04 + progress = 0.369618
52-
RE_016 = 5.0452779281E-04 + progress = 0.389109
53-
RE_017 = 1.1339755335E-04 + progress = 0.775240
54-
RE_018 = 9.3640503439E-05 + progress = 0.174228
55-
RE_019 = 6.8748633527E-05 + progress = 0.265824
56-
RE_020 = 2.2386152530E-05 + progress = 0.674377
57-
RE_021 = 1.5169835168E-05 + progress = 0.322356
58-
RE_022 = 3.1682277704E-06 + progress = 0.791149
36+
RE_000 = 1.0000000000E+000
37+
RE_001 = 8.4752662637E-001 + progress = 0.152473
38+
RE_002 = 8.2113292044E-001 + progress = 0.031142
39+
RE_003 = 4.2639057157E-001 + progress = 0.480729
40+
RE_004 = 3.0639031825E-001 + progress = 0.281433
41+
RE_005 = 2.2448283848E-001 + progress = 0.267331
42+
RE_006 = 2.2740255145E-001 - progress = -0.013006
43+
RE_007 = 1.5952149116E-001 + progress = 0.298506
44+
RE_008 = 6.1602401378E-002 + progress = 0.613830
45+
RE_009 = 3.5443250605E-002 + progress = 0.424645
46+
RE_010 = 2.9898244022E-002 + progress = 0.156447
47+
RE_011 = 2.4111231314E-002 + progress = 0.193557
48+
RE_012 = 3.8307716444E-003 + progress = 0.841121
49+
RE_013 = 3.0434605426E-003 + progress = 0.205523
50+
RE_014 = 1.3101400517E-003 + progress = 0.569523
51+
RE_015 = 8.2588869912E-004 + progress = 0.369618
52+
RE_016 = 5.0452779292E-004 + progress = 0.389109
53+
RE_017 = 1.1339755199E-004 + progress = 0.775240
54+
RE_018 = 9.3640503664E-005 + progress = 0.174228
55+
RE_019 = 6.8748638938E-005 + progress = 0.265824
56+
RE_020 = 2.2386125355E-005 + progress = 0.674377
57+
RE_021 = 1.5169773128E-005 + progress = 0.322358
58+
RE_022 = 3.1681577504E-006 + progress = 0.791153
5959

6060
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6161
Timing Results
6262
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6363
Total number of iterations: 22
6464
Total planes of E field calculation (each 181 points): 2
6565

66-
Total wall time: 1
66+
Total wall time: 0
6767
--Everything below is processor times--
68-
Total time: 0.6300
69-
Initialization time: 0.2100
70-
init Dmatrix 0.0100
71-
FFT setup: 0.2000
68+
Total time: 0.3160
69+
Initialization time: 0.1190
70+
init Dmatrix 0.0140
71+
FFT setup: 0.1020
7272
make particle: 0.0000
73-
Internal fields: 0.3700
74-
one solution: 0.3700
75-
init solver: 0.0200
76-
one iteration: 0.0200
77-
Scattered fields: 0.0300
78-
one plane: 0.0200
79-
Other sc.quantities: 0.0100
80-
File I/O: 0.0100
73+
Internal fields: 0.1710
74+
one solution: 0.1710
75+
init solver: 0.0080
76+
one iteration: 0.0080
77+
Scattered fields: 0.0200
78+
one plane: 0.0100
79+
Other sc.quantities: 0.0010
80+
File I/O: 0.0050
8181
Integration: 0.0000

0 commit comments

Comments
 (0)