BUG: lduPrimitiveMesh: processor id indexing

This commit is contained in:
mattijs
2013-04-17 16:09:52 +01:00
parent 7927435a4b
commit f4f8ce10c5
2 changed files with 7 additions and 1 deletions

View File

@ -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];

View File

@ -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