
.. 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 ufc_signature()

    Return UFC signature string


.. cpp:function:: std::string git_commit_hash()

    Return git changeset hash (returns "unknown" if changeset is
    not known)


.. cpp:function:: std::size_t sizeof_la_index()

    Return sizeof the dolfin::la_index type


.. 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_slepc()

    Return true if DOLFIN is compiled with SLEPc


.. cpp:function:: bool has_scotch()

    Return true if DOLFIN is compiled with Scotch


.. 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_vtk()

    Return true if DOLFIN is compiled with VTK


