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 426
    • Issues 426
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Merge requests
  • !124

Feature dictionary scoping lvalue

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mark OLESEN requested to merge feature-dictionary-scoping-lvalue into develop Jul 10, 2017
  • Overview 8
  • Commits 8
  • Changes 33
  • Supports using '/' within dictionary scoping, which avoids the ambiguity of having a '.' which could mean scoping, or be part of a keyword.
  • General dictionary searcher classes/methods for clearer searching semantics and to enable addressing a dictionary entry as an lvalue.
  • The #remove directive now functions across scopes
  • Can specify a keyword with a defined scope. If needed, any intermediate dictionaries are created.

For example,

"/boundaryField/lowerWall/type"  noSlip;
"/boundaryField/newBoundary"  { type fixedValue; value uniform (0 0 0); }

Manage "one-shot" change of the inputMode. For example,

#includeIfPresent "user-files"
...
#default value uniform 10;

vs.

#includeIfPresent "user-files"
#inputMode protect
...
value uniform 10;
#inputMode merge    // _Assuming_ we actually had this before
Edited Oct 29, 2017 by Mark OLESEN
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature-dictionary-scoping-lvalue