|
From: | Torquil Macdonald Sørensen |
Subject: | Re: [Getfem-users] Structured mesh coordinate values |
Date: | Fri, 24 Sep 2010 11:20:03 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100917 Icedove/3.0.8 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |