1. 17 Jun, 2020 1 commit
  2. 14 May, 2020 1 commit
  3. 04 May, 2020 1 commit
  4. 28 Apr, 2020 1 commit
  5. 03 Apr, 2020 1 commit
    • Mark Olesen's avatar
      ENH: add low-level handling for abaqus files (#1600) · 497cdb50
      Mark Olesen authored
      - reads/write shell elements
        Output elements are "bunched" according to type and their set
        without reordering.
      
      - preliminary reading of solids without extraction.
        Handling of *Surface specifications is not implemented
      497cdb50
  6. 27 Feb, 2020 1 commit
    • Mark Olesen's avatar
      ENH: improvements for nastran surface writer (#1571) · b476dd92
      Mark Olesen authored
      - avoid face copying.
        Maintain separate offsets/list for non tri/quad face decomposition,
        which eliminates copying for tri/quad types that represent the bulk
        of geometries
      
      - report inappropriate use of PLOAD2 for higher-ranks only once per
        field instead of per face.  For this case, write its magnitude
        instead of 0.
      
      - perform field output scaling prior to calling the write face
        function. This will make it easier to handle different per-field
        scaling in the future (#1612)
      
      BUG: nastran quad written as "CTRIA3" instead of "CQUAD4"
      b476dd92
  7. 26 Feb, 2020 1 commit
  8. 18 Feb, 2020 5 commits
    • Mark Olesen's avatar
      ENH: support use of IOstreamOption for IFstream/OFstream · e3f681fa
      Mark Olesen authored
      - can be convenient to bundle IO options as a single parameter
      e3f681fa
    • Mark Olesen's avatar
      9ee870e0
    • Mark Olesen's avatar
      STYLE: adjust names, locations for fileFormats · 4307e171
      Mark Olesen authored
      - renamed 'core/' -> 'base/' to avoid gitignore masking when re-adding
        files
      
      - rename 'nas/' to 'nastran/' for more clarity
      
      - relocated OBJstream from surfMesh to fileFormats
      
      STYLE: remove unused parseNASCoord. Was deprecated 2017-09
      4307e171
    • Mark Olesen's avatar
      ENH: overhaul ensight handling (#1579) · a9762812
      Mark Olesen authored
      - includes restructuring and simplification of low-level ensight part
        handling and refactor of backends to improve code reuse.
      
      foamToEnsight
      -------------
      
        * new cellZone support.
          This was previously only possible via a separate foamToEnsightParts
          utility that was not parallelized.
      
        * support for point fields.
      
        * `-nearCellValue` option (as per foamToVTK)
      
        * data indexing now uses values from the time index.
          This is consistent with the ensightWrite function object and
          can help with restarts.
      
        * existing ensight directories are removed, unless the -no-overwrite
          option is supplied
      
      foamToEnsightParts
      ------------------
        * now redundant and removed.
      
      ensightOutputSurface (new class)
      --------------------------------
        * a lightweight wrapper for point/face references that is tailored
          for the ensightSurfaceWriter. It uses compact face/point information
          and is serial only, since this is the format requirements from the
          surfaceWriter class.
      
      ensightMesh (revised class)
      ---------------------------
        * now only holds a polyMesh reference, which removes its dependency
          on finiteVolume and allows it to be relocated under fileFormats
          instead of conversion.
      
      Removed classes: ensightParts, ensighPartFaces, ensightPartCells
      
      - these were used by foamToEnsightParts, but not needed anymore.
      a9762812
    • Mark Olesen's avatar
      ENH: improve ensightFile output support (#1579) · c7e8f22b
      Mark Olesen authored
      - indirect lists, lists of labels
      - writeString() methods to avoid any ambiguities
      
      - support handling of mixed element/node data in ensightCase
      c7e8f22b
  9. 31 Jan, 2020 1 commit
    • Mark Olesen's avatar
      COMP: avoid -Wstringop-truncation warning · d3bcc71b
      Mark Olesen authored
      - the gcc c++/9 includes now inline strncpy, which obliterates
        the previous method of suppressing the warning.
        Now simply allocate additional space for the nul character.
      
      COMP: silence some icc warnings
      d3bcc71b
  10. 28 Jan, 2020 1 commit
    • Mark Olesen's avatar
      ENH: adjust wrapping routines for new vtkCellArray definition · 9338f0b8
      Mark Olesen authored
      - the vtkCellArray internal structure was still largely oriented on
        the VTK legacy format, but has now been revised.
        https://gitlab.kitware.com/vtk/vtk/merge_requests/5682
      
        The `VTK_CELL_ARRAY_V2` define from vtkCellArray.h indicates
        that the newer version is being used.
      
      * In VTK-8.2.0 and older, sizes are interwoven (prefixed) in the
        connectivity.
      
        Connectivity: [n1, verts..., n2, verts... ]
      
        When using these in vtkUnstructuredGrid, also needed a secondary
        list of offsets for each of the starting locations.
      
      * The update version now resembles a CompactListList. For example
      
        Connectivity: [verts..., verts... ]
        Offsets:      [0, n1, n1+n2, n1+n2+n3... ]
      
        The offsets are properly handled within vtkCellArray, and dropped as
        an additional input for vtkUnstructuredGrid.
      9338f0b8
  11. 23 Jan, 2020 1 commit
    • Mark Olesen's avatar
      ENH: stream adjustments · 0ff02713
      Mark Olesen authored
      - make stream constructors explicit
      
      - remove "using std::ifstream", "using std::iofstream" statements
        for a cleaner namespace.
      
      * copy/move assignments for ITstream
      
      * IStringStream: default construct and construct from std::string
        instead of Foam::string
      
      - reduce some overhead in masterOFstream
      
      - simplify Pstream handling of string variants (#1525)
      0ff02713
  12. 16 Jan, 2020 1 commit
  13. 15 Dec, 2019 1 commit
  14. 14 Dec, 2019 1 commit
  15. 10 Dec, 2019 1 commit
  16. 25 Nov, 2019 1 commit
    • Mark Olesen's avatar
      BUG: ensightReadFile ignores binary string limits (#1511) · 29faf6da
      Mark Olesen authored
      ENH: downgrade error on type-mismatch to a warning
      
      - Ensight data files generated by OpenFOAM will start with the name of
        the data type (Eg, "scalar", "vector" etc), but this convention may
        fail for data files that have been generated elsewhere.
      29faf6da
  17. 13 Nov, 2019 1 commit
  18. 11 Nov, 2019 1 commit
    • Mark Olesen's avatar
      ENH: rationalize some string methods. · 7c1190f0
      Mark Olesen authored
      - silently deprecate 'startsWith', 'endsWith' methods
        (added in 2016: 2b143606), in favour of
        'starts_with', 'ends_with' methods, corresponding to C++20 and
        allowing us to cull then in a few years.
      
      - handle single character versions of starts_with, ends_with.
      
      - add single character version of removeEnd and silently deprecate
        removeTrailing which did the same thing.
      
      - drop the const versions of removeRepeated, removeTrailing.
        Unused and with potential confusion.
      
      STYLE: use shrink_to_fit(), erase()
      7c1190f0
  19. 31 Oct, 2019 1 commit
  20. 06 Nov, 2019 1 commit
  21. 29 Oct, 2019 1 commit
  22. 08 Oct, 2019 1 commit
  23. 02 Oct, 2019 1 commit
  24. 16 Aug, 2019 1 commit
  25. 14 Aug, 2019 1 commit
  26. 12 Jul, 2019 1 commit
  27. 11 Jul, 2019 1 commit
  28. 08 Jul, 2019 1 commit
  29. 05 Jun, 2019 1 commit
  30. 31 May, 2019 1 commit
  31. 06 May, 2019 1 commit
  32. 28 Apr, 2019 1 commit
  33. 19 Mar, 2019 2 commits
  34. 14 Feb, 2019 1 commit
    • Mark Olesen's avatar
      ENH: ensure self-assignment and self-swapping are a no-op for string types · 60c31415
      Mark Olesen authored
      - simplifies their use when reordering lists etc.
        (word, fileName, keyType, wordRe)
      
      - "unfriend" IO operators for string types. They require no internal access
      
      - add compile/uncompile methods to keyType for symmetry with wordRe
      
      - when outputting keyType/wordRe, be more explicit about them using
        writeQuoted()
      60c31415
  35. 13 Feb, 2019 1 commit