mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
less ifdef PARALLEL
This commit is contained in:
parent
9500f8d8f2
commit
68c320fd53
@ -363,9 +363,8 @@ namespace netgen
|
||||
int * const indices = NULL, int numind = 0) const;
|
||||
|
||||
|
||||
#ifdef PARALLEL
|
||||
// for MPI-parallel
|
||||
std::tuple<int,int*> GetDistantProcs (int nodetype, int locnum) const;
|
||||
#endif
|
||||
|
||||
shared_ptr<Mesh> GetMesh () const { return mesh; }
|
||||
shared_ptr<Mesh> SelectMesh () const;
|
||||
|
@ -1245,11 +1245,11 @@ void Ngx_Mesh::SetSurfaceElementOrders (int enr, int ox, int oy)
|
||||
|
||||
|
||||
|
||||
#ifdef PARALLEL
|
||||
|
||||
|
||||
std::tuple<int,int*> Ngx_Mesh :: GetDistantProcs (int nodetype, int locnum) const
|
||||
{
|
||||
|
||||
#ifdef PARALLEL
|
||||
switch (nodetype)
|
||||
{
|
||||
case 0:
|
||||
@ -1270,10 +1270,10 @@ void Ngx_Mesh::SetSurfaceElementOrders (int enr, int ox, int oy)
|
||||
default:
|
||||
return std::tuple<int,int*>(0,nullptr);
|
||||
}
|
||||
}
|
||||
|
||||
#else
|
||||
return std::tuple<int,int*>(0,nullptr);
|
||||
#endif
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user