xref: /libCEED/tests/t406-qfunction-helper.h (revision 509d4af65d23546c690c9766d8b29e47dc3b3afb)
15aed82e4SJeremy 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 
8*509d4af6SJeremy L Thompson // Note: testing 'pragma once'
9*509d4af6SJeremy L Thompson // clang-format off
10*509d4af6SJeremy L Thompson # pragma  once
11*509d4af6SJeremy L Thompson // clang-format on
12ccec5866SJeremy L Thompson 
13c9c2c079SJeremy L Thompson #include <ceed.h>
142b730f8bSJeremy L Thompson 
157173c8dcSJeremy L Thompson #include "t406-qfunction-scales.h"
167173c8dcSJeremy L Thompson 
172b730f8bSJeremy L Thompson CEED_QFUNCTION_HELPER CeedScalar times_two(CeedScalar x) { return SCALE_TWO * x; }
18ccec5866SJeremy L Thompson 
192b730f8bSJeremy L Thompson CEED_QFUNCTION_HELPER CeedScalar times_three(CeedScalar x) { return SCALE_THREE * x; }
20