Make SubGridBaseGrid actually abstract

这个提交包含在:
nmannall
2024-04-18 17:33:15 +01:00
父节点 8bfb1a9feb
当前提交 77ce6b73df

查看文件

@@ -17,14 +17,14 @@
# along with gprMax. If not, see <http://www.gnu.org/licenses/>.
import logging
from abc import abstractmethod
from abc import ABC, abstractmethod
from gprMax.grid.fdtd_grid import FDTDGrid
logger = logging.getLogger(__name__)
class SubGridBaseGrid(FDTDGrid):
class SubGridBaseGrid(FDTDGrid, ABC):
def __init__(self, *args, **kwargs):
super().__init__()
@@ -82,4 +82,4 @@ class SubGridBaseGrid(FDTDGrid):
@abstractmethod
def print_info(self):
pass
pass