- findAll() method returns a labelList of all matching names
- find() method returns the index to the first matching name
For example, use a regex to specify alternative coordinate systems
in porousZones
(
"cat1?(Back|Front)*"
{
coordinateSystem "(cat1|system_10)";
porosity 0.781;
...
}
)
- both versions handle the same input words.
Only need the <Switch> version when the destination variable is
also a Switch and we need to output the word later.
- coordinateSystem, cylindricalCS, sphericalCS:
get copy with name constructor
- cylindricalCS, sphericalCS:
can switch off default degrees
- dropped cartesianCS class (already covered by coordinateSystem) and just
always use coordinateSystem directly.
The dictionary runtime selection still accepts type "cartesian" as an alias,
to provide the least surprises.
- dropped runtime selection based on origin/axis/direction (not used), but
left runtime selection based on origin/coordinateRotation as still being
potentially useful.
- The capitalization is consistent with most other template classes, but
more importantly frees up xfer() for use as method name without needing
special treatment to avoid ambiguities.
It seems reasonable to have different names for transfer(...) and xfer()
methods, since the transfer is occuring in different directions.
The xfer() method can thus replace the recently introduced zero-parameter
transfer() methods.
Other name candidates (eg, yield, release, etc.) were deemed too abstract.