Module Import alias identifier ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad Str Num NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num If CompareIs NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body Print BinOpAdd Str Str Assign NameStore NameLoad orelse Raise Call NameLoad Str Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num keyword NameLoad Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num keyword NameLoad Expr Str Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call NameLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr body If CompareLt NameLoad Call NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num orelse Assign NameStore Num If CompareLt NameLoad Call NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num orelse Assign NameStore Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr If CompareLt NameLoad Call NameLoad AttributeLoad NameLoad attr body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num If CompareLt NameLoad Call NameLoad AttributeLoad NameLoad attr body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A numpy np pakbase Package ModflowPbc N/A Package N/A N/A 
    Periodic boundary condition class

     __init__ N/A N/A self model layer_row_column_data layer_row_column_shead_ehead cosines extension unitnumber zerobase N/A None None None pbc 30 True N/A N/A N/A N/A Package __init__ self model extension PBC unitnumber N/A N/A self heading # PBC for MODFLOW, generated by Flopy. N/A N/A self mxactp 0 N/A N/A layer_row_column_data None N/A N/A N/A layer_row_column_shead_ehead None N/A N/A N/A 
WARNING: ModflowPbc - Do not use layer_row_column_shead_ehead!
                       Use layer_row_column_data instead. N/A layer_row_column_data layer_row_column_shead_ehead N/A N/A N/A Exception Failed to specify layer_row_column_shead_ehead or layer_row_column_data. N/A N/A N/A self mxactp N/A self layer_row_column_data N/A N/A self assign_layer_row_column_data layer_row_column_data 5 zerobase zerobase N/A N/A N/A self mxcos N/A self cosines N/A N/A self assign_layer_row_column_data cosines 3 zerobase False N/A self.mxcos = 0
        if (cosines != None):
            error_message = 'cosines must have 3 columns'
            if (not isinstance(cosines, list)):
                cosines = [cosines]
            for a in cosines:
                a = np.atleast_2d(a)
                nr, nc = a.shape
                assert nc == 3, error_message
                if (nr > self.mxcos):
                    self.mxcos = nr
            self.cosines = cosines N/A N/A self np 0 N/A N/A N/A N/A self parent add_package self N/A ncells N/A N/A self N/A N/A N/A N/A self mxactp N/A write_file N/A N/A self N/A N/A N/A 
        Write the package file.

        Returns
        -------
        None

         N/A f_pbc N/A open N/A self fn_path w N/A N/A N/A f_pbc write N/A %s
 N/A self heading N/A N/A N/A f_pbc write N/A %10i%10i
 N/A N/A self mxactp N/A self mxcos N/A n N/A range N/A N/A N/A N/A self parent get_package DIS nper N/A N/A N/A n N/A len N/A self layer_row_column_data N/A N/A a N/A N/A self layer_row_column_data N/A n N/A itmp N/A N/A a shape N/A 0 N/A N/A itmp -1 N/A N/A n N/A len N/A self cosines N/A N/A c N/A N/A self cosines N/A n N/A ctmp N/A N/A c shape N/A 0 N/A N/A ctmp -1 N/A N/A N/A f_pbc write N/A %10i%10i%10i
 N/A itmp ctmp N/A self np N/A N/A n N/A len N/A self layer_row_column_data N/A N/A b a N/A N/A N/A N/A f_pbc write N/A %10i%10i%10i%10f%10f
 N/A N/A b N/A 0 N/A b N/A 1 N/A b N/A 2 N/A b N/A 3 N/A b N/A 4 N/A N/A n N/A len N/A self cosines N/A N/A d c N/A N/A N/A N/A f_pbc write N/A %10f%10f%10f
 N/A N/A d N/A 0 N/A d N/A 1 N/A d N/A 2 N/A N/A N/A f_pbc close N/A N/A