Skip to content
Snippets Groups Projects
  1. Jan 20, 2009
  2. Jan 19, 2009
  3. Jan 17, 2009
  4. Jan 16, 2009
    • Mark Olesen's avatar
      coordinate system cleanup · a83961a0
      Mark Olesen authored
      - coordinateSystem, cylindricalCS, sphericalCS:
        get copy with name constructor
      
      - cylindricalCS, sphericalCS:
        can switch off default degrees
      
      - dropped cartesianCS class (already covered by coordinateSystem) and just
        always use coordinateSystem directly.
        The dictionary runtime selection still accepts type "cartesian" as an alias,
        to provide the least surprises.
      
      - dropped runtime selection based on origin/axis/direction (not used), but
        left runtime selection based on origin/coordinateRotation as still being
        potentially useful.
      a83961a0
    • Mark Olesen's avatar
      bool and Switch reworked · c20ab11a
      Mark Olesen authored
      - Switch now stores its value as an unsigned char, which gives it the same
        storage requirement as bool (1 byte). The original implementation had both
        bool+word (1+XXX bytes storage), an intermediate version with bool+enum
        had 8 bytes (1+4 + boundary alignment).
      
      - The reading code in boolIO.C and SwitchIO.C is now identical except for
        the error message. This allows Switch to accept '1', '0' as logical
        values, and allows bool to accept 'yes', 'no' etc. as logical values.
      
      - The Switch text translation of a bool value is now true/false instead of
        on/off. This is partly personal preference, but we could also output the
        same text when writing a bool value to Ostream.
      
      - Switch gets null and integer constructors so it feels more like bool.
        Added Switch::operator=(const bool);
      
      - Low-level types can be used for the constructors, and low-level return
        values are used for the greatest flexibility (and speed).
      
      - Fixed bugginess with dictionary lookup. The previous version actually used
        a bool instead of a Switch and bombed on 'on/off'.
      
      TODO?
        perhaps don't worry about the error message and just call the Switch
        routines from bool.
      c20ab11a
    • Mark Olesen's avatar
      cosmetic cleanups · d5cbc3bf
      Mark Olesen authored
      - grammar in comments, namespace qualifiers, etc.
      d5cbc3bf
    • mattijs's avatar
      debug message · e5f59854
      mattijs authored
      e5f59854
    • mattijs's avatar
      wildcard usage · 3c426d3b
      mattijs authored
      3c426d3b
    • Mark Olesen's avatar
      7aee58e5
    • Mark Olesen's avatar
      minor cleanup for reverted string changes (commit 4f5f66e7) · 3adf0f5c
      Mark Olesen authored
      - put back debug switch (even although it is never used)
      - remove stringsGlobals.C, since it is now never used
      3adf0f5c
    • Mark Olesen's avatar
      Merge commit 'OpenCFD/master' into HEAD · be9051d3
      Mark Olesen authored
      be9051d3
    • Mark Olesen's avatar
    • Mark Olesen's avatar
      consistency update for null pointers · 246d569c
      Mark Olesen authored
      - uniform use of reinterpret_cast<foo*>(0) instead of
        reinterpret_cast<foo*>(NULL)
      
      - make all static null() members inline since they are really only a cast:
            "*reinterpret_cast<foo*>(0)"
      246d569c
  5. Jan 15, 2009
  6. Jan 14, 2009
  7. Jan 13, 2009