4.3.2. Customized Fortran ModulesΒΆ
One completely new Fortran module, Module f2pwrap in f2pWrappers.f90, was created to complete the Python wrapping. This module provides the link between Fortran MODFLOW 6 and Python.
Four MODFLOW 6 Fortran modules were copied, renamed, slightly modified, and extended to provide for four new type extensions, as discussed in Extended MODFLOW 6 Types. The modified modules and extended types provide dynamic coupling capabilities to pass an array of infiltration values into MODFLOW 6 and to create and return an array of groundwater discharge to the ground surface.