Skip to content
Snippets Groups Projects
Commit f4f8ce10 authored by mattijs's avatar mattijs
Browse files

BUG: lduPrimitiveMesh: processor id indexing

parent 7927435a
Branches
Tags
No related merge requests found
...@@ -33,6 +33,7 @@ License ...@@ -33,6 +33,7 @@ License
namespace Foam namespace Foam
{ {
defineTypeNameAndDebug(lduPrimitiveMesh, 0);
//- Less operator for pairs of <processor><index> //- Less operator for pairs of <processor><index>
class procLess class procLess
...@@ -682,7 +683,7 @@ Foam::lduPrimitiveMesh::lduPrimitiveMesh ...@@ -682,7 +683,7 @@ Foam::lduPrimitiveMesh::lduPrimitiveMesh
if if
( (
elems[i][0] == nbrProcMeshI elems[i][0] == nbrProcMeshI
&& pldui.neighbProcNo() == procMeshI && pldui.neighbProcNo() == procIDs[procMeshI]
) )
{ {
nbrIntI = elems[i][1]; nbrIntI = elems[i][1];
......
...@@ -109,6 +109,11 @@ class lduPrimitiveMesh ...@@ -109,6 +109,11 @@ class lduPrimitiveMesh
public: public:
// Static data
// Declare name of the class and its debug switch
ClassName("lduPrimitiveMesh");
// Constructors // Constructors
//- Construct from components as copies //- Construct from components as copies
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment