Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93936089
aka_config.hh.in
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Dec 2, 15:49
Size
3 KB
Mime Type
text/x-c
Expires
Wed, Dec 4, 15:49 (2 d)
Engine
blob
Format
Raw Data
Handle
22503709
Attached To
rAKA akantu
aka_config.hh.in
View Options
/**
* @file aka_config.hh.in
*
* @author Nicolas Richart <nicolas.richart@epfl.ch>
*
* @date creation: Sun Sep 26 2010
* @date last modification: Thu Jan 25 2018
*
* @brief Compilation time configuration of Akantu
*
*
* Copyright (©) 2010-2018 EPFL (Ecole Polytechnique Fédérale de Lausanne)
* Laboratory (LSMS - Laboratoire de Simulation en Mécanique des Solides)
*
* Akantu is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
*
* Akantu 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 Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Akantu. If not, see <http://www.gnu.org/licenses/>.
*
*/
/* -------------------------------------------------------------------------- */
#include <string_view>
/* -------------------------------------------------------------------------- */
#ifndef AKANTU_AKA_CONFIG_HH_
#define AKANTU_AKA_CONFIG_HH_
// clang-format off
#define AKANTU_VERSION_MAJOR @AKANTU_MAJOR_VERSION@
#define AKANTU_VERSION_MINOR @AKANTU_MINOR_VERSION@
#define AKANTU_VERSION_PATCH @AKANTU_PATCH_VERSION@
#define AKANTU_VERSION_PRERELEASE "@AKANTU_PRERELEASE_VERSION@"
#define AKANTU_VERSION (AKANTU_VERSION_MAJOR * 10000 \
+ AKANTU_VERSION_MINOR * 100 \
+ AKANTU_VERSION_PATCH)
namespace akantu {
std::string_view getVersion();
}
@AKANTU_TYPES_EXTRA_INCLUDES@
namespace akantu {
using Real = @AKANTU_FLOAT_TYPE@;
using Int = @AKANTU_SIGNED_INTEGER_TYPE@;
using Idx = @AKANTU_SIGNED_INTEGER_TYPE@;
using UInt = @AKANTU_UNSIGNED_INTEGER_TYPE@;
} // akantu
#define AKANTU_INTEGER_SIZE @AKANTU_INTEGER_SIZE@
#define AKANTU_FLOAT_SIZE @AKANTU_FLOAT_SIZE@
// clang-format on
#cmakedefine AKANTU_CAN_COMPILE_CONSTEXPR_MAP
#cmakedefine AKANTU_HAS_GNU_UNLIKELY
#cmakedefine AKANTU_HAS_BUILTIN_EXPECT
#if defined(AKANTU_HAS_GNU_UNLIKELY)
#define AKANTU_UNLIKELY(x) (x) [[gnu::unlikely]]
#elif defined(AKANTU_HAS_BUILTIN_EXPECT)
#define AKANTU_UNLIKELY(x) (__builtin_expect(!!(x), 0))
#else
#define AKANTU_UNLIKELY(x) (x)
#endif
#cmakedefine AKANTU_PARALLEL
#cmakedefine AKANTU_USE_MPI
#cmakedefine AKANTU_USE_SCOTCH
#cmakedefine AKANTU_USE_PTSCOTCH
#cmakedefine AKANTU_SCOTCH_NO_EXTERN
#cmakedefine AKANTU_IMPLICIT
#cmakedefine AKANTU_USE_MUMPS
#cmakedefine AKANTU_USE_PETSC
#cmakedefine AKANTU_USE_PYBIND11
#cmakedefine AKANTU_EXTRA_MATERIALS
#cmakedefine AKANTU_STUDENTS_EXTRA_PACKAGE
#cmakedefine AKANTU_DAMAGE_NON_LOCAL
#cmakedefine AKANTU_SOLID_MECHANICS
#cmakedefine AKANTU_STRUCTURAL_MECHANICS
#cmakedefine AKANTU_DIFFUSION
#cmakedefine AKANTU_PHASE_FIELD
#cmakedefine AKANTU_COHESIVE_ELEMENT
#cmakedefine AKANTU_CONTACT_MECHANICS
#cmakedefine AKANTU_MODEL_COUPLERS
#cmakedefine AKANTU_IGFEM
#cmakedefine AKANTU_EMBEDDED
// clang-format off
// Debug tools
//#cmakedefine AKANTU_NDEBUG
#cmakedefine AKANTU_DEBUG_TOOLS
#cmakedefine READLINK_COMMAND @READLINK_COMMAND@
#cmakedefine ADDR2LINE_COMMAND @ADDR2LINE_COMMAND@
// clang-format on
#endif /* AKANTU_AKA_CONFIG_HH_ */
Event Timeline
Log In to Comment