Coverage for C:\src\imod-python\imod\mf6\model_gwt.py: 100%

12 statements  

« prev     ^ index     » next       coverage.py v7.4.4, created at 2024-04-08 13:27 +0200

1from __future__ import annotations 

2 

3from typing import Optional 

4 

5from imod.logging import init_log_decorator 

6from imod.mf6.model import Modflow6Model 

7 

8 

9class GroundwaterTransportModel(Modflow6Model): 

10 """ 

11 The GroundwaterTransportModel (GWT) simulates transport of a single solute 

12 species flowing in groundwater. 

13 """ 

14 

15 _mandatory_packages = ("mst", "dsp", "oc", "ic") 

16 _model_id = "gwt6" 

17 _template = Modflow6Model._initialize_template("gwt-nam.j2") 

18 

19 @init_log_decorator() 

20 def __init__( 

21 self, 

22 listing_file: Optional[str] = None, 

23 print_input: bool = False, 

24 print_flows: bool = False, 

25 save_flows: bool = False, 

26 ): 

27 super().__init__() 

28 self._options = { 

29 "listing_file": listing_file, 

30 "print_input": print_input, 

31 "print_flows": print_flows, 

32 "save_flows": save_flows, 

33 }