| 24 |
|
my $doforw = 0; |
| 25 |
|
my $doback = 1; |
| 26 |
|
my $pctcull = 90; |
| 27 |
< |
my $gunit = "Meter"; |
| 27 |
> |
my $gunit = "meter"; |
| 28 |
|
my @dim; |
| 29 |
|
# Get options |
| 30 |
|
while ($#ARGV >= 0) { |
| 129 |
|
while (<MGFSCN>) { print $_; } |
| 130 |
|
close MGFSCN; |
| 131 |
|
print "xf\n"; |
| 132 |
< |
print "\t\t</MGFblock>\n"; |
| 132 |
> |
print "</MGFblock>\n"; |
| 133 |
|
print "\t</Geometry>\n"; |
| 134 |
|
} |
| 135 |
|
# Set up surface sampling |
| 277 |
|
q{-e '$1=(0.265*$1+0.670*$2+0.065*$3)/Omega' }; |
| 278 |
|
if ($pctcull >= 0) { |
| 279 |
|
$cmd .= "-of $td/" . ($bmodnm,$fmodnm)[$forw] . ".flt " . |
| 280 |
< |
"| rttree_reduce -a -h -ff -t $pctcull -r $tensortree -g $ttlog2"; |
| 280 |
> |
"| rttree_reduce -h -ff -t $pctcull -r $tensortree -g $ttlog2"; |
| 281 |
|
system "$cmd" || die "Failure running rttree_reduce"; |
| 282 |
|
} else { |
| 283 |
|
$cmd .= "$td/" . ($bmodnm,$fmodnm)[$forw] . ".flt"; |