Skip to content
Snippets Groups Projects
Commit 6329c2f1 authored by EXT Jean-Matthieu Etancelin's avatar EXT Jean-Matthieu Etancelin
Browse files

add ghosts exchange in custom operator

parent b31b5215
No related branches found
No related tags found
1 merge request!16MPI operators
...@@ -75,3 +75,5 @@ class PythonCustomOperator(HostOperator): ...@@ -75,3 +75,5 @@ class PythonCustomOperator(HostOperator):
def apply(self, **kwds): def apply(self, **kwds):
super(PythonCustomOperator, self).apply(**kwds) super(PythonCustomOperator, self).apply(**kwds)
self.doutvar = self.func(*(self.dinvar + self.dinparam + self.doutparam)) self.doutvar = self.func(*(self.dinvar + self.dinparam + self.doutparam))
for gh_exch in self.ghost_exchanger:
gh_exch.exchange_ghosts()
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