Skip to content
Snippets Groups Projects
Commit e6729ced authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Remove ExpansionTermsWrangler.copy, fix docstring formatting

parent f4394132
No related branches found
No related tags found
1 merge request!68Specify the PDE symbolically
......@@ -189,16 +189,6 @@ class ExpansionTermsWrangler(object):
res = sorted(gnitstam(self.order, self.dim), key=sum)
return res
def copy(self, **kwargs):
order = kwargs.pop('order', self.order)
dim = kwargs.pop('dim', self.dim)
if kwargs:
raise TypeError("unexpected keyword arguments '%s'"
% ", ".join(kwargs))
return type(self)(order, dim)
class FullExpansionTermsWrangler(ExpansionTermsWrangler):
......@@ -261,9 +251,9 @@ class LinearRecurrenceBasedExpansionTermsWrangler(ExpansionTermsWrangler):
:param dim: number of dimensions
:param deriv_multiplier: a symbolic expression that is used to
'normalize out' constant coefficients in the PDE in
:func:`~LinearRecurrenceBasedExpansionTermsWrangler.get_pde_dict`, so that
the Taylor coefficient with multi-index :math:`\nu` as seen by that
representation of the PDE is :math:`\text{coeff} /
:func:`~LinearRecurrenceBasedExpansionTermsWrangler.get_pde_dict`,
so that the Taylor coefficient with multi-index :math:`\nu` as seen
by that representation of the PDE is :math:`\text{coeff} /
{\text{deriv\_multiplier}^{|\nu|}}`.
"""
super(LinearRecurrenceBasedExpansionTermsWrangler, self).__init__(order, dim)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment