1. 21 Dec, 2020 1 commit
    • mattijs's avatar
      BUG: extrudeMesh: revert previous fix. see #1964 · a2bc1fd3
      mattijs authored
      The polyMesh construct-from-components will now ignore
      the readOpt for the supplied primitives as before.
      This again re-allows READ_IF_PRESENT for fv* in
      combination with supplied primitives.
      a2bc1fd3
  2. 16 Dec, 2020 1 commit
    • mattijs's avatar
      BUG: redistributePar: failing reconstruct. See #1953. · dbaed65d
      mattijs authored
      In reconstruct mode redistributePar will have
      - master read undecomposed mesh
      - slaves construct dummy mesh (0 faces/points etc.)
        but correct patches and zones
      so all processors have two valid meshes. This was
      all handled inside fvMeshTools::newMesh and this
      was behaving differently.
      dbaed65d
  3. 11 Dec, 2020 1 commit
  4. 08 Dec, 2020 2 commits
    • Mark Olesen's avatar
      ENH: static test methods for matching simple cell shapes · b966b7cd
      Mark Olesen authored
      - (tet, pyr, hex) can be identified from their number of faces
        and vertices. For these common shapes can use static `test()`
        method instead of the virtual isA() method.
      
        This is much cheaper for calling on an individual basis since
        it avoids the overhead of constructing an object.
      
      ENH: tetCell edge/reverseEdge (already had tetEdge)
      b966b7cd
    • Mark Olesen's avatar
      STYLE: bracket instead of braces on List constructors · b7c8a45d
      Mark Olesen authored
      - avoid potential future mistakes if someone adds a sizing dimension
        and finds they have inadvertently called construct labelList with
        `{std::initializer_list<label>}` instead of `label`
      b7c8a45d
  5. 26 Nov, 2020 1 commit
  6. 25 Nov, 2020 2 commits
  7. 23 Nov, 2020 1 commit
    • mattijs's avatar
      BUG: subsetMesh: map instead of truncate. See #1558. · 9c26b5ce
      mattijs authored
      This also is to do with redistributePar:
      this uses subsetMesh to generate parts to
      send to different processors.
      2) related to 1558: make sure not to choose 'mapped'
      patches to move the processor patches into so
      we can use the mapper cloning and correctly
      size additional data (e.g. offsets). This should
      be generalised to hold for any patch type
      holding local data ...
      9c26b5ce
  8. 19 Nov, 2020 1 commit
  9. 16 Nov, 2020 1 commit
  10. 12 Oct, 2020 1 commit
    • Mark Olesen's avatar
      ENH: add UPstream::parRun(const bool) · 9c7aa972
      Mark Olesen authored
      - slightly neater code when disabling/restoring parallel state
      
        New
            const bool oldParRun = Pstream::parRun(false);
            ...
            Pstream::parRun(oldParRun);
      
        Old
            const bool oldParRun = Pstream::parRun();
            Pstream::parRun() = false;
            ...
            Pstream::parRun() = oldParRun;
      9c7aa972
  11. 07 Oct, 2020 1 commit
    • Mark Olesen's avatar
      ENH: additional face constructors, cellModel methods · 0783bd28
      Mark Olesen authored
      - support construct face from subset of labels.
      
      - additional cellModel face() method to return a single face.
      
      - reduce some allocations in cellModel centre/mag methods
      
      STYLE: mark old cellModeller methods as compile-time deprecated
      
      - deprecated in 2017, but not marked as such
      
      STYLE: indentation, spacing in some headers
      0783bd28
  12. 28 Sep, 2020 2 commits
    • Mark Olesen's avatar
      ENH: add UPstream::subProcs() static method · 5dc5ea92
      Mark Olesen authored
      - returns a range of `int` values that can be iterated across.
        For example,
      
            for (const int proci : Pstream::subProcs()) { ... }
      
        instead of
      
            for
            (
                int proci = Pstream::firstSlave();
                proci <= Pstream::lastSlave();
                ++proci
            )
            {
                ...
            }
      5dc5ea92
    • Mark Olesen's avatar
      ENH: add UPstream::allProcs() method · e18ff114
      Mark Olesen authored
      - returns a range of `int` values that can be iterated across.
        For example,
      
            for (const int proci : Pstream::allProcs()) { ... }
      
        instead of
      
            for (label proci = 0; proci < Pstream::nProcs(); ++proci) { ... }
      e18ff114
  13. 20 Jul, 2020 1 commit
  14. 14 Jul, 2020 1 commit
  15. 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
  16. 22 May, 2020 1 commit
  17. 20 May, 2020 1 commit
  18. 14 May, 2020 1 commit
  19. 13 May, 2020 2 commits
  20. 04 May, 2020 1 commit
  21. 30 Apr, 2020 2 commits
  22. 28 Apr, 2020 2 commits
  23. 18 Mar, 2020 1 commit
  24. 21 Feb, 2020 2 commits
  25. 19 Feb, 2020 1 commit
  26. 18 Feb, 2020 1 commit
    • Kutalmis Bercin's avatar
      ENH: improve analytical eigendecompositions · 55e7da67
      Kutalmis Bercin authored and Andrew Heather's avatar Andrew Heather committed
        - `tensor` and `tensor2D` returns complex eigenvalues/vectors
        - `symmTensor` and `symmTensor2D` returns real eigenvalues/vectors
        - adds new test routines for eigendecompositions
        - improves numerical stability by:
          - using new robust algorithms,
          - reordering the conditional branches in root-type selection
      55e7da67
  27. 28 Jan, 2020 1 commit
  28. 23 Jan, 2020 1 commit
  29. 16 Jan, 2020 2 commits
    • Mark Olesen's avatar
      ENH: provide defaultName() static method for patches, zones · f0be8679
      Mark Olesen authored
      - consistent way of writing "patch" + Foam::name(id) etc.
      f0be8679
    • Mark Olesen's avatar
      ENH: consistency improvements for surface patch handling (fixes #483) · 2a98c4e6
      Mark Olesen authored
      - remove (unused) Istream constructors, prune some unused methods,
        rationalize write() vs writeDict().
        Deprecate inconsistent construction order.
      
      - handle empty names for ".ftr" surface patches (for plain triSurface
        format) with double-quoted strings for more reliable streaming.
        Written on a single line.
      
        This is _backward_ compatible, but if users have been parsing these
        files manually, they will need to adjust their code.
      
      Previously:
      ```
        (
        frt-fairing:001%1
        empty
      
        windshield:002%2
        empty
        ...
        )
      ```
      
      Updated (with example handling of empty name):
      ```
        (
        frt-fairing:001%1 empty
      
        windshield:002%2 ""
        ...
        )
      ```
      2a98c4e6
  30. 19 Dec, 2019 1 commit
    • Zeljko Tukovic's avatar
      ENH: Adding interTrack code · 79588b9b
      Zeljko Tukovic authored and Andrew Heather's avatar Andrew Heather committed
      1) New skewCorrectedSnGrad for non-orthogonal and skewness corrector
      2) New freeSurfacePressure and freeSurfacePressure working with
         interfaceTrackingFvMesh
      3) New interfaceTrackingFvMesh
      79588b9b
  31. 13 Dec, 2019 1 commit
  32. 31 Oct, 2019 1 commit