next up previous
Next: Output Files Up: Input Files Previous: Input Beam File

Geometry File

The required geometry file is created by the user. Three namelist commands are available, &initial_coordinates, &block, and &cylinder. Since the regions can only be of block type or cylindrical type, the commands &block and &cylinder can't be mixed in the same geometry file. The fields for the first command are:
&initial_coordinates
   double x_cm = 0.0
   double y_cm = 0.0
   double z_cm = 0.0
   double xp = 0.0
   double yp = 0.0
&end

The &block command defines a block-like region of material:

&block
   STRING label = NULL
   STRING material = NULL
   double x_lower_cm = 0.0
   double x_upper_cm = 0.0
   double y_lower_cm = 0.0
   double y_upper_cm = 0.0
   double z_lower_cm = 0.0
   double z_upper_cm = 0.0
   double Bx = 0.0;
   double By = 0.0;
   double Bz = 0.0;
   double Ex = 0.0;
   double Ey = 0.0;
   double Ez = 0.0;
   long x_slices = 1;
   long y_slices = 1;
   long z_slices = 1;
   STRING outputfile = NULL;
   double photonEnergyCutoff = 0.0;        
   double leptonEnergyCutoff = 0.0;        
   long split = 1;        
   double minimumWeight = 0.0;
   double maximumDeltaE = 0.02;
&end

The &cylinder command is similar to the &block command:

&cylinder
   STRING label = NULL
   STRING material = NULL
   double r_lower_cm = 0.0
   double r_upper_cm = 0.0
   double z_lower_cm = 0.0
   double z_upper_cm = 0.0
   double Bx = 0.0
   double By = 0.0;
   double Bz = 0.0;
   double Ex = 0.0;
   double Ey = 0.0;
   double Ez = 0.0;
   long r_slices = 1
   long z_slices = 1
   STRING outputfile = NULL
   double photonEnergyCutoff = 0.0;        
   double leptonEnergyCutoff = 0.0;
   long split = 1;        
   double minimumWeight = 0.0;
   double maximumDeltaE = 0.02;
&end
The only difference with the &block command is the absence of the dimension variables in $y$, and the replacement of the variables in $x$ with variables in $r$. The cylinder defined are concentric and are centered on the $z$-axis.

The &block and &cylinder commands can't be mixed in the same geometry file. If the first material definition command is of one type, then the rest must be of the same type.


next up previous
Next: Output Files Up: Input Files Previous: Input Beam File
Robert Soliday 2003-10-17