File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -439,14 +439,13 @@ def _reference_stiffness_transpose_matrices(
439439 in_grp .discretization_key ()))
440440 def get_ref_stiffness_transpose_mat (out_grp , in_grp ):
441441 if in_grp == out_grp :
442- from meshmode .discretization .poly_element import diff_matrices , mass_matrix
443-
444- mmat = mass_matrix (out_grp )
442+ mmat = mp .mass_matrix (out_grp .basis_obj (), out_grp .unit_nodes )
443+ diff_matrices = mp .diff_matrices (out_grp .basis_obj (), out_grp .unit_nodes )
445444 return actx .freeze (
446445 actx .tag_axis (1 , DiscretizationDOFAxisTag (),
447446 actx .from_numpy (
448447 np .asarray (
449- [dmat .T @ mmat .T for dmat in diff_matrices ( out_grp ) ]))))
448+ [dmat .T @ mmat .T for dmat in diff_matrices ]))))
450449
451450 from modepy import multi_vandermonde , vandermonde
452451
You can’t perform that action at this time.
0 commit comments