@@ -93,46 +93,118 @@ class ModflowGnc(mfpackage.MFPackage):
9393 Package name for this package.
9494 parent_file : MFPackage
9595 Parent package file that references this package. Only needed for
96- utility packages (mfutl*). For example, mfutllaktab package must have
96+ utility packages (mfutl*). For example, mfutllaktab package must have
9797 a mfgwflak package parent_file.
9898
9999 """
100- gncdata = ListTemplateGenerator (('gnc' , 'gncdata' , 'gncdata' ))
100+
101+ gncdata = ListTemplateGenerator (("gnc" , "gncdata" , "gncdata" ))
101102 package_abbr = "gnc"
102103 _package_type = "gnc"
103104 dfn_file_name = "gwf-gnc.dfn"
104105
105- dfn = [["block options" , "name print_input" , "type keyword" ,
106- "reader urword" , "optional true" ],
107- ["block options" , "name print_flows" , "type keyword" ,
108- "reader urword" , "optional true" ],
109- ["block options" , "name explicit" , "type keyword" , "tagged true" ,
110- "reader urword" , "optional true" ],
111- ["block dimensions" , "name numgnc" , "type integer" ,
112- "reader urword" , "optional false" ],
113- ["block dimensions" , "name numalphaj" , "type integer" ,
114- "reader urword" , "optional false" ],
115- ["block gncdata" , "name gncdata" ,
106+ dfn = [
107+ [
108+ "block options" ,
109+ "name print_input" ,
110+ "type keyword" ,
111+ "reader urword" ,
112+ "optional true" ,
113+ ],
114+ [
115+ "block options" ,
116+ "name print_flows" ,
117+ "type keyword" ,
118+ "reader urword" ,
119+ "optional true" ,
120+ ],
121+ [
122+ "block options" ,
123+ "name explicit" ,
124+ "type keyword" ,
125+ "tagged true" ,
126+ "reader urword" ,
127+ "optional true" ,
128+ ],
129+ [
130+ "block dimensions" ,
131+ "name numgnc" ,
132+ "type integer" ,
133+ "reader urword" ,
134+ "optional false" ,
135+ ],
136+ [
137+ "block dimensions" ,
138+ "name numalphaj" ,
139+ "type integer" ,
140+ "reader urword" ,
141+ "optional false" ,
142+ ],
143+ [
144+ "block gncdata" ,
145+ "name gncdata" ,
116146 "type recarray cellidn cellidm cellidsj alphasj" ,
117- "shape (maxbound)" , "reader urword" ],
118- ["block gncdata" , "name cellidn" , "type integer" , "shape" ,
119- "tagged false" , "in_record true" , "reader urword" ,
120- "numeric_index true" ],
121- ["block gncdata" , "name cellidm" , "type integer" , "shape" ,
122- "tagged false" , "in_record true" , "reader urword" ,
123- "numeric_index true" ],
124- ["block gncdata" , "name cellidsj" , "type integer" ,
125- "shape (numalphaj)" , "tagged false" , "in_record true" ,
126- "reader urword" , "numeric_index true" ],
127- ["block gncdata" , "name alphasj" , "type double precision" ,
128- "shape (numalphaj)" , "tagged false" , "in_record true" ,
129- "reader urword" ]]
147+ "shape (maxbound)" ,
148+ "reader urword" ,
149+ ],
150+ [
151+ "block gncdata" ,
152+ "name cellidn" ,
153+ "type integer" ,
154+ "shape" ,
155+ "tagged false" ,
156+ "in_record true" ,
157+ "reader urword" ,
158+ "numeric_index true" ,
159+ ],
160+ [
161+ "block gncdata" ,
162+ "name cellidm" ,
163+ "type integer" ,
164+ "shape" ,
165+ "tagged false" ,
166+ "in_record true" ,
167+ "reader urword" ,
168+ "numeric_index true" ,
169+ ],
170+ [
171+ "block gncdata" ,
172+ "name cellidsj" ,
173+ "type integer" ,
174+ "shape (numalphaj)" ,
175+ "tagged false" ,
176+ "in_record true" ,
177+ "reader urword" ,
178+ "numeric_index true" ,
179+ ],
180+ [
181+ "block gncdata" ,
182+ "name alphasj" ,
183+ "type double precision" ,
184+ "shape (numalphaj)" ,
185+ "tagged false" ,
186+ "in_record true" ,
187+ "reader urword" ,
188+ ],
189+ ]
130190
131- def __init__ (self , simulation , loading_package = False , print_input = None ,
132- print_flows = None , explicit = None , numgnc = None , numalphaj = None ,
133- gncdata = None , filename = None , pname = None , parent_file = None ):
134- super (ModflowGnc , self ).__init__ (simulation , "gnc" , filename , pname ,
135- loading_package , parent_file )
191+ def __init__ (
192+ self ,
193+ simulation ,
194+ loading_package = False ,
195+ print_input = None ,
196+ print_flows = None ,
197+ explicit = None ,
198+ numgnc = None ,
199+ numalphaj = None ,
200+ gncdata = None ,
201+ filename = None ,
202+ pname = None ,
203+ parent_file = None ,
204+ ):
205+ super (ModflowGnc , self ).__init__ (
206+ simulation , "gnc" , filename , pname , loading_package , parent_file
207+ )
136208
137209 # set up variables
138210 self .print_input = self .build_mfdata ("print_input" , print_input )
0 commit comments