Skip to content
  • Mark OLESEN's avatar
    ENH: additional PtrListOps to simplify gathering information · 5080d3cd
    Mark OLESEN authored
    - get: uses access operation to get values for each list item
      Example,
      PtrListOps::get(mesh.boundaryMesh(), nameOp<polyPatch>());
    
    - names: the name() of each list item filtered for matches
    
    - firstMatching: index of first item with a matching name()
    
    - findMatching: indices of items with a matching match name()
      Example,
      PtrListOps::findMatching(mesh.boundaryMesh(), wordRes( ... ));
    
    STYLE: deprecate transitional getNameOp, getTypeOp
    
    - use nameOp, typeOp (word.H) instead
    5080d3cd