Added #ifdef uses to avoid version dependency
A new member function was added to the dynamicRefineFvMeshHexRef4 class
to support the #ifdef, which allows the necessary (base) function to be
overloaded to track the available (base) function as a derived function
Added a compile-time -D option to the wmake options file
The option compares the 2.3.0 environment variable
with the number 2.3.0, and defines the variable 'NOT_OF_230' if
the two do not match
Minor changes
Mainly formatting changes to conform a little more with the Style Guide
provided by the OpenFOAM website
Changes made to use #ifndef to reduce version dependency
Inclusion of #ifndef #endif blocks used to allow for the change
between OF-2.2.X and OF-2.3.0 regarding the 'phases' in
the transportProperties file, from 'alpha1' to 'alpha.water' etc.
Note that whilst this should always be an improvement, a user with
a phase not called 'water' will still have to change it, if they are
using OF-2.3.0 (this is the same behaviour as before this change)
New style (similar but slightly more abstracted) of version dependent code
Necessary changes are now moved into a VersionCompat_xyz.H file, so that they can be edited separately as needed. Macro definitions are used to pass parameters to the classes that require them. Care will need to be taken to either a) always define the macros, or b) ensure the error message on '/home/christian/OpenFOAM/christian-2.3.0/platforms/linux64GccDPOpt/lib/libmyDynamicMesh.so' is up to date. is clear as to the problem, if they are not defined.
At present, OpenFOAM versions older than 2.0.0 will not have anything defined, and so compilation will fail. I suspect that the lower limit is much lower, and so probably the <2.3.0 defines can be used for a larger range of version numbers than just 2.0.0 -> 2.2.2
Merged the version-dependent files to make the library work with OpenFOAM versions older than 2.3.0