1. 03 Mar, 2021 2 commits
  2. 22 Feb, 2021 4 commits
  3. 19 Feb, 2021 1 commit
  4. 17 Feb, 2021 2 commits
  5. 16 Feb, 2021 8 commits
    • Kutalmis Bercin's avatar
      ENH: 'Math' namespace for mathematical functions · 66d1b54a
      Kutalmis Bercin authored
      - centralises existing functions (erfInv, incGamma*, invIncGamma*).
        Provides a location for additional functions in the future.
      
      - adjusted existing models to use these functions
        (e.g. distributionModels::normal)
      66d1b54a
    • Kutalmis Bercin's avatar
    • Mark Olesen's avatar
      CONFIG: relocate messageStream output level control to an InfoSwitch · 531e8ab6
      Mark Olesen authored
      - location and naming more consistent with other controls
      
          old: DebugSwitch  'level'
          new: InfoSwitch   'outputLevel'
      531e8ab6
    • Mark Olesen's avatar
      ENH: add HashPtrTable release method · b97cd5c3
      Mark Olesen authored
      - effectively 'steals' the pointer from the table but leaves its
        name as a placeholder
      b97cd5c3
    • Mark Olesen's avatar
      ENH: replace base implementation of Foam::Swap with std::swap · f8a0677a
      Mark Olesen authored
      - eliminates a potentially invalid code branch.
        Since it essentially had the same internals as std::swap anyhow,
        make that more evident.
      
      ENH: use std::swap for basic types
      
      - makes it clearer that they do not rely on any special semantics
      f8a0677a
    • Mark Olesen's avatar
      CONFIG: generate flat debian version name · 8c460d8e
      Mark Olesen authored
      8c460d8e
    • Mark Olesen's avatar
      COMP: include mpi information for versioned cmake build · f997013e
      Mark Olesen authored
      - since the wrapped cmake calls generally use the regular build
        locations, add in MPI information to properly handle changes
        in that as well. This makes it easier to build for multiple MPI
        instances.
      f997013e
    • Mark Olesen's avatar
      ENH: improve surfaceFieldValue sampling and writing (#1999) · 2954f55f
      Mark Olesen authored
      - ensure surface writing is time-step and nFields aware.
        This avoids overwriting (ignoring) previous output fields.
      
      - allow sampled surfaces to be used for weight fields as well.
        Not sure why this restriction was still there.
      
      - remove old compatibility reading of orientedFields.
        Last used in v1612, now removed.
      
      - only use face sampling. For surfaceFieldValue we can only do
        something meaningful with face values.
      
      ENH: modify interface methods for surfaceWriter
      
      - replace direct modification of values with setter methods.
        Eg,
           old: writer.isPointData() = true;
           new: writer.isPointData(true);
      
        This makes it possible to add internal hooks to catch state changes.
      
      ENH: allow post-construction change to sampledSurface interpolation
      
      - rename interpolate() method to isPointData() for consistency with
        other classes and to indicate that it is a query.
      
      - additional isPointData(bool) setter method to change the expected
        representation type after construction
      
      - remove 'interpolate' restriction on isoSurfacePoint which was
        previously flagged as an error but within sampledSurfaces can use
        sampleScheme cellPoint and obtain representative samples.
        Relax this restriction since this particular iso-surface algorithm
        is slated for removal in the foreseeable future.
      2954f55f
  6. 15 Feb, 2021 5 commits
  7. 10 Feb, 2021 5 commits
  8. 09 Feb, 2021 4 commits
  9. 08 Feb, 2021 2 commits
  10. 03 Feb, 2021 1 commit
  11. 28 Jan, 2021 2 commits
    • Andrew Heather's avatar
      ENH: surfaceFieldValue - set surface output info for run-time post-processing · 13152510
      Andrew Heather authored
      If the 'writeFields' option is set in surfaceFieldValue, e.g.
      
          surface1
          {
              type        surfaceFieldValue;
              libs        (fieldFunctionObjects);
              operation   none;
              fields      (p);
              regionType  patch;
              name        walls;
      
              // Create a surface in VTK format
              writeFields yes;
              surfaceFormat vtk;
          }
      
      ... the surface can now be used in runTimePostProcessing, e.g.:
      
          surfaces
          {
              surfaceFieldValueOutput
              {
                  type            functionObjectSurface;
                  representation  surface;
                  liveObject      no;
                  field           p;
                  colourBy        field;
                  range           (0 120000);
                  functionObject  surface1;
              }
          }
      
      Note: setting 'liveObject' to 'no' to suppress warnings due to the surface
      not being retrieved from the object registry (default = 'yes') - this surface
      can [currently] only be read from disk.
      13152510
    • Andrew Heather's avatar
      STYLE: minor doc update · 170d73f4
      Andrew Heather authored
      170d73f4
  12. 27 Jan, 2021 1 commit
  13. 26 Jan, 2021 3 commits