mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 14:10:34 +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
|
FlatArray<int> Ngx_Mesh :: GetDistantProcs (int nodetype, int locnum) const
|
||||||
{
|
{
|
||||||
// #ifdef PARALLEL
|
#ifdef PARALLEL
|
||||||
if (mesh->GetCommunicator().Size() == 1)
|
if (mesh->GetCommunicator().Size() == 1)
|
||||||
return FlatArray<int>(0,nullptr);
|
return FlatArray<int>(0,nullptr);
|
||||||
|
|
||||||
@ -1379,9 +1379,9 @@ FlatArray<int> Ngx_Mesh :: GetDistantProcs (int nodetype, int locnum) const
|
|||||||
default:
|
default:
|
||||||
return FlatArray<int>(0, nullptr);
|
return FlatArray<int>(0, nullptr);
|
||||||
}
|
}
|
||||||
// #else
|
#else
|
||||||
// return FlatArray<int>(0,nullptr);
|
return FlatArray<int>(0,nullptr);
|
||||||
// #endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user