Skip to content
Snippets Groups Projects
  1. Jul 27, 2020
  2. Jul 24, 2020
  3. Jul 22, 2020
  4. Jul 23, 2020
  5. Jul 21, 2020
    • sergio's avatar
      BUG: Correct evaluate function for ddt0 in CrankNicolson scheme. Fixes · 45982d97
      sergio authored
      The function evaluate was returning true every outer loop, triggering
      the re-calculation of ddt0 in every outer loop.
      
      The evaluation of the term ddt0 should be performed once per time step.
      The corrected function updates the timeIndex of ddt0 to avoid the
      re-evaluation of this term in the outer loops.
      45982d97
    • Mark OLESEN's avatar
      ENH: support writable reference for tmp (#1775) · be058bec
      Mark OLESEN authored
      - improves flexibility. Can tag a tmp as allowing non-const access to
        the reference and skip additional const_cast in following code. For
        example,
      
            tmp<volScalarField> tfld(nullptr);
            auto* ptr = getObjectPtr<volScalarField>("field");
            if (ptr)
            {
                tfld.ref(*ptr);
            }
            else
            {
                tfld.reset(volScalarField::New(...));
            }
            auto& fld = tfld.ref();
      
      ENH: renamed tmpNrc to refPtr
      
      - the name 'refPtr' (reference|pointer) should be easier to remember
        than tmpNrc (tmp, but non-ref-counted).
      
      - provide tmpNrc typedef and header for code compatibility
      
      NOTE
      
      - in some places refPtr and tmp can be used instead of a
        std::reference_wrapper for handling external references.
      
        Unlike std::reference_wrapper, it can be default constructed
        (holding nothing), whereas reference_wrapper may need a dummy
        reference. However, the lifetime extension of references _may_ be
        better with reference_wrapper.
      be058bec
  6. Jul 20, 2020
  7. Jul 17, 2020
  8. Jul 16, 2020
  9. Jul 15, 2020
  10. Jul 14, 2020
    • Andrew Heather's avatar
      Merge branch 'feature-dynamicLibrary' into 'develop' · e2021550
      Andrew Heather authored
      Feature dynamic library - issue #1737
      
      See merge request !375
      e2021550
    • Mark OLESEN's avatar
      ENH: mutable libs() access in Time and other classes (#1737) · 1e7c6ea2
      Mark OLESEN authored
      - This reflects the pre-existing coding situation where const_cast was
        used throughout to effect the same.
      
      STYLE: fix private/protected access
      
      - CodedField, codedMixedFvPatchField
      1e7c6ea2
    • Mark OLESEN's avatar
      ENH: various dlLibraryTable improvements/refinements (#1737) · 41d3e6f1
      Mark OLESEN authored
      - libs() singleton method for global library handling
      
      - explicit handling of empty filename for dlLibraryTable open/close.
        Largely worked before, but now be more explicit about its behaviour.
      
      - add (key, dict) constructor and open() methods.
        More similarity to dimensionedType, Enum etc, and there is no
        ambiguity with the templated open().
      
      - construct or open from initializer_list of names
      
      - optional verbosity when opening with auxiliary table,
        avoid duplicate messages or spurious messages for these.
      
      - basename and fullname methods (migrated from dynamicCode).
      
      - centralise low-level load/unload hooks
      
      - adjust close to also dlclose() aliased library names.
      41d3e6f1
  11. Jul 13, 2020
  12. Jul 10, 2020
    • Mark OLESEN's avatar
      ENH: update lemon version and linkage directive (#1768) · 6365bab8
      Mark OLESEN authored
      - replace `%namespace` directive with simpler `%static` directive.
      
        We always encapsulate Lemon parser routines in an anonymous
        namespace, so a simpler static linkage directive suffices.
      
        This reduces the size of the Lemon patch (program and template).
      6365bab8
  13. Jul 09, 2020
  14. Jul 08, 2020
  15. Jul 03, 2020
  16. Jul 01, 2020
  17. Jun 30, 2020
  18. Jun 29, 2020