COMP: avoid some static analysis warnings

This commit is contained in:
Mark Olesen
2019-01-02 13:49:39 +01:00
parent 7bf25dbda1
commit f67f36c63a
15 changed files with 23 additions and 29 deletions

View File

@ -111,7 +111,7 @@ void Foam::functionObjects::nearWallFields::calcAddressing()
start = startInfo.hitPoint();
//// Uncomment below to shift slightly in:
tetIndices tet(celli, meshFacei, tetPti);
tetIndices tet(celli, tetFacei, tetPti);
start =
(1.0 - 1e-6)*startInfo.hitPoint()
+ 1e-6*tet.tet(mesh_).centre();