mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Standardized cell, patch and face loop index names
This commit is contained in:
@ -114,9 +114,9 @@ int main(int argc, char *argv[])
|
||||
dimensionedScalar("patchDist", dimLength, 0.0)
|
||||
);
|
||||
scalarField pf(vsf.boundaryField()[patch.index()].size());
|
||||
forAll(pf, faceI)
|
||||
forAll(pf, facei)
|
||||
{
|
||||
pf[faceI] = Foam::sqrt(allFaceInfo[faceI].distSqr());
|
||||
pf[facei] = Foam::sqrt(allFaceInfo[facei].distSqr());
|
||||
}
|
||||
vsf.boundaryFieldRef()[patch.index()] = pf;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user