1. 22 Dec, 2020 1 commit
  2. 21 Dec, 2020 1 commit
  3. 18 Dec, 2020 2 commits
  4. 17 Dec, 2020 2 commits
  5. 11 Dec, 2020 3 commits
    • Mark Olesen's avatar
      COMP: remove 64-bit label ambiguity · 4fdeb3be
      Mark Olesen authored
      COMP: fix SP/DP inconsistency in fvGeometryScheme
      
      STYLE: rename polyMesh::updateGeom to polyMesh::updateGeomPoints
      
      - avoids compiler complaints and potential masking of
        primitiveMesh::updateGeom / fvMesh::updateGeom
      
      - mark argument as movable, since that is what is happening inside.
      
      GIT: remove merge cruft
      
      TUT: better clean on MPPICInterFoam
      4fdeb3be
    • Mattijs Janssens's avatar
      ENH: cyclicACMI: optional scaling with PatchFunction1. · 31ecf0d7
      Mattijs Janssens authored and Andrew Heather's avatar Andrew Heather committed
      Added 'scale' parameter to cyclicACMI. Scales the amount of 'coupledness' (= mask). Allows opening/closing without mesh motion.
      31ecf0d7
    • Mattijs Janssens's avatar
      ENH: primitiveMesh: make geometry calculation runtime selectable · 46dbfabd
      Mattijs Janssens authored and Andrew Heather's avatar Andrew Heather committed
      This adds a 'geometry' scheme section to the system/fvSchemes:
      
      geometry
      {
          type            highAspectRatio;
      }
      
      These 'fvGeometryMethod's are used to calculate
      - deltaCoeffs
      - nonOrthoCoeffs
      etc and can even modify the basic face/cellCentres calculation.
      46dbfabd
  6. 09 Dec, 2020 1 commit
  7. 08 Dec, 2020 4 commits
  8. 26 Nov, 2020 1 commit
  9. 25 Nov, 2020 4 commits
  10. 23 Nov, 2020 1 commit
  11. 19 Nov, 2020 4 commits
    • Mark Olesen's avatar
      STYLE: fix doxygen comments · 4b964f67
      Mark Olesen authored
      4b964f67
    • Mark Olesen's avatar
      ENH: support frequency or period for Sine/Square Function1 (#1917) · 8d2d894a
      Mark Olesen authored
      - For slow oscillations it can be more intuitive to specify the
        period.
      
      ENH: separate mark/space for Square
      
      - makes it easier to tailor the desired intervals.
      
      BUG: incorrect square wave fraction with negative phase shifts
      
      ENH: additional cosine Function1
      
      STYLE: avoid code duplication by inheriting Cosine/Square from Sine.
      8d2d894a
    • 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
    • Mark Olesen's avatar
      STYLE: use brace constructors for Foam::zero and Foam::one · 07bbae0c
      Mark Olesen authored
      - makes it clearer that these are constructors and not function calls
      07bbae0c
  12. 17 Nov, 2020 3 commits
  13. 13 Nov, 2020 2 commits
  14. 04 Nov, 2020 1 commit
    • Mark Olesen's avatar
      COMP: adjust build order · 83fb4867
      Mark Olesen authored
      - blockMesh <- extrudeModel <- dynamicMesh
      
      COMP: bad constructor in searchableSphere
      
      - used brace initializer instead of bracket initializer, which
        triggered component-wise construction instead of copy/move
        construction (gcc 4.8)
      
      STYLE: use uint8_t instead of relying on definition of 'direction'
      83fb4867
  15. 28 Oct, 2020 2 commits
    • Victor Olesen's avatar
      ENH: support general searchable spheroid (issue #1901) · e9d130f0
      Victor Olesen authored and Mark Olesen's avatar Mark Olesen committed
      - a sphere/spheroid can be specified as a single radius or three radii.
        If all three values happen to be identical, they are collapsed to a
        single value. Examples,
      
            radius 2;
            radius (2 2 2);
            radius (2 3 4);
            radius (2 2 4);
      
        The search for nearest point on an ellipse or ellipsoid follows the
        description given by Geometric Tools (David Eberly), which also
        include some pseudo code. The content is CC-BY 4.0
      
        In the search algorithm, symmetry is exploited and the searching is
        confined to the first (+x,+y,+z) octant, and the radii are ordered
        from largest to smallest.
      
        Searching is optimized for sphere, prolate and oblate spheroids.
      e9d130f0
    • Mark Olesen's avatar
      ENH: adjustments to searchable surfaces · 4258f805
      Mark Olesen authored
      - code reduction, documentation, code stubs for spheroid (#1901)
      
      - make searchableSurfaceCollection available as 'collection'
        for consistency with other objects
      4258f805
  16. 15 Oct, 2020 2 commits
  17. 13 Oct, 2020 2 commits
  18. 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
  19. 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
  20. 25 Sep, 2020 1 commit