Commit bf129784 authored by Michael Turner's avatar Michael Turner

face opti fix

parent 2e8ec430
......@@ -243,7 +243,7 @@ void Generator2D::MakeBL(int faceid, vector<EdgeLoop> e)
n[1] = n[1] * m_thickness + it->first->m_y;
n[2] = 0.0;
NodeSharedPtr nn = boost::shared_ptr<Node>(new Node(0,n[0],n[1],0.0));
NodeSharedPtr nn = boost::shared_ptr<Node>(new Node(m_mesh->m_numNodes++,n[0],n[1],0.0));
CADSurfSharedPtr s = m_mesh->m_cad->GetSurf(faceid);
Array<OneD, NekDouble> uv = s->locuv(n);
......@@ -178,7 +178,7 @@ void FaceMesh::Mesh()
//this is done so edge connectivity infomration can be used for optimisation
// make new elements and add to list from list of nodes and connectivity
// from triangle removing unnesercary infomration from the elements
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment