#NEWLINE# def setAllFieldsToZero( self ) : #NEWLINE# #INDENT# ' Update every field to be an array of all zeros.\n    ' #NEWLINE# for ( key , dims ) in self . _FieldDims . items ( ) : #NEWLINE# #INDENT# curShape = getattr ( self , key ) . shape #NEWLINE# self . setField ( curShape , np . zeros ( curShape ) , dims = dims )