next up previous contents
Next: Scattering Directions Up: User Guide for Previous: Nonrandomly-Oriented Targets

 

Target Generation

DDSCAT contains routines to generate dipole arrays representing targets of various geometries, including spheres, ellipsoids, rectangular solids, cylinders, hexagonal prisms, tetrahedra, two touching ellipsoids, and three touching ellipsoids. The target type is specified by variable CSHAPE on line 7 of ddscat.par, and up to 6 parameters (SHPAR1, SHPAR2, SHPAR3, ...) on line 8. The target geometry is most conveniently described in a coordinate system attached to the target which we refer to as the ``Target Frame'' (TF), so in this section only we will let x,y,z be coordinates in the Target Frame. Once the target is generated, the orientation of the target in the Lab Frame is accomplished as described in §16.

Target geometries currently supported include:

The user should be able to easily modify these routines, or write new routines, to generate targets with other geometries. The user should first examine the routine target.f and modify it to call any new target generation routines desired. Alternatively, targets may be generated separately, and the target description (locations of dipoles and ``composition" corresponding to x,y,z dielectric properties at each dipole site) read in from a file by invoking the option FRMFIL in ddscat.f.

It is often desirable to be able to run the target generation routines without running the entire DDSCAT code. We have therefore provided a program CALLTARGET which allows the user to generate targets interactively; to create this executable just typegif

make calltarget . The program calltarget is to be run interactively; the prompts are self-explanatory. You may need to edit the code to change the device number IDVOUT as for DDSCAT (see §5.1 above).

After running, calltarget will leave behind an ASCII file target.out which is a list of the occupied lattice sites in the last target generated.


next up previous contents
Next: Scattering Directions Up: User Guide for Previous: Nonrandomly-Oriented Targets

Bruce Draine
Thu Aug 10 09:34:16 EDT 2000