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 #ifndef _helper_h 9 #define _helper_h 10 11 #include "t406-qfunction-scales.h" 12 13 CEED_QFUNCTION_HELPER CeedScalar times_two(CeedScalar x) { 14 return SCALE_TWO * x; 15 } 16 17 CEED_QFUNCTION_HELPER CeedScalar times_three(CeedScalar x) { 18 return SCALE_THREE * x; 19 } 20 21 #endif 22