Skip to content
Snippets Groups Projects
  1. Mar 21, 2018
  2. Mar 16, 2018
    • Mark OLESEN's avatar
      STYLE: more consistent use of dimensioned Zero · 2f86cdc7
      Mark OLESEN authored
      - 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).
      2f86cdc7
  3. Apr 03, 2018
  4. Mar 28, 2018
  5. Mar 27, 2018
  6. Mar 26, 2018
  7. Mar 22, 2018
  8. Mar 21, 2018
  9. Mar 19, 2018
  10. Mar 22, 2018
  11. Mar 21, 2018
  12. Mar 20, 2018
  13. Mar 19, 2018
  14. Mar 16, 2018
  15. Mar 15, 2018
  16. Mar 14, 2018
  17. Mar 13, 2018