From cca37556f720a3a9cafcef2eb1f1efc08f901730 Mon Sep 17 00:00:00 2001 From: Keck Jean-Baptiste <jbkeck@hotmail.com> Date: Thu, 30 Jun 2016 16:55:50 +0200 Subject: [PATCH] added work_properties on CustomOp and CustomMonitor --- hysop/operator/custom.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hysop/operator/custom.py b/hysop/operator/custom.py index 5af161e89..eeab03948 100644 --- a/hysop/operator/custom.py +++ b/hysop/operator/custom.py @@ -24,6 +24,10 @@ class CustomOp(Computational): self.function, variables=self.discreteFields.values()) self._is_uptodate = True + + def get_work_properties(self): + super(CustomOp,self).get_work_properties() + #TODO class CustomMonitor(Computational): @@ -43,3 +47,7 @@ class CustomMonitor(Computational): self._set_io(self.function.__name__, (1, 1 + self.res_shape)) self.discrete_op.set_writer(self._writer) self._is_uptodate = True + + def get_work_properties(self): + super(CustomOp,self).get_work_properties() + #TODO -- GitLab