openfoam/applications/utilities/mesh/generation
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
..
blockMesh COMP: fix some linkage issues for mingw 2020-06-16 23:56:41 +02:00
extrude STYLE: simplify short-circuit involving autoPtr (#1775) 2020-07-16 10:17:25 +02:00
extrude2DMesh STYLE: remove dead code, refactor constructors in extrudePatchMesh 2020-02-21 11:13:22 +01:00
foamyMesh STYLE: replace uses of autoPtr::empty() with bool check (#1775) 2020-07-16 08:58:22 +02:00
PDRblockMesh ENH: report dictionary name actually used (for -dict option) 2020-06-02 14:29:36 +02:00
snappyHexMesh ENH: unify use of dictionary method names 2020-06-02 17:26:03 +02:00
Allwmake STYLE: regularize quoting and exit on failed 'cd' 2019-11-13 13:19:16 +01:00