openfoam/applications/solvers
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
..
basic ENH: unify use of dictionary method names 2020-06-02 17:26:03 +02:00
combustion ENH: unify use of dictionary method names 2020-06-02 17:26:03 +02:00
compressible COMP: some resolved compiler warnings 2020-06-25 10:02:50 +01:00
discreteMethods GIT: Header file updates 2019-10-31 14:48:44 +00:00
DNS GIT: remove leading/trailing blank lines, trailing whitespace 2020-06-17 10:46:26 +02:00
doc GIT: Header file updates 2019-10-31 14:48:44 +00:00
electromagnetics ENH: unify use of dictionary method names 2020-06-02 17:26:03 +02:00
financial GIT: Header file updates 2019-10-31 14:48:44 +00:00
finiteArea GIT: remove leading/trailing blank lines, trailing whitespace 2020-06-17 10:46:26 +02:00
heatTransfer COMP: chtMultiRegion: avoid excess unused references. See #1726. 2020-06-22 11:55:08 +01:00
incompressible BUG: Corrected use of ddtCorr off 2020-06-29 11:07:09 +01:00
lagrangian COMP: some resolved compiler warnings 2020-06-25 10:02:50 +01:00
multiphase STYLE: simplify short-circuit involving autoPtr (#1775) 2020-07-16 10:17:25 +02:00
stressAnalysis ENH: unify use of dictionary method names 2020-06-02 17:26:03 +02:00