13 lines
197 B
Python
13 lines
197 B
Python
|
import sys
|
||
|
import time
|
||
|
import pickle
|
||
|
|
||
|
from interp.grid.gmsh import ggrid
|
||
|
|
||
|
start = time.time()
|
||
|
g = ggrid(sys.argv[1])
|
||
|
print time.time() - start
|
||
|
|
||
|
g.tree = None
|
||
|
pickle.dump(g, open(sys.argv[2], 'w'))
|