347 |
|
$cmd .= "$td/" . ($bmodnm,$fmodnm)[$forw] . "_???.flt"; |
348 |
|
print "{\n"; |
349 |
|
system "$cmd" || die "Failure running rcalc"; |
350 |
+ |
for (my $i = ($tensortree==3)*$ns*$ns*$ns/2; $i-- > 0; ) { |
351 |
+ |
print "0\n"; |
352 |
+ |
} |
353 |
|
print "}\n"; |
354 |
|
} |
355 |
|
print |
383 |
|
$cmd .= "$td/" . ($fmodnm,$bmodnm)[$forw] . "_???.flt"; |
384 |
|
print "{\n"; |
385 |
|
system "$cmd" || die "Failure running rcalc"; |
386 |
+ |
for (my $i = ($tensortree==3)*$ns*$ns*$ns/2; $i-- > 0; ) { |
387 |
+ |
print "0\n"; |
388 |
+ |
} |
389 |
|
print "}\n"; |
390 |
|
} |
391 |
|
print |