1. 03 Dec, 2021 1 commit
    • Mark OLESEN's avatar
      ENH: add Function1 constant() member · f7c7fa94
      Mark OLESEN authored
      - marks if the value is considered to be independent of 'x'.
        Propagate into PatchFunction1 instead ad hoc checks there.
      
      - adjust method name in PatchFunction1 to 'whichDb()' to reflect
        final changes in Function1 method names.
      
      ENH: add a Function1 'none' placeholder function
      
      - This is principally useful for interfaces that expect a Function1
        but where it is not necessarily used by a particular submodel.
      
      TUT: update Function1 creation to use objectRegistry
      f7c7fa94
  2. 28 Jul, 2021 1 commit
    • Mark OLESEN's avatar
      BUG: decomposing ConstantField loses information (#2101) · 8f1bad1c
      Mark OLESEN authored
      - previously had a patch-size check, which caused a zero-sized patch
        to be "sticky" as uniform Zero regardless of what the original input
        stated (eg, "constant 0.5")
      
        This was caused by short-circuiting logic that circumvented reading
        on zero-size patches.
      8f1bad1c
  3. 26 Apr, 2021 1 commit
    • Mark OLESEN's avatar
      ENH: adjustments for Function1/PatchFunction1 · 399c21d7
      Mark OLESEN authored
      - additional debug information
      
      - improve support for dictionary specification of constant, polynomial
        and table entries. These previously only worked properly for
        primitiveEntry, which causes confusion.
      
      - extend table Function1 to include TableFile functionality.
        Simplifies switching and modifying content.
      399c21d7
  4. 19 Nov, 2020 1 commit
    • Mark OLESEN's avatar
      ENH: Function1 and PatchFunction1 improvements (#1917) · 2f2dcdcf
      Mark OLESEN authored
      - easier support for non-mandatory functions.
      
        In some boundary conditions it can be desirable to support
        additional functions, but not necessarily require them. Make this
        easier to support with a Function1, PatchFunction1 NewIfPresent()
        selector.
      
      - support for compatibility lookups
      
      - harmonize branching logic and error handling between Function1 and
        PatchFunction1.
      
      ENH: refactor a base class for Function1, PatchFunction1
      
      - includes base characteristics, patch or scalar information
      
      ENH: additional creation macros
      
      - makeConcreteFunction1, makeConcretePatchFunction1Type for adding a
        non-templated function into the correct templated selection table.
        makeScalarPatchFunction1 for similarity with makeScalarFunction1
      2f2dcdcf
  5. 25 Sep, 2020 1 commit
  6. 20 Feb, 2020 1 commit
  7. 31 Oct, 2019 1 commit
  8. 04 Apr, 2019 1 commit
  9. 07 Feb, 2019 1 commit
  10. 12 Nov, 2018 1 commit
  11. 06 Nov, 2018 1 commit
  12. 30 Oct, 2018 3 commits
  13. 29 Oct, 2018 1 commit
  14. 04 Jun, 2018 1 commit
  15. 26 Feb, 2018 1 commit
  16. 10 Aug, 2017 1 commit
  17. 08 Aug, 2017 1 commit
  18. 01 Jul, 2016 1 commit
  19. 25 Apr, 2016 1 commit
  20. 22 Mar, 2016 1 commit
  21. 10 Feb, 2016 1 commit
  22. 08 Feb, 2016 1 commit
    • Henry Weller's avatar
      Rename DataEntry -> Function1 · 968c888f
      Henry Weller authored
      Function1 is an abstract base-class of run-time selectable unary
      functions which may be composed of other Function1's allowing the user
      to specify complex functions of a single scalar variable, e.g. time.
      The implementations need not be a simple or continuous functions;
      interpolated tables and polynomials are also supported.  In fact form of
      mapping between a single scalar input and a single primitive type output
      is supportable.
      
      The primary application of Function1 is in time-varying boundary
      conditions, it also used for other functions of time, e.g. injected mass
      is spray simulations but is not limited to functions of time.
      968c888f
  23. 07 Feb, 2016 1 commit
  24. 06 Feb, 2016 1 commit
  25. 08 Dec, 2015 1 commit
  26. 11 Nov, 2015 2 commits
  27. 06 Feb, 2015 1 commit
  28. 13 Apr, 2012 1 commit
  29. 21 Nov, 2011 1 commit
  30. 14 Aug, 2011 1 commit
  31. 15 Feb, 2011 1 commit
  32. 28 Jan, 2011 1 commit
  33. 19 Jan, 2011 1 commit
  34. 14 Jan, 2011 1 commit
  35. 07 Jan, 2011 1 commit
  36. 05 Jan, 2011 2 commits