dummyMGridGen.C
Go to the documentation of this file.
1/*---------------------------------------------------------------------------*\
2 ========= |
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4 \\ / O peration |
5 \\ / A nd | www.openfoam.com
6 \\/ M anipulation |
7-------------------------------------------------------------------------------
8 Copyright (C) 2011-2015 OpenFOAM Foundation
9 Copyright (C) 2019 OpenCFD Ltd.
10-------------------------------------------------------------------------------
11License
12 This file is part of OpenFOAM.
13
14 OpenFOAM is free software: you can redistribute it and/or modify it
15 under the terms of the GNU General Public License as published by
16 the Free Software Foundation, either version 3 of the License, or
17 (at your option) any later version.
18
19 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26
27\*---------------------------------------------------------------------------*/
28
29//extern "C"
30//{
31#include "mgridgen.h"
32//}
33
34#include "error.H"
35
36using namespace Foam;
37
38// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
39
40static const char* notImplementedMessage =
41"Attempted use <MGridGen> without the MGridGen library loaded.\n"
42"This message is from the dummy MGridGen stub library instead.\n\n"
43"Please install <MGridGen> and ensure libMGridGen.so is in LD_LIBRARY_PATH.\n";
44
45#ifdef __cplusplus
46extern "C"
47#endif
48void MGridGen(int, idxtype *, realtype *, realtype *, idxtype *, realtype *,
49 int, int, int *, int *, int *, idxtype *)
50{
54}
55
56
57// ************************************************************************* //
static const char * notImplementedMessage
Definition: dummyMGridGen.C:40
void MGridGen(int, int *, Foam::scalar *, Foam::scalar *, int *, Foam::scalar *, int, int, int *, int *, int *, int *)
Definition: dummyMGridGen.C:48
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Definition: error.H:453
Namespace for OpenFOAM.
error FatalError
errorManipArg< error, int > exit(error &err, const int errNo=1)
Definition: errorManip.H:130