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!

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

Reply via email to