Пример #1
0
 def integrate(self, *args, **kwargs):
     if self.mode == 'only':
         raise NotImplementedError(
             'When mode==\'only\', only the subgrids can be used for integration.'
         )
     return IntGrid.integrate(self, *args, **kwargs)