mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 04:50:34 +05:00
paralleltop also in sequential version - only tye type
This commit is contained in:
parent
ab5b653133
commit
cf6c69ed69
@ -560,10 +560,10 @@ namespace netgen
|
||||
order = 1;
|
||||
|
||||
auto comm = mesh.GetCommunicator();
|
||||
// #ifdef PARALLEL
|
||||
#ifdef PARALLEL
|
||||
enum { MPI_TAG_CURVE = MPI_TAG_MESH+20 };
|
||||
const ParallelMeshTopology & partop = mesh.GetParallelTopology ();
|
||||
//#endif
|
||||
#endif
|
||||
int ntasks = comm.Size();
|
||||
bool working = (ntasks == 1) || (comm.Rank() > 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user