mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
fix for non-parallel
This commit is contained in:
parent
895280a244
commit
e680f23bfa
@ -1298,7 +1298,11 @@ void Ngx_Mesh::SetSurfaceElementOrders (int enr, int ox, int oy)
|
|||||||
|
|
||||||
size_t Ngx_Mesh :: GetGlobalVertexNum (int locnum) const
|
size_t Ngx_Mesh :: GetGlobalVertexNum (int locnum) const
|
||||||
{
|
{
|
||||||
|
#ifdef PARALLEL
|
||||||
return mesh->GetParallelTopology().GetGlobalPNum (locnum+1)-1;
|
return mesh->GetParallelTopology().GetGlobalPNum (locnum+1)-1;
|
||||||
|
#else
|
||||||
|
return locnum;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user