mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +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.num = MeshTopology::GetNFaces (el.GetType());
|
||||||
ret.faces.ptr = (T_FACE2*)mesh->GetTopology().GetSurfaceElementFacesPtr (nr);
|
ret.faces.ptr = (T_FACE2*)mesh->GetTopology().GetSurfaceElementFacesPtr (nr);
|
||||||
|
|
||||||
// ret.is_curved = mesh->GetCurvedElements().IsSurfaceElementCurved(nr);
|
|
||||||
ret.is_curved = el.IsCurved();
|
ret.is_curved = el.IsCurved();
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,6 +50,7 @@ namespace netgen
|
|||||||
{
|
{
|
||||||
netgen::mesh.reset();
|
netgen::mesh.reset();
|
||||||
Ng_LoadMesh (filename.c_str());
|
Ng_LoadMesh (filename.c_str());
|
||||||
|
// mesh = move(netgen::mesh);
|
||||||
mesh = netgen::mesh;
|
mesh = netgen::mesh;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -57,6 +58,7 @@ namespace netgen
|
|||||||
{
|
{
|
||||||
netgen::mesh = make_shared<Mesh>();
|
netgen::mesh = make_shared<Mesh>();
|
||||||
netgen::mesh -> Load (ist);
|
netgen::mesh -> Load (ist);
|
||||||
|
// mesh = move(netgen::mesh);
|
||||||
mesh = netgen::mesh;
|
mesh = netgen::mesh;
|
||||||
SetGlobalMesh (mesh);
|
SetGlobalMesh (mesh);
|
||||||
}
|
}
|
||||||
|
@ -1432,13 +1432,11 @@ namespace netgen
|
|||||||
|
|
||||||
int MeshTopology :: GetSurfaceElementFace (int elnr) const
|
int MeshTopology :: GetSurfaceElementFace (int elnr) const
|
||||||
{
|
{
|
||||||
// return (surffaces.Get(elnr)-1) / 8 + 1;
|
|
||||||
return surffaces.Get(elnr).fnr+1;
|
return surffaces.Get(elnr).fnr+1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int MeshTopology :: GetFace (SurfaceElementIndex elnr) const
|
int MeshTopology :: GetFace (SurfaceElementIndex elnr) const
|
||||||
{
|
{
|
||||||
// return (surffaces[elnr]-1) / 8;
|
|
||||||
return surffaces[elnr].fnr;
|
return surffaces[elnr].fnr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user