mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Standardized cell, patch and face loop index names
This commit is contained in:
@ -97,17 +97,17 @@ Foam::tmp<Field<Type>> Foam::tecplotWriter::getFaceField
|
||||
|
||||
forAll(faceLabels, i)
|
||||
{
|
||||
label faceI = faceLabels[i];
|
||||
label facei = faceLabels[i];
|
||||
|
||||
label patchi = patches.whichPatch(faceI);
|
||||
label patchi = patches.whichPatch(facei);
|
||||
|
||||
if (patchi == -1)
|
||||
{
|
||||
fld[i] = sfld[faceI];
|
||||
fld[i] = sfld[facei];
|
||||
}
|
||||
else
|
||||
{
|
||||
label localFaceI = faceI - patches[patchi].start();
|
||||
label localFaceI = facei - patches[patchi].start();
|
||||
fld[i] = sfld.boundaryField()[patchi][localFaceI];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user