fix for non-parallel

This commit is contained in:
Joachim Schöberl 2020-08-21 22:38:35 +02:00
parent 895280a244
commit e680f23bfa

View File

@ -1298,7 +1298,11 @@ void Ngx_Mesh::SetSurfaceElementOrders (int enr, int ox, int oy)
size_t Ngx_Mesh :: GetGlobalVertexNum (int locnum) const
{
#ifdef PARALLEL
return mesh->GetParallelTopology().GetGlobalPNum (locnum+1)-1;
#else
return locnum;
#endif
}