Coverage for C:\src\imod-python\imod\mf6\interfaces\isimulation.py: 75%

16 statements  

« prev     ^ index     » next       coverage.py v7.5.1, created at 2024-05-16 11:25 +0200

1from abc import abstractmethod 

2 

3from imod.mf6.interfaces.idict import IDict 

4from imod.mf6.interfaces.imodel import IModel 

5 

6 

7class ISimulation(IDict): 

8 """ 

9 Interface for imod.mf6.simulation.Modflow6Simulation 

10 """ 

11 

12 @abstractmethod 

13 def is_split(self) -> bool: 

14 raise NotImplementedError 

15 

16 @abstractmethod 

17 def has_one_flow_model(self) -> bool: 

18 raise NotImplementedError 

19 

20 @abstractmethod 

21 def get_models(self) -> dict[str, IModel]: 

22 raise NotImplementedError 

23 

24 @abstractmethod 

25 def get_models_of_type(self, model_id: str) -> dict[str, IModel]: 

26 raise NotImplementedError