Commit 3893b6c9 authored by Sylvain Thery's avatar Sylvain Thery

import/export pb

parent a7481434
...@@ -112,11 +112,11 @@ bool exportNAS(typename PFP::MAP& map, const VertexAttribute<typename PFP::VEC3> ...@@ -112,11 +112,11 @@ bool exportNAS(typename PFP::MAP& map, const VertexAttribute<typename PFP::VEC3>
Dart e = d; Dart e = d;
Dart f = map.template phi<21121>(d); Dart f = map.template phi<21121>(d);
hexa.push_back(indices[f]); hexa.push_back(indices[f]);
e = map.phi_1(f); f = map.phi_1(f);
hexa.push_back(indices[f]); hexa.push_back(indices[f]);
e = map.phi_1(f); f = map.phi_1(f);
hexa.push_back(indices[f]); hexa.push_back(indices[f]);
e = map.phi_1(f); f = map.phi_1(f);
hexa.push_back(indices[f]); hexa.push_back(indices[f]);
hexa.push_back(indices[e]); hexa.push_back(indices[e]);
e = map.phi1(e); e = map.phi1(e);
...@@ -129,7 +129,7 @@ bool exportNAS(typename PFP::MAP& map, const VertexAttribute<typename PFP::VEC3> ...@@ -129,7 +129,7 @@ bool exportNAS(typename PFP::MAP& map, const VertexAttribute<typename PFP::VEC3>
if (degree == 4) if (degree == 4)
{ {
//CAS TETRAEDRIQUE (ordre 2 quad superposes, le premier en CCW) //CAS TETRAEDRIQUE
Dart e = d; Dart e = d;
tetra.push_back(indices[e]); tetra.push_back(indices[e]);
e = map.phi1(e); e = map.phi1(e);
......
...@@ -181,7 +181,6 @@ bool importMSH(typename PFP::MAP& map, const std::string& filename, std::vector< ...@@ -181,7 +181,6 @@ bool importMSH(typename PFP::MAP& map, const std::string& filename, std::vector<
{ {
if ((type_elm==5) && (nb==8)) if ((type_elm==5) && (nb==8))
{ {
std::cout << "HEXA: "<< i << std::endl;
Geom::Vec4ui v; Geom::Vec4ui v;
if (i==0) if (i==0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment