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)
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)