xref: /libCEED/tests/t406-qfunction-helper.h (revision 255dad3207f061d22701e91ddb8337d8c6809493)
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 
157cbc98eeSJeremy L Thompson // Test include path with "/./"
167cbc98eeSJeremy L Thompson #include "./t406-qfunction-scales.h"
177173c8dcSJeremy L Thompson 
18*255dad32SJeremy L Thompson // Test include via -I....
19*255dad32SJeremy L Thompson #include <fake-sys-include.h>
20ccec5866SJeremy L Thompson 
21*255dad32SJeremy L Thompson CEED_QFUNCTION_HELPER CeedScalar times_two(CeedScalar x) { return FAKE_SYS_SCALE_ONE * SCALE_TWO * x; }
22*255dad32SJeremy L Thompson 
23*255dad32SJeremy L Thompson CEED_QFUNCTION_HELPER CeedScalar times_three(CeedScalar x) { return FAKE_SYS_SCALE_ONE * SCALE_THREE * x; }
24