reconstruct certain time steps
Hi
I have the time directories as 0, 0.001, 0.002 .... 0.499, 0.5 in the processors. I want to reconstruct only 0, 0.05, 0.10, ... 0.40, 0.45, 0.50 I know one could individually generate these time directories, but is there a single statement that I could use to reconstruct at intervals of 0.05 instead of 0.001? Thanks, gk |
Quote:
If you don't mind a small workaround: Use a small Perl/Python/whatever program to generate the required list for you and then use it. For example, Code:
reconstructPar $(myTimes) ... Code:
-times 0,0.05,0.10,0.40,0.45,0.50 |
Thanks so much, Mark!
This looks quite convenient too. gk |
It doesn't have to be a time range. You can do it with this command:
Quote:
|
floating point loop command
I've solved this problem using a loop command in linux terminal as below.
The range from 36 to 38, with time interval 0.05. Code:
for t in $(seq 36 .05 38); do reconstructPar -time $t; done |
Without using an explicit for loop, try:
Code:
|
All times are GMT -4. The time now is 21:38. |