Skip to content
Snippets Groups Projects
  1. Oct 26, 2016
  2. Oct 24, 2016
  3. Oct 19, 2016
  4. Oct 18, 2016
    • Mark Olesen's avatar
      BUG: foamCleanPath problem if path contains @ (closes #264) · 03b5d5c1
      Mark Olesen authored
      - Can occur with some user names, or mounted paths.
        Resolve by using '?' for the separation character.
      
        Since '?' is a shell-glob, it is highly unlikely to occur appear in
        filenames.  Additionally, it is not a meta-character in standard sed,
        nor in the GNU extension (which uses '\?').
      03b5d5c1
  5. Oct 17, 2016
  6. Oct 04, 2016
  7. Oct 03, 2016
    • Mark Olesen's avatar
      ENH: provide direct access to raw pointer/reference from autoPtr (issue #252) · 96c3a090
      Mark Olesen authored
      All of the access methods for autoPtr include validity checks and will
      fail if the underlying point is NULL. In some cases, however, we'd
      like to retain the automatic deletion mechanism, but still address a
      nullptr. This is mostly for cases in which a file-stream should be
      allocated, but only on the master process. For these cases we'd still
      like to pass through and reference the underlying pointer (eg, to
      obtain the correct method call) without tripping the pointer check
      mechanism. If we attempt to use the ptr() method, the autoPtr memory
      management is bypassed and we risk memory leaks.
      
      Instead provide an alternative mechanism to obtain the raw underlying
      pointers/references. Use rawPtr() and rawRef() for these potentially
      useful, but also potentially dangerous, operations.
      96c3a090
    • mattijs's avatar
  8. Sep 30, 2016
  9. Sep 29, 2016
  10. Sep 28, 2016
  11. Sep 27, 2016
  12. Sep 26, 2016
  13. Sep 23, 2016
  14. Sep 21, 2016
    • Mark Olesen's avatar
      ENH: improve startup time for foamToEnsight conversion (issue #240). · 0c168c43
      Mark Olesen authored
      Old code:
          Found 10990 time steps
          Search for moving mesh ... no moving mesh detected.
          Startup in 329.09 s
      
      Updated:
          Found 10990 time steps
          Search for moving mesh ... no moving mesh detected.
          Startup in 1.6 s
      
      - Cause was checking "polyMesh/points" via an IOobject.
        Short-circuit with a check for a polyMesh/ directory first.
      
        Limit the check to the master-node as well to further reduce
        load on the file-system.
      
      ------------------------------
      
      ENH: improve per-step conversion times for foamToEnsight.
      
      Old code:
          Converting 11001 time steps
          Time [0] = 0       Wrote in 1.53 s
          Time [1] = 1       Wrote in 1.52 s
          ...
          Time [100] = 100   Elapsed time 205.35 s
      
      Updated:
          Converting 11001 time steps
          Time [0] = 0       Wrote in 1.4 s
          Time [1] = 1       Wrote in 0.07 s
          ...
          Time [100] = 100   Elapsed time 42.4 s
      
      - Speedup by hashing test results from the first conversion step
        instead of checking each time.
      
        Check data on all nodes to avoid problems with incomplete writes.
      
      ------------------------------
      
      BUG: moving mesh detection failed for foamToEnsightParts
      
      - adjusted to agree with updated foamToEnsight
      
      ------------------------------
      
      Note:
      
      - foamToEnsightParts (serial) still has about twice the throughput of
        foamToEnsight.
      0c168c43
  15. Sep 20, 2016
  16. Sep 16, 2016