keep ifdef parallel

This commit is contained in:
Joachim Schoeberl 2024-12-22 21:45:33 +01:00
parent bcc9f43f76
commit 0e2eee3618

View File

@ -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
}
}