From fca8b0f384dda4768c32a9fffef2cb58a081bb15 Mon Sep 17 00:00:00 2001 From: Thomas Gibson <gibsonthomas1120@hotmail.com> Date: Sun, 25 Apr 2021 15:56:18 -0500 Subject: [PATCH] Remove unneeded loopy program --- grudge/op.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/grudge/op.py b/grudge/op.py index f401be68..1853da05 100644 --- a/grudge/op.py +++ b/grudge/op.py @@ -326,20 +326,6 @@ def mass(dcoll, *args): return _bound_mass(dcoll, dd)(u=vec) -@memoize_on_first_arg -def _elwise_linear_loopy_prg(actx): - result = make_loopy_program( - """{[iel, idof, j]: - 0<=iel<nelements and - 0<=idof<ndiscr_nodes_out and - 0<=j<ndiscr_nodes_in}""", - "result[iel, idof] = sum(j, mat[idof, j] * vec[iel, j])", - name="elwise_linear_op_knl") - - result = lp.tag_array_axes(result, "mat", "stride:auto,stride:auto") - return result - - def reference_mass_matrix(actx, out_element_group, in_element_group): @keyed_memoize_in( actx, reference_mass_matrix, -- GitLab