Loading...
Searching...
No Matches
defines.h
// Copyright (C) 2009-2011 Johan Hake
//
// This file is part of DOLFIN.
//
// DOLFIN 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.
//
// DOLFIN 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 DOLFIN. If not, see <http://www.gnu.org/licenses/>.
//
// Modified by Anders Logg, 2011
// Modified by Garth N. Wells, 2013
//
// First added: 2009-09-03
// Last changed: 2014-08-11
#ifndef __DOLFIN_DEFINES_H
#define __DOLFIN_DEFINES_H
#include <string>
namespace dolfin
{
std::string dolfin_version();
std::string ufc_signature();
std::string git_commit_hash();
std::size_t sizeof_la_index();
bool has_debug();
bool has_openmp();
bool has_mpi();
bool has_petsc();
bool has_slepc();
bool has_scotch();
bool has_sundials();
bool has_umfpack();
bool has_cholmod();
bool has_parmetis();
bool has_zlib();
bool has_hdf5();
bool has_hdf5_parallel();
}
#endif
dolfin
Definition adapt.h:30
dolfin::has_petsc
bool has_petsc()
Return true if DOLFIN is compiled with PETSc.
Definition defines.cpp:83
dolfin::has_mpi
bool has_mpi()
Return true if DOLFIN is compiled with MPI.
Definition defines.cpp:74
dolfin::ufc_signature
std::string ufc_signature()
Return UFC signature string.
Definition defines.cpp:41
dolfin::has_parmetis
bool has_parmetis()
Return true if DOLFIN is compiled with ParMETIS.
Definition defines.cpp:137
dolfin::has_scotch
bool has_scotch()
Return true if DOLFIN is compiled with Scotch.
Definition defines.cpp:101
dolfin::has_sundials
bool has_sundials()
Return true if DOLFIN is compiled with SUNDIALS.
Definition defines.cpp:110
dolfin::has_slepc
bool has_slepc()
Return true if DOLFIN is compiled with SLEPc.
Definition defines.cpp:92
dolfin::has_debug
bool has_debug()
Definition defines.cpp:56
dolfin::git_commit_hash
std::string git_commit_hash()
Definition defines.cpp:46
dolfin::has_openmp
bool has_openmp()
Return true if DOLFIN is compiled with OpenMP.
Definition defines.cpp:65
dolfin::dolfin_version
std::string dolfin_version()
Return DOLFIN version string.
Definition defines.cpp:36
dolfin::sizeof_la_index
std::size_t sizeof_la_index()
Return sizeof the dolfin::la_index type.
Definition defines.cpp:51
dolfin::has_hdf5
bool has_hdf5()
Return true if DOLFIN is compiled with HDF5.
Definition defines.cpp:155
dolfin::has_cholmod
bool has_cholmod()
Return true if DOLFIN is compiled with Cholmod.
Definition defines.cpp:128
dolfin::has_zlib
bool has_zlib()
Return true if DOLFIN is compiled with ZLIB.
Definition defines.cpp:146
dolfin::has_hdf5_parallel
bool has_hdf5_parallel()
Return true if DOLFIN is compiled with Parallel HDF5.
Definition defines.cpp:164
dolfin::has_umfpack
bool has_umfpack()
Return true if DOLFIN is compiled with Umfpack.
Definition defines.cpp:119