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.8.0
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_petsc();
30
32bool has_slepc();
33
36
38bool has_parmetis();
39
41bool has_kahip();
42
44bool has_adios2();
45
46} // namespace dolfinx
Top-level namespace.
Definition defines.h:12
bool has_petsc()
Return true if DOLFINx is compiled with PETSc.
Definition defines.cpp:28
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:64
bool has_slepc()
Return true if DOLFINx is compiled with SLEPc.
Definition defines.cpp:37
bool has_kahip()
Return true if DOLFINx is compiled with KaHIP.
Definition defines.cpp:55
bool has_parmetis()
Return true if DOLFINx is compiled with ParMETIS.
Definition defines.cpp:46
std::string git_commit_hash()
Definition defines.cpp:14
std::string ufcx_signature()
Return UFC signature string.
Definition defines.cpp:12
bool has_debug()
Definition defines.cpp:19
std::string version()
Return DOLFINx version string.
Definition defines.cpp:10