xref: /libCEED/include/ceed/ceed-f64.h (revision 5ebd836c59d60a2e5e1cb67f6731404c7da26f85)
1 /// Copyright (c) 2017-2024, Lawrence Livermore National Security, LLC and other CEED contributors.
2 /// All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
3 ///
4 /// SPDX-License-Identifier: BSD-2-Clause
5 ///
6 /// This file is part of CEED:  http://github.com/ceed
7 
8 /// @file
9 /// Public header for definitions related to using FP64 floating point (double precision) for CeedScalar.
10 /// This is the default header included in ceed.h.
11 #ifndef CEED_F64_H
12 #define CEED_F64_H
13 
14 /// Set base scalar type to FP64. (See CeedScalarType enum in ceed.h for all options.)
15 #define CEED_SCALAR_TYPE CEED_SCALAR_FP64
16 typedef double CeedScalar;
17 
18 /// Machine epsilon
19 #define CEED_EPSILON 1e-16
20 
21 #endif  // CEED_F64_H
22