ENH: use string endsWith in a few places
fieldName.endsWith("_0") vs fieldName.size() > 2 && fieldName(fieldName.size()-2, 2) == "_0"
Showing
- applications/utilities/postProcessing/dataConversion/foamToEnsight/checkData.H 2 additions, 3 deletions...s/postProcessing/dataConversion/foamToEnsight/checkData.H
- applications/utilities/postProcessing/dataConversion/foamToEnsightParts/findFields.H 2 additions, 6 deletions...Processing/dataConversion/foamToEnsightParts/findFields.H
- src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricField.C 1 addition, 4 deletions...AM/fields/GeometricFields/GeometricField/GeometricField.C
Please register or sign in to comment