Skip to content

Commit

Permalink
Preparing files for release 1.0: Win32 binaries, sample output, and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
myurkin committed Sep 10, 2010
1 parent 17de61a commit 44ee678
Show file tree
Hide file tree
Showing 8 changed files with 290 additions and 210 deletions.
78 changes: 78 additions & 0 deletions doc/history
Original file line number Diff line number Diff line change
Expand Up @@ -340,3 +340,81 @@ Ver. 0.79 - 29.05.09
not yet widely supported by compilers (such as inline and complex). Explicit
support of this standard is required during compilation. Some style changes
were done, and some work in this direction is still due.

----------------------------------
Ver. 1.0 - 10.09.2010

* doc/faq has been moved to a wiki page http://code.google.com/p/a-dda/wiki/FAQ
+ Calculation of Green's tensor was accelerated by doing all 6 components at
once (issue 58).
+ IGT was implemented (issue 84).
+ Added information on extra build options (e.g. DEBUG) to the output of '-V'
command line option.
+ New shapes: bisphere, bicoated, biellipsoid.
* The code was refactored: 1) all Fortran sources were moved to fort/;
2) make_mpi and make_seq were moved (renamed) to mpi/Makefile and seq/Makefile
respectively; 3) now compilation goes on in folders mpi/ and seq/ completely
independently.
+ Overall Makefiles were significantly modified: 1) targets 'all', 'cleanseq',
and 'cleanmpi' were added; 2) informing about compilation process was
implemented using $(info ...) directives; 3) most of the analysis in the
Makefile is now skipped for non-compilation targets (like 'clean').
+ Flag NO_FORTRAN was implemented in Makefile, which can be used to disable all
Fortran sources.
+ Three debug levels can now be easily specified in Makefile (issue 65). All the
compilation option can be specifie through the command line. And Makefile will
automatically determine whether recompilation is required based on the
differences in the final command line with which the compiler is invoked
(issue 81).
* Format descriptors for output all over the code were replaced by a number of
string macros. Should be easier to maintain. The visible output has stayed the
same apart for a few minor changes.
* Code for saving Mueller matrix and cross sections after orientation averaging
was moved from calculator.c to CalculateE.c.
- Minor bugs were fixed (issue 93, issue 96, issue 97, issue 107, issue 110).
* Global constants MPI and ROOT were changed to ADDA_MPI and ADDA_ROOT
respectively (issue 86).
+ New command line option '-scat_matr {muel|ampl|both|none}' to specify which
scattering matrix (amplitude and/or Mueller) need to be stored to file
(issue 7).
+ Iterative solvers were significantly refactored to move all common parts to
one place. Added description of how to add a new iterative solver (issue 73).
+ Timing was slightly reworked. In particular, new timing variable was added to
gather total communication time for one run of the iterative solver.
+ Significant changes towards using C99 standard (issue 64).
- Several bugs in granule generator were fixed (issue 108, issue 109).
+ Warning settings for the compiler was tightened (now it watches for unused and
uninitialized variables). Corresponding changes were made in the code to
suppress "legitimate" warnings.
+ Fabio Della Sala and Stefania D'Agostino contributed package to calculate
near-field with ADDA (misc/near_field).
+ Several wiki pages were added and ADDA homepage at Google Code was completely
rewritten.
- Fixed bug in Frp_mat (calculation of radiative forces) - r972.

