xref: /libCEED/tests/t406-qfunction-helper.h (revision 7cbc98ee6c81dcfdc133295c4388d23367d79bb6)
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 
8509d4af6SJeremy L Thompson // Note: testing 'pragma once'
9509d4af6SJeremy L Thompson // clang-format off
10509d4af6SJeremy L Thompson # pragma  once
11509d4af6SJeremy L Thompson // clang-format on
12ccec5866SJeremy L Thompson 
13c9c2c079SJeremy L Thompson #include <ceed.h>
142b730f8bSJeremy L Thompson 
15*7cbc98eeSJeremy L Thompson // Test include path with "/./"
16*7cbc98eeSJeremy L Thompson #include "./t406-qfunction-scales.h"
177173c8dcSJeremy L Thompson 
182b730f8bSJeremy L Thompson CEED_QFUNCTION_HELPER CeedScalar times_two(CeedScalar x) { return SCALE_TWO * x; }
19ccec5866SJeremy L Thompson 
202b730f8bSJeremy L Thompson CEED_QFUNCTION_HELPER CeedScalar times_three(CeedScalar x) { return SCALE_THREE * x; }
21