/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | www.openfoam.com \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2018-2020 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. OpenFOAM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenFOAM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenFOAM. If not, see . Class Foam::Detail::dummy Description No useful purpose other than to use the wmake framework to generate a dummy library for testing/packaging purposes Note Pure C++ without any OpenFOAM classes or libraries. SourceFiles dummyLib.C \*---------------------------------------------------------------------------*/ #ifndef testing_dummyLib_H #define testing_dummyLib_H #include // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // namespace Foam { namespace Detail { /*---------------------------------------------------------------------------*\ Class dummyLib Declaration \*---------------------------------------------------------------------------*/ struct dummyLib { //- Compile-time value of WM_ARCH static const std::string arch; //- Compile-time value of WM_COMPILER static const std::string compiler; //- Compile-time of WM_PRECISION_OPTION static const std::string precision; //- Compile-time of WM_LABEL_SIZE static const int label_size; //- Compile-time equivalent to WM_PRECISION_OPTION static const int scalar_size; //- Compile-time equivalent to WM_PRECISION_OPTION static const int solveScalar_size; //- Compile-time value of WM_ARCH + WM_COMPILER static const std::string archComp; //- Compile-time value of WM_ARCH + WM_COMPILER, precision, label-size static const std::string archCompBase; //- DIY Compile-time value of WM_OPTIONS static const std::string archCompFull; //- Compiled/linked with mpi? static bool hasMPI(); //- Print ranks (trivial mpi test). Return true for master only. static bool printMPI(); }; // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // } // End namespace Detail } // End namespace Foam // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // #endif // ************************************************************************* //