Dear Stephane Del Pino,
I met a memory exception with my special test file,
which tried to
extract a plane from one box and two planes.
I think you access a reference whose element size is
0.
reference
void SurfaceMeshGenerator::Internals::
__putRefByFront(const size_t numobject,
const ObjectToTreat& O1,
const ObjectToTreat& O2,
const SurfaceMeshOfTriangles& surfmesh,
const Connectivity<Triangle>& connect,
const std::set<const Cell*>& toTreatHexahedra) {
//pour etre sur qu'on traite bien tous les tr qu'il
faut
std::map<const Triangle*,size_t> listTreat;
....
ffout(4)<<"ref de surfmesh =
"<<surfmesh.cell(0).reference()<<"\n"; <<<<<<<<Bug
test file
Pov
box { <-2, -2, -2>, < 2, 2, 2 > pigment { color rgb
<1,0,0> } }
plane { <0,0,-1>, -2 pigment { color rgb <1,1,0> }}
plane { <0,0,1>, 2 pigment { color rgb <1,0,1> }}
input file
vector n = (20,20,11);
vector a = (-3,-3,-3);
vector b = (3,3,7);
mesh M = structured(n,a,b);
scene S = pov("bug.pov");
domain O = domain(S,inside(<1,0,0>) and
inside(<1,1,0>) and inside(<1,0,1>));
mesh s = surface(O,M);
save(medit,"bug", s,dos);
exec("medit bug");
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
_______________________________________________
ff3d-users mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/ff3d-users