1 /// Copyright (c) 2017-2022, 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 10 /// precision) for CeedScalar. This is the default header included in ceed/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/ceed.h 15 /// for all options.) 16 #define CEED_SCALAR_TYPE CEED_SCALAR_FP64 17 typedef double CeedScalar; 18 19 /// Machine epsilon 20 #define CEED_EPSILON 1e-16 21 22 #endif 23