mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Standardized cell, patch, face and processor loop index names
This commit is contained in:
@ -107,15 +107,15 @@ void ReadAndMapFields
|
||||
else if (index < 0)
|
||||
{
|
||||
label facei = -index-1;
|
||||
label bFaceI = facei - mesh.nInternalFaces();
|
||||
if (bFaceI >= 0)
|
||||
label bFacei = facei - mesh.nInternalFaces();
|
||||
if (bFacei >= 0)
|
||||
{
|
||||
label patchi = mesh.boundaryMesh().patchID()[bFaceI];
|
||||
label localFaceI = mesh.boundaryMesh()[patchi].whichFace
|
||||
label patchi = mesh.boundaryMesh().patchID()[bFacei];
|
||||
label localFacei = mesh.boundaryMesh()[patchi].whichFace
|
||||
(
|
||||
facei
|
||||
);
|
||||
fld[pointI] = readField.boundaryField()[patchi][localFaceI];
|
||||
fld[pointI] = readField.boundaryField()[patchi][localFacei];
|
||||
}
|
||||
//else
|
||||
//{
|
||||
|
||||
Reference in New Issue
Block a user