Thanks Yves! I now use this method instead and it works fine, all the 
coordinates are within [0,1]^3 now when I do:

getfem::regular_mesh(mymesh, "GT='GT_PK(3,1)'; NSUBDIV=[10,10,10]; ORG=[0,0,0]; 
SIZES=[1,1,1]; NOISED=0");

Are you sure that you don't get the same problem with coordinates that are 
outside [0,1]^3 when using the test program in the other email? Maybe I did 
something wrong but perhaps also there might be a bug hiding somewhere?

Torquil

On 24/09/10 09:14, Yves Renard wrote:
> Another simple way to generate a structured mesh is to use getfem::import_mesh
> like this :
>
>
> getfem::import_mesh("structured:GT_QK(3,1)";SIZES=[1,1,1];NSUBDIV=[10,10,10]",
> mesh);
>
> This allows to use a the regular mesh from a parameter file instead of a
> filename.
>
> Yves.

_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users

Reply via email to