openfoam/applications
Mark Olesen 3b9176665f ENH: add dictionary::findStream() - symmetric with findDict()
- can be used with this type of code:

  ITstream* streamPtr = dict.findStream(name);
  if (streamPtr)
  {
      auto& is = *streamPtr;
      ...
  }

  versus:

  const entry* eptr = dict.findEntry(name);
  if (eptr && eptr->isStream())
  {
      auto& is = eptr->stream();
      ...
  }

ENH: add findStream(), streamPtr(), isStream() to dictionary search

- symmetric with findDict(), dictPtr(), isDict() methods

STYLE: use findDict() instead of found() + subDict() pairing

COMP: define is_globalIOobject trait at top of IOobject header

- more visibility, permits reuse for specializations etc.
2024-05-23 13:51:53 +02:00
..
solvers ENH: fvMatrix, faMatrix: replace raw pointers with unique_ptr (#3107) 2024-03-05 18:13:59 +00:00
test ENH: add dictionary::findStream() - symmetric with findDict() 2024-05-23 13:51:53 +02:00
tools ENH: support field width for #eval expressions 2021-03-29 16:00:11 +02:00
utilities ENH: add dictionary::findStream() - symmetric with findDict() 2024-05-23 13:51:53 +02:00
Allwmake COMP: increment lemon sources, fix stray comment char (wmkdepend) 2022-05-11 09:53:58 +02:00