/// Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors. /// All Rights Reserved. See the top-level LICENSE and NOTICE files for details. /// /// SPDX-License-Identifier: BSD-2-Clause /// /// This file is part of CEED: http://github.com/ceed /// @file /// Public header for definitions related to using FP32 floating point (single precision) for CeedScalar. /// Include this header in ceed.h to use float instead of double. #ifndef CEED_F32_H #define CEED_F32_H /// Set base scalar type to FP32. (See CeedScalarType enum in ceed.h for all options.) #define CEED_SCALAR_TYPE CEED_SCALAR_FP32 typedef float CeedScalar; /// Machine epsilon #define CEED_EPSILON 6e-08 #endif // CEED_F32_H