openfoam/applications/utilities/preProcessing
Mark Olesen a8d2ebf298 ENH: cleanup wordRe interfaces etc.
- ensure that the string-related classes have consistently similar
  matching methods. Use operator()(const std::string) as an entry
  point for the match() method, which makes it easier to use for
  filters and predicates. In some cases this will also permit using
  a HashSet as a match predicate.

regExp
====
- the set method now returns a bool to signal that the requested
  pattern was compiled.

wordRe
====
- have separate constructors with the compilation option (was previously
  a default parameter). This leaves the single parameter constructor
  explicit, but the two parameter version is now non-explicit, which
  makes it easier to use when building lists.

- renamed compile-option from REGEX (to REGEXP) for consistency with
  with the <regex.h>, <regex> header names etc.

wordRes
====
- renamed from wordReListMatcher -> wordRes. For reduced typing and
  since it behaves as an entity only slightly related to its underlying
  list nature.

- Provide old name as typedef and include for code transition.

- pass through some list methods into wordRes

hashedWordList
====
- hashedWordList[const word& name] now returns a -1 if the name is is
  not found in the list of indices. That has been a pending change
  ever since hashedWordList was generalized out of speciesTable
  (Oct-2010).

- add operator()(const word& name) for easy use as a predicate

STYLE: adjust parameter names in stringListOps

- reflect if the parameter is being used as a primary matcher, or the
  matcher will be derived from the parameter.
  For example,
      (const char* re), which first creates a regExp
      versus (const regExp& matcher) which is used directly.
2017-05-16 23:54:43 +02:00
..
applyBoundaryLayer ENH: applyBoundaryLayer - simplified setting of internal velocity field 2016-11-02 13:06:53 +00:00
boxTurb COMP: update lnInclude directories when building (issue #364) 2016-12-22 11:26:29 +01:00
changeDictionary GIT: Initial state after latest Foundation merge 2016-09-20 14:49:08 +01:00
createExternalCoupledPatchGeometry COMP: Multiple changes - first clean build after latest merge - UNTESTED 2016-09-23 15:36:53 +01:00
createZeroDirectory ENH: cleanup wordRe interfaces etc. 2017-05-16 23:54:43 +02:00
dsmcInitialise ENH: (further) Doxygen documentation updates for module support 2016-06-27 20:34:19 +01:00
engineSwirl ENH: (further) Doxygen documentation updates for module support 2016-06-27 20:34:19 +01:00
faceAgglomerate BUG: Corrected coding error 2016-12-14 15:27:39 +00:00
foamUpgradeCyclics GIT: Initial state after latest Foundation merge 2016-09-20 14:49:08 +01:00
mapFields STYLE: use MUST_READ consistently for decomposeParDict 2016-11-24 11:26:03 +01:00
mapFieldsPar GIT: Initial state after latest Foundation merge 2016-09-20 14:49:08 +01:00
mdInitialise ENH: (further) Doxygen documentation updates for module support 2016-06-27 20:34:19 +01:00
setFields MRG: Integrated foundation code 2016-12-12 12:10:29 +00:00
viewFactorsGen STYLE: use initializer_list syntax when building system command 2017-03-10 10:34:37 +01:00
wallFunctionTable BUG: missing chdir in Allwclean for wallFunctionTable 2017-02-23 01:07:10 +01:00