Merge remote-tracking branch 'origin/master' into develop

This commit is contained in:
Andrew Heather
2024-06-18 17:09:58 +01:00
5 changed files with 64 additions and 56 deletions

View File

@ -43,7 +43,7 @@ Type Foam::functionObjects::extractEulerianParticles::faceValue
{
label patchi = patchIDs_[localFacei];
label pFacei = patchFaceIDs_[localFacei];
if (patchi != 0)
if (patchi != -1)
{
return field.boundaryField()[patchi][pFacei];
}