1*5aed82e4SJeremy L Thompson // Copyright (c) 2017-2024, Lawrence Livermore National Security, LLC and other CEED contributors. 23d8e8822SJeremy L Thompson // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 3ccec5866SJeremy L Thompson // 43d8e8822SJeremy L Thompson // SPDX-License-Identifier: BSD-2-Clause 5ccec5866SJeremy L Thompson // 63d8e8822SJeremy L Thompson // This file is part of CEED: http://github.com/ceed 7ccec5866SJeremy L Thompson 8ccec5866SJeremy L Thompson #ifndef _helper_h 9ccec5866SJeremy L Thompson #define _helper_h 10ccec5866SJeremy L Thompson 11c9c2c079SJeremy L Thompson #include <ceed.h> 122b730f8bSJeremy L Thompson 137173c8dcSJeremy L Thompson #include "t406-qfunction-scales.h" 147173c8dcSJeremy L Thompson 152b730f8bSJeremy L Thompson CEED_QFUNCTION_HELPER CeedScalar times_two(CeedScalar x) { return SCALE_TWO * x; } 16ccec5866SJeremy L Thompson 172b730f8bSJeremy L Thompson CEED_QFUNCTION_HELPER CeedScalar times_three(CeedScalar x) { return SCALE_THREE * x; } 18ccec5866SJeremy L Thompson 19ccec5866SJeremy L Thompson #endif 20