remove commented lines

This commit is contained in:
Joachim Schoeberl 2015-07-23 14:11:51 +02:00
parent caa7295990
commit 0ce429d094
3 changed files with 2 additions and 4 deletions

View File

@ -75,9 +75,7 @@ NGX_INLINE DLL_HEADER Ng_Element Ngx_Mesh :: GetElement<2> (int nr) const
ret.faces.num = MeshTopology::GetNFaces (el.GetType());
ret.faces.ptr = (T_FACE2*)mesh->GetTopology().GetSurfaceElementFacesPtr (nr);
// ret.is_curved = mesh->GetCurvedElements().IsSurfaceElementCurved(nr);
ret.is_curved = el.IsCurved();
return ret;
}

View File

@ -50,6 +50,7 @@ namespace netgen
{
netgen::mesh.reset();
Ng_LoadMesh (filename.c_str());
// mesh = move(netgen::mesh);
mesh = netgen::mesh;
}
@ -57,6 +58,7 @@ namespace netgen
{
netgen::mesh = make_shared<Mesh>();
netgen::mesh -> Load (ist);
// mesh = move(netgen::mesh);
mesh = netgen::mesh;
SetGlobalMesh (mesh);
}

View File

@ -1432,13 +1432,11 @@ namespace netgen
int MeshTopology :: GetSurfaceElementFace (int elnr) const
{
// return (surffaces.Get(elnr)-1) / 8 + 1;
return surffaces.Get(elnr).fnr+1;
}
int MeshTopology :: GetFace (SurfaceElementIndex elnr) const
{
// return (surffaces[elnr]-1) / 8;
return surffaces[elnr].fnr;
}