openfoam/applications/utilities/miscellaneous
Mark Olesen 2f86cdc712 STYLE: more consistent use of dimensioned Zero
- when constructing dimensioned fields that are to be zero-initialized,
  it is preferrable to use a form such as

      dimensionedScalar(dims, Zero)
      dimensionedVector(dims, Zero)

  rather than

      dimensionedScalar("0", dims, 0)
      dimensionedVector("zero", dims, vector::zero)

  This reduces clutter and also avoids any suggestion that the name of
  the dimensioned quantity has any influence on the field's name.

  An even shorter version is possible. Eg,

      dimensionedScalar(dims)

  but reduces the clarity of meaning.

- NB: UniformDimensionedField is an exception to these style changes
  since it does use the name of the dimensioned type (instead of the
  regIOobject).
2018-03-16 10:24:03 +01:00
..
foamDictionary ENH: foamDictionary. Added comment. Fixes #316. 2018-02-14 10:17:13 +00:00
foamFormatConvert ENH: cleanup List constructors (issue #725) 2018-02-08 08:53:14 +01:00
foamHelp STYLE: more consistent use of dimensioned Zero 2018-03-16 10:24:03 +01:00
foamListRegions ENH: add foamListRegions utility 2017-12-08 14:05:25 +00:00
foamListTimes ENH: simplify method names for reading argList options and arguments 2018-01-08 15:35:18 +01:00
patchSummary ENH: simplify method names for reading argList options and arguments 2018-01-08 15:35:18 +01:00