.. Documentation for the header file dolfin/common/defines.h .. _programmers_reference_cpp_common_defines: defines.h ========= .. note:: The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded. .. cpp:function:: std::string dolfin_version() Return DOLFIN version string .. cpp:function:: std::string git_commit_hash() Return git changeset hash (returns "unknown" if changeset is not known) .. cpp:function:: bool has_openmp() Return true if DOLFIN is compiled with OpenMP .. cpp:function:: bool has_mpi() Return true if DOLFIN is compiled with MPI .. cpp:function:: bool has_petsc() Return true if DOLFIN is compiled with PETSc .. cpp:function:: bool has_petsc_snes() Return true if PETSc SNES is enabled .. cpp:function:: bool has_petsc_tao() Return true if PETSc TAO is enabled .. cpp:function:: bool has_slepc() Return true if DOLFIN is compiled with SLEPc .. cpp:function:: bool has_trilinos() Return true if DOLFIN is compiled with Trilinos .. cpp:function:: bool has_scotch() Return true if DOLFIN is compiled with Scotch .. cpp:function:: bool has_cgal() Return true if DOLFIN is compiled with CGAL .. cpp:function:: bool has_umfpack() Return true if DOLFIN is compiled with Umfpack .. cpp:function:: bool has_cholmod() Return true if DOLFIN is compiled with Cholmod .. cpp:function:: bool has_parmetis() Return true if DOLFIN is compiled with ParMETIS .. cpp:function:: bool has_zlib() Return true if DOLFIN is compiled with ZLIB .. cpp:function:: bool has_hdf5() Return true if DOLFIN is compiled with HDF5 .. cpp:function:: bool has_exodus() Return true if DOLFIN is compiled with Exodus