0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ADDA > runtime argument > -grid > Sets dimensions of the computation grid

Last updated at Posted at 2016-11-28
My_Environment
Ubuntu 14.04 LTS Japanese Remix
on VMWare Fusion v8.5.2 (4635224)
on OS X El Captian v10.11.4

GNU bash, version 4.3.11(1)-release

gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 
(also for g++)
ADDA v.1.3b6

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

In order to increase the number of dipoles, we can use grid option.

$ ./adda -grid 25
param.c
	{PAR(grid),"<nx> [<ny> <nz>]","Sets dimensions of the computation grid. Arguments should be even integers. In most "
		"cases <ny> and <nz> can be omitted (they are automatically determined by <nx> based on the proportions of the "
		"scatterer). This command line option is not relevant when particle geometry is read from a file ('-shape "
		"read'). If '-jagged' option is used the grid dimension is effectively multiplied by the specified number.\n"
		"Default: 16 (if neither '-size' nor '-eq_rad' are specified) or defined by\n"
		"         '-size' or '-eq_rad', '-lambda', and '-dpl'.",UNDEF,NULL},

correction

25 should be 26 (even number)

0
1
0

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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?