From 3d8f4cd8864eee2ab3044944cbfdb515a1b04d89 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Tue, 7 Jul 2020 09:24:31 -0500 Subject: [PATCH] Move get_pde to top --- sumpy/expansion/__init__.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sumpy/expansion/__init__.py b/sumpy/expansion/__init__.py index eeaaa650..d3dfbccb 100644 --- a/sumpy/expansion/__init__.py +++ b/sumpy/expansion/__init__.py @@ -402,6 +402,15 @@ class LinearPDEBasedExpansionTermsWrangler(ExpansionTermsWrangler): return defaultdict(list, matrix_rows), reconstruct_matrix_with_rscale, \ use_reconstruct + def get_pde(self): + r""" + Returns a PDE. A PDE stores a dictionary of (mi, coeff) + where mi is the multi-index of the derivative and coeff is the + coefficient + """ + + raise NotImplementedError + @memoize_method def get_stored_ids_and_coeff_mat(self): from six import iteritems @@ -478,15 +487,6 @@ class LinearPDEBasedExpansionTermsWrangler(ExpansionTermsWrangler): return stored_identifiers, coeff_matrix, reconstruct_matrix - def get_pde(self): - r""" - Returns a PDE. A PDE stores a dictionary of (mi, coeff) - where mi is the multi-index of the derivative and coeff is the - coefficient - """ - - raise NotImplementedError - class LaplaceExpansionTermsWrangler(LinearPDEBasedExpansionTermsWrangler): -- GitLab