def __init__(self, model, pval_dict=None,
                 extension ='pval', unitnumber=1005):
        Package.__init__(self, model, extension, 'PVAL', unitnumber) # Call ancestor's init to set self.parent, extension, name and unit number
        self.heading = '# PVAL for MODFLOW, generated by Flopy.\n# Really...is this actually helpful?'
        self.url = 'pval.htm'

        self.npval = 0
        if pval_dict is not None:
            self.pval = len(pval_dict)
            self.pval_dict = pval_dict
        self.parent.add_package(self)
Package constructor.
dataset/ETHPy150Open modflowpy/flopy/flopy/modflow/mfpval.py/ModflowPval.__init__