152 |
|
##################################################################### |
153 |
|
##### Run overture calculation? |
154 |
|
if ($nprocs > 1 && $ambounce > 0 && $ambcache && defined($ambfile)) { |
155 |
< |
my $oxres = int($res[1]/6) + 1; |
156 |
< |
my $oyres = int($res[3]/6) + 1; |
155 |
> |
my $oxres = int($res[1]/6); |
156 |
> |
my $oyres = int($res[3]/6); |
157 |
|
print STDERR "Running $oxres by $oyres overture calculation " . |
158 |
|
"to populate '$ambfile'...\n"; |
159 |
< |
system "cnt $oxres $oyres | sort -R | @vwraysA -i -x $oxres -y $oyres -pj 0 " . |
160 |
< |
"| @rtraceA -ff -ov '$oct' > /dev/null"; |
159 |
> |
system "@vwraysA -x $oxres -y $oyres -pj 0 -fa " . |
160 |
> |
"| sort -R | @rtraceA -faf -ov '$oct' > /dev/null"; |
161 |
|
die "Failure running overture\n" if ( $? ); |
162 |
|
print STDERR "Finished overture.\n"; |
163 |
|
} |