diff --git a/pub/python/vol1/ft11_magnetostatics.py b/pub/python/vol1/ft11_magnetostatics.py index ad155da5..59498170 100644 --- a/pub/python/vol1/ft11_magnetostatics.py +++ b/pub/python/vol1/ft11_magnetostatics.py @@ -60,7 +60,7 @@ J_S = Constant(-1.0) # Define magnetic permeability -class Permeability(Expression): +class Permeability(UserExpression): def __init__(self, markers, **kwargs): self.markers = markers def eval_cell(self, values, x, cell):