Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 445
    • Issues 445
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Merge requests
  • !573

Feature updated core

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mark OLESEN requested to merge feature-updated-core into develop Nov 22, 2022
  • Overview 1
  • Commits 22
  • Changes 325
  • provide container methods such as front(), back(), push_back() etc that are commonly used in the STL containers. This should help with swapping code between OpenFOAM and other projects and (in the future) make the code easier to read for newcomers.
  • reduce the use of SLList in a few more places to avoid repeated memory allocations within loops
  • provide point/vector dist() and distSqr() methods for differences. This avoids intermediate variables and looping (should be more cache friendly).
  • new mesh access method cellBb to return the boundBox of a mesh cell. Uses cached cellPoints (if available) or calculates from the face points. Eliminates similar code fragments that were scattered about the code
  • improved functionality and efficiency for boundBox and treeBoundBox
  • more consistent naming and handling of indexedOctree and treeData components.

Changes were originally rolled into MR !568 (merged), but grew too large for that.

Edited Nov 22, 2022 by Mark OLESEN
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature-updated-core