openfoam/applications/utilities/surface/surfaceFeatureExtract
Mark Olesen 9af3f85cf9 STYLE: simplify short-circuit involving autoPtr (#1775)
- with '&&' conditions, often better to check for non-null autoPtr
  first (it is cheap)

- check as bool instead of valid() method for cleaner code, especially
  when the wrapped item itself has a valid/empty or good.
  Also when handling multiple checks.

  Now
      if (ptr && ptr->valid())
      if (ptr1 || ptr2)

  instead
      if (ptr.valid() && ptr->valid())
      if (ptr1.valid() || ptr2.valid())
2020-07-16 10:17:25 +02:00
..
extractionMethod Merge commit 'e9219558d7' into develop-v1906 2019-12-05 11:47:19 +00:00
Make COMP: adjust compilation order with updated interdependencies 2019-04-28 14:44:33 +02:00
Allwclean STYLE: regularize quoting and exit on failed 'cd' 2019-11-13 13:19:16 +01:00
Allwmake STYLE: regularize quoting and exit on failed 'cd' 2019-11-13 13:19:16 +01:00
surfaceFeatureExtract.C STYLE: simplify short-circuit involving autoPtr (#1775) 2020-07-16 10:17:25 +02:00