1. 02 Jun, 2020 1 commit
    • Mark Olesen's avatar
      ENH: unify use of dictionary method names · 3e43edf0
      Mark Olesen authored
      - previously introduced `getOrDefault` as a dictionary _get_ method,
        now complete the transition and use it everywhere instead of
        `lookupOrDefault`. This avoids mixed usage of the two methods that
        are identical in behaviour, makes for shorter names, and promotes
        the distinction between "lookup" access (ie, return a token stream,
        locate and return an entry) and "get" access (ie, the above with
        conversion to concrete types such as scalar, label etc).
      3e43edf0
  2. 16 Jan, 2020 1 commit
  3. 31 Oct, 2019 1 commit
  4. 06 Feb, 2019 1 commit
  5. 07 Jan, 2019 1 commit
  6. 11 Dec, 2018 1 commit
    • Mark Olesen's avatar
      ENH: use Zero when zero-initializing types · 1d85fecf
      Mark Olesen authored
      - makes the intent clearer and avoids the need for additional
        constructor casting. Eg,
      
            labelList(10, Zero)    vs.  labelList(10, 0)
            scalarField(10, Zero)  vs.  scalarField(10, scalar(0))
            vectorField(10, Zero)  vs.  vectorField(10, vector::zero)
      1d85fecf
  7. 06 Nov, 2018 1 commit
  8. 19 Oct, 2018 1 commit
    • Mark Olesen's avatar
      STYLE: use range-for when looping dictionary entries. · 07dafe7b
      Mark Olesen authored
      - as part of the cleanup of dictionary access methods (c6520033)
        made the dictionary class single inheritance from IDLList<entry>.
      
        This eliminates any ambiguities for iterators and allows
        for simple use of range-for looping.
      
        Eg,
            for (const entry& e : topDict))
            {
                Info<< "entry:" << e.keyword() << " is dict:" << e.isDict() << nl;
            }
      
         vs
      
            forAllConstIter(dictionary, topDict, iter))
            {
                Info<< "entry:" << iter().keyword()
                    << " is dict:" << iter().isDict() << nl;
            }
      07dafe7b
  9. 15 Oct, 2018 1 commit
    • Mark Olesen's avatar
      ENH: rationalize dictionary access methods · c6520033
      Mark Olesen authored
      - use keyType::option enum to consolidate searching options.
        These enumeration names should be more intuitive to use
        and improve code readability.
      
          Eg,   lookupEntry(key, keyType::REGEX);
          vs    lookupEntry(key, false, true);
      
        or
      
          Eg,   lookupEntry(key, keyType::LITERAL_RECURSIVE);
          vs    lookupEntry(key, true, false);
      
      - new findEntry(), findDict(), findScoped() methods with consolidated
        search options for shorter naming and access names more closely
        aligned with other components. Behave simliarly to the
        methods lookupEntryPtr(), subDictPtr(), lookupScopedEntryPtr(),
        respectively. Default search parameters consistent with lookupEntry().
      
          Eg, const entry* e = dict.findEntry(key);
          vs  const entry* e = dict.lookupEntryPtr(key, false, true);
      
      - added '*' and '->' dereference operators to dictionary searchers.
      c6520033
  10. 24 Jul, 2018 1 commit
  11. 10 Aug, 2018 2 commits
  12. 22 Feb, 2018 1 commit
  13. 11 Jul, 2018 1 commit
  14. 15 Sep, 2017 1 commit
    • Will Bainbridge's avatar
      ENH: foamyHexMesh: Set no refinement iterations in global dictionary · 66b3934a
      Will Bainbridge authored
      ENH: foamyHexMesh: Made default region volume type that of it's parent
      
      Foamy surface conformation entries have a "meshableSide" entry which
      controls which side of the surface is to be meshed. Typically this is
      set "inside" for boundaries and "both" for baffles. A sub-region's
      default entry is now taken from it's parent, rather than a specific
      value (it was "inside"). This is consistent with how other entries are
      handled.
      
      surfaceConformation
      {
          locationInMesh      (0 0 0);
      
          geometryToConformTo
          {
              baffle
              {
                  featureMethod           extractFeatures;
                  includedAngle           120;
                  meshableSide            both; // <-- per-surface setting
      
                  regions
                  {
                      disk
                      {
                          meshableSide    both; // <-- per-region setting*
      
                          // *in this example, this entry is not needed, as it
                          // is taken from the per-surface setting above
                      }
                  }
              }
      
              // ...
          }
      }
      
      ENH: foamyHexMesh: Added (reinstated) baffle patches
      
      A patch can now be assigned to a baffle surface. This assignment will
      take precedence over any face-zones.
      
      surfaceConformation
      {
          locationInMesh      (0 0 0);
      
          geometryToConformTo
          {
              disk
              {
                  featureMethod           extractFeatures;
                  includedAngle           120;
                  meshableSide            both; // <-- baffle
                  patchInfo
                  {
                      type wall;
                      inGroups (walls);
                  }
              }
      
              // ...
          }
      }
      
      STYLE: foamyHexMesh: Switched off output of all the secondary meshes
      66b3934a
  15. 18 May, 2016 1 commit
  16. 16 Apr, 2016 1 commit
  17. 10 Jan, 2016 1 commit
  18. 10 Nov, 2015 1 commit
  19. 18 Jan, 2015 2 commits
  20. 25 Sep, 2013 1 commit
  21. 06 Sep, 2013 1 commit
  22. 03 Sep, 2013 2 commits
  23. 30 Aug, 2013 2 commits
    • laurence's avatar
    • laurence's avatar
      ENH: foamyHexMesh: Allow surface point insertion on close surfaces · e9cdbdef
      laurence authored
      ENH: foamyHexMesh: do not point motion to cross surfaces
      ENH: foamyHexMesh: do not allow perturbation to cross surface
      ENH: foamyHexMesh: change inside/outside test to check for nearest intersection
      BUG: foamyHexMesh: With surfaces of same priority do not overwrite cell size
      ENH: foamyHexMesh: insert surface points on close parallel surfaces
      BUG: foamyHexMesh: write to own processor file in parallel
      ENH: foamyHexMesh: Insert surface points if internal points are exposed
      ENH: foamyHexMesh: add hasBoundaryPoint() to indexedCell
      REVERT: foamyHexMesh: do not check inside/outside for surface points
      REVERT: foamyHexMesh: correct function argument list
      REVERT: foamyHexMesh: correct function argument list
      e9cdbdef
  24. 28 Aug, 2013 1 commit
  25. 29 Jul, 2013 1 commit
  26. 04 Jul, 2013 1 commit
  27. 20 Jun, 2013 1 commit
  28. 05 Jun, 2013 1 commit
  29. 31 May, 2013 1 commit
  30. 16 May, 2013 1 commit
  31. 13 May, 2013 1 commit
  32. 10 May, 2013 1 commit
  33. 11 Apr, 2013 2 commits
  34. 12 Feb, 2013 1 commit
  35. 06 Feb, 2013 1 commit