twoPhaseEulerFoam:frictionalStressModel/Schaeffer: Correct mut on processor boundaries
[OpenFOAM-1.7.x.git] / src / OpenFOAM / global / global.Cver
blobbc764d64b98b4c35be2a8b6136dfd5fe8587d6fc
1 /*-------------------------------*- C++ -*-----------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
9     This file is part of OpenFOAM.
11     OpenFOAM is free software: you can redistribute it and/or modify it
12     under the terms of the GNU General Public License as published by
13     the Free Software Foundation, either version 3 of the License, or
14     (at your option) any later version.
16     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
19     for more details.
21     You should have received a copy of the GNU General Public License
22     along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
24 Description
25     Define the globals used in the OpenFOAM library.
26     It is important that these are constructed in the appropriate order to
27     avoid the use of unconstructed data in the global namespace.
29     This file has the extension .Cver to trigger a Makefile rule that converts
30     'VERSION\_STRING' and 'BUILD\_STRING' into the appropriate strings.
32 \*---------------------------------------------------------------------------*/
34 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
35 #include "foamVersion.H"
37 const char* const Foam::FOAMversion = "VERSION_STRING";
38 const char* const Foam::FOAMbuild = "BUILD_STRING";
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
41 // Setup an error handler for the global new operator
43 #include "new.C"
45 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46 // Global IO streams
48 #include "IOstreams.C"
50 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
52 #include "JobInfo.H"
53 bool Foam::JobInfo::constructed(false);
55 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
56 // Global error definitions (initialised by construction)
58 #include "messageStream.C"
59 #include "error.C"
60 #include "IOerror.C"
61 #include "token.C"
63 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
64 // Read the debug and info switches
66 #include "debug.C"
68 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
69 // Read and set cell models
71 #include "globalCellModeller.C"
73 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
74 // Create the jobInfo file in the $FOAM_JOB_DIR/runningJobs directory
76 #include "JobInfo.C"
78 // ************************************************************************* //