DOLFIN-X
DOLFIN-X C++ interface
dolfinx
common
types.h
1
// Copyright (C) 2008-2019 Anders Logg and Garth N. Wells
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 <cstdint>
10
#include <petscsys.h>
11
12
// Typedefs for ufc_scalar
13
#ifdef PETSC_USE_COMPLEX
14
#include <complex>
15
using
ufc_scalar_t = std::complex<double>;
16
#else
17
using
ufc_scalar_t = double;
18
#endif
Generated by
1.9.1