- can use 'XX.empty()' instead of 'XX.size() == 0', 'XX.size() < 1' or
'XX.size() <= 0' or for simpler coding.
It also has the same number of characters as '!XX.size()' and /might/ be
more readable
- many size checking had 'XX.size() > 0', 'XX.size() != 0', or 'XX.size() >= 1'
when a simple 'XX.size()' suffices
- 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.
- added boundBox(const tmp<pointField>&) constructor for use with
coordinate systems
- moved some methods from treeBoundBox to boundBox and use VectorSpace ops
renamed genBlockMesh.C -> blockMeshApp.C for the -doc option
Followed Eugene's suggestions and moved blockMeshDict out of polyMesh/.
Rationale:
blockMeshDict is not a polyMesh or part of a polyMesh, thus it doesn't
really belong in the polyMesh/ dir anyhow. Moving it to constant/ or
constant/<region>/ improves the overview and eases cleanup of polyMesh/ as
well. For compatibility, constant/polyMesh/ or constant/<region>/polyMesh/
will be searched if the new locations fail.