Skip to content
Snippets Groups Projects
  1. May 27, 2019
  2. May 25, 2019
    • Mark OLESEN's avatar
      COMP: force dlOpen for windows application binaries (#1238) · 3c6effc9
      Mark OLESEN authored
      - when windows portable executables (.exe or .dll) files are loaded,
        their dependent libraries not fully loaded. For OpenFOAM this means
        that the static constructors which are responsible for populating
        run-time selection tables are not triggered, and most of the run-time
        selectable models will simply not be available.
      
      Possible Solution
      =================
      
        Avoid this problem by defining an additional library symbol such as
        the following:
      
            extern "C" void libName_Load() {}
      
        in the respective library, and tag this symbol as 'unresolved' for
        the linker so that it will attempt to resolve it at run-time by
        loading the known libraries until it finds it. The link line would
        resemble the following:
      
            -L/some/path -llibName -ulibName_Load
      
        Pros:
          - Allows precise control of forced library loading
      
        Cons:
          - Moderately verbose adjustment of some source files (even with macro
            wrapping for the declaration).
          -...
      3c6effc9
  3. May 23, 2019
  4. May 22, 2019
  5. May 20, 2019
  6. May 22, 2019
    • Mark OLESEN's avatar
      ENH: improvements, modernization of matrix containers (#1220) · 931d0507
      Mark OLESEN authored
      - add iterators, begin/end, empty() methods for STL behaviour.
        Use standard algorithms where possible
           * std::fill, std::copy
           * std::min_element, std::max_element
      
      - access methods consistent with other OpenFOAM containers:
           * data(), cdata(), uniform()
      
      - Use ListPolicy to impose output line breaks
      
      - Can recover matrix storage for re-use elsewhere.
        For example, to populate values with 2D i-j addressing and later
        release it as flat linear storage.
      
      - construct/assign moveable
      
      - added minMax() function for Matrix
      
      - additional inplace +=, -=, *=, /= operations
      
      - add named methods at() and rowData() to Matrix.
        Allows a better distinction between linear and row-based addressing
      
      - low-level matrix solve on List/UList instead of Field
      931d0507
  7. May 21, 2019
  8. May 22, 2019
  9. May 20, 2019
  10. May 15, 2019
  11. May 22, 2019
  12. May 21, 2019
  13. May 20, 2019
  14. May 17, 2019
  15. May 21, 2019
  16. May 16, 2019
  17. May 15, 2019
  18. May 08, 2019
  19. May 10, 2019
  20. May 08, 2019