Changes to the manual:
+ Section "System Requirements": Added description of the maximum number of
processors that can be used for a given problem and corresponding minimum
memory required by a single processor in a parallel mode.
+ Section "Predefined shapes": Added description of 3 new shapes.
+ Section "Partition over processors in parallel mode": Added description of the
dependence of parallel efficiency on the order (orientation) of the axes for
prolate or oblate particles.
+ Section "Mueller matrix": Added description of the difference between the
Mueller matrix and the Stokes phase and scattering matrices.
- Section "Mueller matrix": Fixed typo in the last equation of this section (32)
- last 'cos' should be 'sin' instead (issue 87).
* Section "Finale": Removed a paragraph, duplicating the info from Introduction.
* Section "Command Line Options": Description of the '-shape' command line
option was simplified removing full list of options.
* Sections "What's New", "Obtaining the Source Code", "Compiling and Linking",
"Acknowledgements", "Comparison with Other Codes", "Tutorial", "How to Modify
the Source Code", and "A Brief History of Long ADDA Development" were moved
to the wiki pages.
+ A new section "How to Use the Manual" were added, in particular to point to
existing wiki pages. Some text was also added to section "Finale".
* Section "Near-field": Added a short reference to the near_field package.
* Section "Applicability of DDA": Added discussion of possible ways to
effectively simulate scattering by particles in the presence of substrate.
* Added sections "Amplitude matrix" and "ampl" describing use of the
corresponding new command line option.
Binary file modified doc/manual.doc
Binary file not shown.
Binary file modified doc/manual.pdf
Binary file not shown.
41 changes: 21 additions & 20 deletions sample/run000_sphere_g16m1_5/log
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Generated by ADDA v.0.79
Generated by ADDA v.1.0b1
The program was run on: YURKIN
command: 'd:\Maxim\Current\adda\win32\adda.exe '
command: 'D:\Maxim\Current\adda\win32\adda.exe '
lambda: 6.283185307
shape: sphere; diameter:6.734551818
box dimensions: 16x16x16
Expand All @@ -19,15 +19,16 @@ Incident polarization X(per): (1,0,0)

Particle orientation: default

Calculating only Mueller scattering matrix
Polarization relation: 'Lattice Dispersion Relation'
Scattering quantities formulae: 'by Draine'
Interaction term prescription: 'as Point dipoles'
FFT algorithm: FFTW3
Iterative Method: QMR (complex symmetric)
Optimization is done for maximum speed
The FFT grid is: 32x32x32
Memory usage for MatVec matrices: 1.3 Mb
Total memory usage: 2.2 Mb
Memory usage for MatVec matrices: 1.3 MB
Total memory usage: 2.2 MB

here we go, calc Y

Expand All @@ -39,7 +40,7 @@ RE_002 = 8.2113292044E-001 + progress = 0.031142
RE_003 = 4.2639057157E-001 + progress = 0.480729
RE_004 = 3.0639031825E-001 + progress = 0.281433
RE_005 = 2.2448283848E-001 + progress = 0.267331
RE_006 = 2.2740255145E-001 - progress = -0.013006
RE_006 = 2.2740255145E-001 - progress =-0.013006
RE_007 = 1.5952149116E-001 + progress = 0.298506
RE_008 = 6.1602401378E-002 + progress = 0.613830
RE_009 = 3.5443250605E-002 + progress = 0.424645
Expand All @@ -50,32 +51,32 @@ RE_013 = 3.0434605426E-003 + progress = 0.205523
RE_014 = 1.3101400517E-003 + progress = 0.569523
RE_015 = 8.2588869912E-004 + progress = 0.369618
RE_016 = 5.0452779292E-004 + progress = 0.389109
RE_017 = 1.1339755199E-004 + progress = 0.775240
RE_018 = 9.3640503664E-005 + progress = 0.174228
RE_019 = 6.8748638938E-005 + progress = 0.265824
RE_020 = 2.2386125355E-005 + progress = 0.674377
RE_021 = 1.5169773128E-005 + progress = 0.322358
RE_022 = 3.1681577504E-006 + progress = 0.791153
RE_017 = 1.1339755193E-004 + progress = 0.775240
RE_018 = 9.3640503622E-005 + progress = 0.174228
RE_019 = 6.8748639218E-005 + progress = 0.265824
RE_020 = 2.2386124863E-005 + progress = 0.674377
RE_021 = 1.5169771171E-005 + progress = 0.322358
RE_022 = 3.1681532518E-006 + progress = 0.791154

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Timing Results
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Total number of iterations: 22
Total planes of E field calculation (each 181 points): 2

Total wall time: 0
Total wall time: 1
--Everything below is processor times--
Total time: 0.3160
Initialization time: 0.1190
init Dmatrix 0.0140
FFT setup: 0.1020
Total time: 0.3230
Initialization time: 0.1160
init Dmatrix 0.0090
FFT setup: 0.1040
make particle: 0.0000
Internal fields: 0.1710
one solution: 0.1710
init solver: 0.0080
one iteration: 0.0080
Scattered fields: 0.0200
one plane: 0.0100
Other sc.quantities: 0.0010
File I/O: 0.0050
Scattered fields: 0.0210
one plane: 0.0110
Other sc.quantities: 0.0000
File I/O: 0.0150
Integration: 0.0000
Loading

0 comments on commit 44ee678

Please sign in to comment.