Note: this is documentation for an old release. View the latest documentation at docs.fenicsproject.org/dolfinx/v0.9.0/cpp/doxygen/d8/db0/defines_8h_source.html
DOLFINx 0.7.3
DOLFINx C++ interface
Loading...
Searching...
No Matches
defines.h
1// Copyright (C) 2009-2011 Johan Hake
2//
3// This file is part of DOLFINx (https://www.fenicsproject.org)
4//
5// SPDX-License-Identifier: LGPL-3.0-or-later
6
7#pragma once
8
9#include <string>
10
11namespace dolfinx
12{
13
15std::string version();
16
18std::string ufcx_signature();
19
22std::string git_commit_hash();
23
26bool has_debug();
27
29bool has_slepc();
30
33
35bool has_parmetis();
36
38bool has_kahip();
39
41bool has_adios2();
42
43} // namespace dolfinx
Top-level namespace.
Definition defines.h:12
bool has_scotch()
Return true if DOLFINx is compiled with Scotch.
bool has_adios2()
Return true if DOLFINX is compiled with ADIOS2.
Definition defines.cpp:55
bool has_slepc()
Return true if DOLFINx is compiled with SLEPc.
Definition defines.cpp:28
bool has_kahip()
Return true if DOLFINx is compiled with KaHIP.
Definition defines.cpp:46
bool has_parmetis()
Return true if DOLFINx is compiled with ParMETIS.
Definition defines.cpp:37
std::string git_commit_hash()
Return git changeset hash (returns "unknown" if changeset is not known)
Definition defines.cpp:14
std::string ufcx_signature()
Return UFC signature string.
Definition defines.cpp:12
bool has_debug()
Return true if DOLFINx is compiled in debugging mode, i.e., with assertions on.
Definition defines.cpp:19
std::string version()
Return DOLFINx version string.
Definition defines.cpp:10