LAMMP 4.1.0
Lamina High-Precision Arithmetic Library
载入中...
搜索中...
未找到
version.h
浏览该文件的文档.
1/*
2 * [LAMMP]
3 * Copyright (C) [2025-2026] [HJimmyK(Jericho Knox)]
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Lesser General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this program. If not, see <https://www.gnu.org/licenses/>.
17 */
18
19#ifndef __LAMMP_VERSION_H__
20#define __LAMMP_VERSION_H__
21
22#ifdef __clang__
23#define LAMMP_COMPILER "Clang C++"
24#define LAMMP_COMPILER_VERSION 4
25#elif defined(__GNUC__)
26#define LAMMP_COMPILER "GNU C++"
27#define LAMMP_COMPILER_VERSION 1
28#elif defined(_MSC_VER)
29#define LAMMP_COMPILER "Microsoft Visual C++"
30#define LAMMP_COMPILER_VERSION 2
31#elif defined(__INTEL_COMPILER)
32#define LAMMP_COMPILER "Intel C++"
33#define LAMMP_COMPILER_VERSION 3
34#else
35#define LAMMP_COMPILER "Unknown"
36#define LAMMP_COMPILER_VERSION 0
37#endif
38
39#define LAMMP_VERSION "4.1.0"
40#define LAMMP_ALPHA_YEAR "2026"
41
42#endif /* __LAMMP_VERSION_H__ */