mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Fixing adress list size
This commit is contained in:
@ -154,16 +154,14 @@ void Foam::directMethod::calculateAddressing
|
|||||||
// transfer addressing into persistent storage
|
// transfer addressing into persistent storage
|
||||||
forAll(srcToTgtCellAddr, i)
|
forAll(srcToTgtCellAddr, i)
|
||||||
{
|
{
|
||||||
scalar v = srcVc[i];
|
srcToTgtCellWght[i] = scalarList(srcToTgt[i].size(), srcVc[i]);
|
||||||
srcToTgtCellAddr[i].transfer(srcToTgt[i]);
|
srcToTgtCellAddr[i].transfer(srcToTgt[i]);
|
||||||
srcToTgtCellWght[i] = scalarList(1, v);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
forAll(tgtToSrcCellAddr, i)
|
forAll(tgtToSrcCellAddr, i)
|
||||||
{
|
{
|
||||||
scalar v = tgtVc[i];
|
tgtToSrcCellWght[i] = scalarList(tgtToSrc[i].size(), tgtVc[i]);
|
||||||
tgtToSrcCellAddr[i].transfer(tgtToSrc[i]);
|
tgtToSrcCellAddr[i].transfer(tgtToSrc[i]);
|
||||||
tgtToSrcCellWght[i] = scalarList(1, v);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user