[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ff3d-users] integration on surface
From: |
Stephane Del Pino |
Subject: |
Re: [ff3d-users] integration on surface |
Date: |
Fri, 13 Apr 2007 00:48:42 +0200 |
User-agent: |
KMail/1.9.5 |
Hi again!
I have implemented the extraction of the surface mesh of any volume mesh. It
is available in the last cvs tree.
Here is an example:
--------------8<----------------
vector n = (10,10,10);
vector a = (0,0,0);
vector b = (1,1,1);
mesh m = transform(tetrahedrize(structured(n,a,b)),[x+0.1*y,y,z]);
mesh s = extract(surface(m),1);
// surface(m) gets all boundaries of m
// and extract only keeps cells of reference 1
save(medit,"s",s);
--------------8<----------------
I hope that helps
Best regards,
Stephane.