mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
keep ifdef parallel
This commit is contained in:
parent
bcc9f43f76
commit
0e2eee3618
@ -1361,7 +1361,7 @@ size_t Ngx_Mesh :: GetGlobalVertexNum (int locnum) const
|
||||
|
||||
FlatArray<int> Ngx_Mesh :: GetDistantProcs (int nodetype, int locnum) const
|
||||
{
|
||||
// #ifdef PARALLEL
|
||||
#ifdef PARALLEL
|
||||
if (mesh->GetCommunicator().Size() == 1)
|
||||
return FlatArray<int>(0,nullptr);
|
||||
|
||||
@ -1379,9 +1379,9 @@ FlatArray<int> Ngx_Mesh :: GetDistantProcs (int nodetype, int locnum) const
|
||||
default:
|
||||
return FlatArray<int>(0, nullptr);
|
||||
}
|
||||
// #else
|
||||
// return FlatArray<int>(0,nullptr);
|
||||
// #endif
|
||||
#else
|
||||
return FlatArray<int>(0,nullptr);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user