1*c9c2c079SJeremy L Thompson /// Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors. 2*c9c2c079SJeremy L Thompson /// All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 3*c9c2c079SJeremy L Thompson /// 4*c9c2c079SJeremy L Thompson /// SPDX-License-Identifier: BSD-2-Clause 5*c9c2c079SJeremy L Thompson /// 6*c9c2c079SJeremy L Thompson /// This file is part of CEED: http://github.com/ceed 780a9ef05SNatalie Beams 880a9ef05SNatalie Beams /// @file 980a9ef05SNatalie Beams /// Public header for definitions related to using FP64 floating point (double 1080a9ef05SNatalie Beams /// precision) for CeedScalar. This is the default header included in ceed/ceed.h. 1180a9ef05SNatalie Beams #ifndef _ceed_f64_h 1280a9ef05SNatalie Beams #define _ceed_f64_h 1380a9ef05SNatalie Beams 1480a9ef05SNatalie Beams /// Set base scalar type to FP64. (See CeedScalarType enum in ceed/ceed.h 1580a9ef05SNatalie Beams /// for all options.) 1680a9ef05SNatalie Beams #define CEED_SCALAR_TYPE CEED_SCALAR_FP64 1780a9ef05SNatalie Beams typedef double CeedScalar; 1880a9ef05SNatalie Beams 1980a9ef05SNatalie Beams /// Machine epsilon 2080a9ef05SNatalie Beams #define CEED_EPSILON 1e-16 2180a9ef05SNatalie Beams 2280a9ef05SNatalie Beams #endif 23