Lines Matching +full:test +full:-
1 # Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors
2 # All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 # SPDX-License-Identifier: BSD-2-Clause
9 # Test Ceed QFunction functionality
18 # -------------------------------------------------------------------------------
20 # -------------------------------------------------------------------------------
35 # -------------------------------------------------------------------------------
36 # Test creation, evaluation, and destruction for qfunction
37 # -------------------------------------------------------------------------------
47 os.path.join(file_dir, "test-qfunctions.h:setup_mass"))
53 os.path.join(file_dir, "test-qfunctions.h:apply_mass"))
64 x = 2. * i / (q - 1) - 1
65 w_array[i] = 1 - x * x
92 # -------------------------------------------------------------------------------
93 # Test creation, evaluation, and destruction for qfunction
94 # -------------------------------------------------------------------------------
104 os.path.join(file_dir, "test-qfunctions.h:setup_mass"))
110 os.path.join(file_dir, "test-qfunctions.h:apply_mass"))
126 x = 2. * i / (q - 1) - 1
127 w_array[i] = 1 - x * x
152 assert abs(v_array[i] - v_true[i]) < TOL
154 # -------------------------------------------------------------------------------
155 # Test viewing of qfunction
156 # -------------------------------------------------------------------------------
166 os.path.join(file_dir, "test-qfunctions.h:setup_mass"))
172 os.path.join(file_dir, "test-qfunctions.h:apply_mass"))
194 # -------------------------------------------------------------------------------
195 # Test creation, evaluation, and destruction for qfunction by name
196 # -------------------------------------------------------------------------------
212 x = 2. * i / (q - 1) - 1
214 w_array[i] = 1 - x * x
241 # -------------------------------------------------------------------------------
242 # Test creation, evaluation, and destruction of identity qfunction
243 # -------------------------------------------------------------------------------
270 # -------------------------------------------------------------------------------
271 # Test creation, evaluation, and destruction of identity qfunction with size>1
272 # -------------------------------------------------------------------------------
300 # -------------------------------------------------------------------------------
301 # Test viewing of qfunction by name
302 # -------------------------------------------------------------------------------
318 # -------------------------------------------------------------------------------