diff --git a/src/OpenFOAM/global/foamVersion.H b/src/OpenFOAM/global/foamVersion.H index ada9b64dd8..e85cc06bfa 100644 --- a/src/OpenFOAM/global/foamVersion.H +++ b/src/OpenFOAM/global/foamVersion.H @@ -21,12 +21,6 @@ License You should have received a copy of the GNU General Public License along with OpenFOAM. If not, see . -Namespace - Foam - -Description - Namespace for OpenFOAM - Global Foam::FOAMversion @@ -61,6 +55,7 @@ SourceFiles #ifndef foamVersion_H #define foamVersion_H +#include "stdFoam.H" #include // The directory name for user-resources (located in the HOME directory) @@ -73,12 +68,6 @@ namespace Foam extern const char* const FOAMversion; extern const char* const FOAMbuild; extern const std::string FOAMbuildArch; - - //- Implementation details of various OpenFOAM classes - namespace Detail {} - - //- Additional OpenFOAM modules - namespace Module {} } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/src/OpenFOAM/include/stdFoam.H b/src/OpenFOAM/include/stdFoam.H index a06f6dd457..f46df5febf 100644 --- a/src/OpenFOAM/include/stdFoam.H +++ b/src/OpenFOAM/include/stdFoam.H @@ -25,7 +25,7 @@ Namespace stdFoam Description - Some global templates and macros used by OpenFOAM and some standard + Global templates and macros used by OpenFOAM and some standard C++ headers. Some of the templates defined here correspond to useful @@ -61,6 +61,17 @@ SeeAlso // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +//- Namespace for OpenFOAM +namespace Foam +{ + //- Implementation details for various OpenFOAM classes + namespace Detail {} + + //- Additional OpenFOAM modules + namespace Module {} +} + + namespace stdFoam { @@ -224,7 +235,7 @@ constexpr inline const T& max(const T& a, const T& b) ) -//- Rverse iterate across elements in the \a container object of type +//- Reverse iterate across elements in the \a container object of type // \a Container. // \par Usage // \code