def __init__(self,time_flow=True,**kwds):
        '''
        Make a new instance of AggShockConsumerType, an extension of
        IndShockConsumerType.  Sets appropriate solver and input lists.
        '''
        AgentType.__init__(self,solution_terminal=deepcopy(IndShockConsumerType.solution_terminal_),
                           time_flow=time_flow,pseudo_terminal=False,**kwds)

        # Add consumer-type specific objects, copying to create independent versions
        self.time_vary = deepcopy(IndShockConsumerType.time_vary_)
        self.time_inv = deepcopy(IndShockConsumerType.time_inv_)
        self.delFromTimeInv('Rfree','vFuncBool','CubicBool')
        self.poststate_vars = IndShockConsumerType.poststate_vars_
        self.solveOnePeriod = solveConsAggShock
        self.update()
def __init__ ( self , time_flow = True , ** kwds ) : AgentType . __init__ ( self , solution_terminal = deepcopy ( IndShockConsumerType . solution_terminal_ ) , time_flow = time_flow , pseudo_terminal = False , ** kwds ) self . time_vary = deepcopy ( IndShockConsumerType . time_vary_ ) self . time_inv = deepcopy ( IndShockConsumerType . time_inv_ ) self . delFromTimeInv ( 'Rfree' , 'vFuncBool' , 'CubicBool' ) self . poststate_vars = IndShockConsumerType . poststate_vars_ self . solveOnePeriod = solveConsAggShock self . update ( )
Make a new instance of AggShockConsumerType, an extension of
        IndShockConsumerType.  Sets appropriate solver and input lists.