@@ -35,8 +35,8 @@ def temp_values(S, NatomE, tol):
3535 return (temp_ind , temp_ind_nswt , temp_ind_swt , temp_ind_E , temp_NE , temp_NS , temp_ind_remove )
3636
3737def remove_item (N0 , zip1 , zip2 , ls1 , ls2 , NP , SIZE ):
38- """ Remove species from the computed indeces list of gaseous and condensed species
39- and append the indeces of species that we have to remove """
38+ """ Remove species from the computed indexes list of gaseous and condensed species
39+ and append the indexes of species that we have to remove """
4040 ls0 = []
4141 for n , ind in zip (zip1 , zip2 ):
4242 if log (n / NP ) < - SIZE :
@@ -118,8 +118,7 @@ def print_moles(N0, LS, it):
118118#@profile
119119def equilibrium (self , pP , TP , strR ):
120120 """ Generalized Gibbs minimization method """
121- E , S , C , PD , TN , strThProp = [self .E , self .S , self .C , self .PD ,
122- self .TN , self .strThProp ]
121+ S , C , strThProp = [self .S , self .C , self .strThProp ]
123122 N0 , A0 = (C .N0 .Value , C .A0 .Value )
124123 R0 = C .R0
125124 R0TP = R0 * TP # [J/(mol)]
@@ -134,7 +133,7 @@ def equilibrium(self, pP, TP, strR):
134133 SIZE = - log (C .tolN )
135134 e = 0.
136135 STOP = 1.
137- # Find indeces of the species/elements that we have to remove from the stoichiometric matrix A0
136+ # Find indexes of the species/elements that we have to remove from the stoichiometric matrix A0
138137 # for the sum of elements whose value is <= tolN
139138 ind_A0_E0 = remove_elements (NatomE , A0 , self .C .tolN )
140139 # List of indices with nonzero values
0 commit comments