#NEWLINE# def check_mixture_health( self ) : #NEWLINE# #INDENT# "\n        Query the properties of the 'virtual phases' that make up a mixture\n        to ensure they all add up\n        " #NEWLINE# mole_sum = sp . zeros ( ( self . Np , ) ) #NEWLINE# for comp in self . _phases : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# mole_sum = ( mole_sum + comp [ 'pore.mole_fraction' ] ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# #UNINDENT# return mole_sum