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
namespace Foam
{
defineTypeNameAndDebug(lduPrimitiveMesh, 0);
//- Less operator for pairs of <processor><index>
class procLess
......@@ -682,7 +683,7 @@ Foam::lduPrimitiveMesh::lduPrimitiveMesh
if
(
elems[i][0] == nbrProcMeshI
&& pldui.neighbProcNo() == procMeshI
&& pldui.neighbProcNo() == procIDs[procMeshI]
)
{
nbrIntI = elems[i][1];
......
......@@ -109,6 +109,11 @@ class lduPrimitiveMesh
public:
// Static data
// Declare name of the class and its debug switch
ClassName("lduPrimitiveMesh");
// Constructors
//- Construct from components as copies
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment