non-parallel fix

This commit is contained in:
Joachim Schoeberl 2014-12-02 21:53:29 +00:00
parent 906334f224
commit 215fd1bca7
2 changed files with 5 additions and 0 deletions

View File

@ -230,7 +230,9 @@ namespace netgen
int * const indices = NULL, int numind = 0) const; int * const indices = NULL, int numind = 0) const;
#ifdef PARALLEL
std::tuple<int,int*> GetDistantProcs (int nodetype, int locnum) const; std::tuple<int,int*> GetDistantProcs (int nodetype, int locnum) const;
#endif
shared_ptr<Mesh> SelectMesh () const; shared_ptr<Mesh> SelectMesh () const;
}; };

View File

@ -660,6 +660,7 @@ namespace netgen
} }
#ifdef PARALLEL
std::tuple<int,int*> Ngx_Mesh :: GetDistantProcs (int nodetype, int locnum) const std::tuple<int,int*> Ngx_Mesh :: GetDistantProcs (int nodetype, int locnum) const
{ {
@ -686,6 +687,8 @@ namespace netgen
} }
} }
#endif
} }