[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-users] set_region question

From: James Zhou
Subject: [Getfem-users] set_region question
Date: Tue, 25 Oct 2011 23:50:20 -0400

Dear all,

I am trying to set an array of convexes as a region (e.g. using set_region() method of Mesh class in python interface).  The code looks something like:

m.set_region(REGION_ID, [cvid, cvid*0-1])

However, this caused the following error: "Expecting a set of convexes or a set of faces, but not a mixed set".  I don't understand why it is a mixed set since the second row the input are all -1s (I have double checked by printing it out), and it is the first time I assign something to REGION_ID.  Please let me know where it is going wrong?  Thanks a lot!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]