mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: lduPrimitiveMesh: processor id indexing
This commit is contained in:
@ -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
|
|||||||
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
|
|||||||
|
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user