From: Cyril G. <cyr...@fr...> - 2005-09-09 08:20:29
|
Hello World :-), That seems a very good news for the simulation methods based upon structured grid (i, j, k) mesh like finite differences in time domain. For instance in electromagnetism, people use to stock matrices X[i], Y[j], Z[k], Ex[i,j,k], Ey[i,j,k], Ez[i,j,k], Hx[i,j,k], Hy[i,j,k], Hz[i,j,k] independantly. Why ? Because during the computation, there is no need of X, Y, Z. In pytables, one can write these matrices but there is no standard way to say : The first dimension of Ex is linking to X, the second to Y and the third to Z. We could even imaging : The first dimension of Ex is linking to X[i1:i2:i3] (begin, end, step) and so on... And that 's the point, linking matrix sides to some arrays description. "netcdf" allows such a feature but netcdf is usefullless with python, and i like pytables, "very good job". It's the way to do simulation with scripting languages. Thanks for your work. Cyril. |