mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Further standardization of loop index naming: pointI -> pointi, patchI -> patchi
This commit is contained in:
@ -95,14 +95,14 @@ void ReadAndMapFields
|
||||
|
||||
// Map from read field. Set unmapped entries to nullValue.
|
||||
fld.setSize(map.size(), nullValue);
|
||||
forAll(map, pointI)
|
||||
forAll(map, pointi)
|
||||
{
|
||||
label index = map[pointI];
|
||||
label index = map[pointi];
|
||||
|
||||
if (index > 0)
|
||||
{
|
||||
label celli = index-1;
|
||||
fld[pointI] = readField[celli];
|
||||
fld[pointi] = readField[celli];
|
||||
}
|
||||
else if (index < 0)
|
||||
{
|
||||
@ -115,7 +115,7 @@ void ReadAndMapFields
|
||||
(
|
||||
facei
|
||||
);
|
||||
fld[pointI] = readField.boundaryField()[patchi][localFacei];
|
||||
fld[pointi] = readField.boundaryField()[patchi][localFacei];
|
||||
}
|
||||
//else
|
||||
//{
|
||||
@ -128,8 +128,8 @@ void ReadAndMapFields
|
||||
//else
|
||||
//{
|
||||
// WarningInFunction
|
||||
// << "Point " << pointI << " at "
|
||||
// << tetDualMesh.points()[pointI]
|
||||
// << "Point " << pointi << " at "
|
||||
// << tetDualMesh.points()[pointi]
|
||||
// << " has no dual correspondence." << endl;
|
||||
//}
|
||||
}
|
||||
@ -200,9 +200,9 @@ int main(int argc, char *argv[])
|
||||
label nCells = 0;
|
||||
label nPatchFaces = 0;
|
||||
label nUnmapped = 0;
|
||||
forAll(pointDualAddressing, pointI)
|
||||
forAll(pointDualAddressing, pointi)
|
||||
{
|
||||
label index = pointDualAddressing[pointI];
|
||||
label index = pointDualAddressing[pointi];
|
||||
|
||||
if (index > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user