Skip to content
Snippets Groups Projects
Commit 72f7d46f authored by Mark Olesen's avatar Mark Olesen
Browse files

ENH: add operator[](const word&) as "find-by-name" to some classes

- affected: polyBoundary, fvBoundaryMesh, ZoneMesh, searchableSurfaces

  before:
      const label zoneI = mesh.cellZones().findZoneID(zoneName);
      const cellZone& cz = mesh.cellZones()[zoneI];
  after:
      const cellZone& cz = mesh.cellZones()[zoneName];
parent 845314b2
Branches
Tags
No related merge requests found
Showing
with 238 additions and 158 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment