ListOps::identity -> identityMap

to avoid confusion with the tensor identity.
This commit is contained in:
Henry Weller
2023-02-03 17:12:31 +00:00
parent efca6df9f7
commit 4dbc23c141
125 changed files with 351 additions and 346 deletions

View File

@ -192,7 +192,7 @@ void Foam::functionObjects::fieldValues::surfaceFieldValue::setPatchFaces()
const fvPatch& fvp = mesh_.boundary()[patchId];
faceId_ = identity(fvp.size());
faceId_ = identityMap(fvp.size());
facePatchId_ = labelList(fvp.size(), patchId);
faceSign_ = labelList(fvp.size(), 1);
@ -208,7 +208,7 @@ void Foam::functionObjects::fieldValues::surfaceFieldValue::setPatchFaces()
&& refCast<const processorCyclicFvPatch>(fvp).referPatchID() == patchId
)
{
faceId_.append(identity(fvp.size()));
faceId_.append(identityMap(fvp.size()));
facePatchId_.append(labelList(fvp.size(), patchi));
faceSign_.append(labelList(fvp.size(), 1));
}