Cabana 0.8.0-dev
 
Loading...
Searching...
No Matches
Cabana_Version.hpp
Go to the documentation of this file.
1/****************************************************************************
2 * Copyright (c) 2018-2023 by the Cabana authors *
3 * All rights reserved. *
4 * *
5 * This file is part of the Cabana library. Cabana is distributed under a *
6 * BSD 3-clause license. For the licensing terms see the LICENSE file in *
7 * the top-level directory. *
8 * *
9 * SPDX-License-Identifier: BSD-3-Clause *
10 ****************************************************************************/
11
16#ifndef CABANA_VERSION_HPP
17#define CABANA_VERSION_HPP
18
19#include <Cabana_Core_Config.hpp>
20
21#include <string>
22
23namespace Cabana
24{
25
27inline std::string version() { return Cabana_VERSION_STRING; }
28
30inline std::string git_commit_hash() { return Cabana_GIT_COMMIT_HASH; }
31
32} // end namespace Cabana
33
34#endif // end CABANA_VERSION_HPP
Core: particle data structures and algorithms.
Definition Cabana_AoSoA.hpp:36
std::string version()
Cabana version.
Definition Cabana_Version.hpp:27
std::string git_commit_hash()
Cabana git hash.
Definition Cabana_Version.hpp:30