mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
remove commented lines
This commit is contained in:
parent
caa7295990
commit
0ce429d094
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user