#NEWLINE# def clear_dparams( self ) : #NEWLINE# #INDENT# ' Zeros out the dparams (dp) vector.' #NEWLINE# for parallel_set in self . _probdata . relevance . vars_of_interest ( ) : #NEWLINE# #INDENT# for name in parallel_set : #NEWLINE# #INDENT# if ( name in self . dpmat ) : #NEWLINE# #INDENT# self . dpmat [ name ] . vec [ : ] = 0.0 #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# self . dpmat [ None ] . vec [ : ] = 0.0 #NEWLINE# for system in name . _local_subsystems : #NEWLINE# #INDENT# if isinstance ( system , Group ) : #NEWLINE# #INDENT# system . clear_dparams ( )