• Mark Olesen's avatar
    ENH: refactored regIOobject searching in object registry · 6d6f43d7
    Mark Olesen authored
    - The findObject() methods are template-typed and used to locate a
      particular Type/name combination.
          volScalarField* ptr = obr.findObject<volScalarField>("xyz");
    - The findIOobject() methods are un-typed and use the name only.
          regIOobject* ptr = obr.findIOobject("xyz");
    The typed versions will be most commonly used, but the un-typed lookup
    can be useful in a templating.
    - Simplified findObject* methods to use findIOobject* as the backend.
objectRegistryTemplates.C 10.4 KB