@@ -257,7 +257,7 @@ def setup_custom_functions(self, custom_function_pre = None,
257257
258258
259259 def relax (self , restart_from_ens = False , get_stress = False ,
260- ensemble_loc = None , start_pop = None , sobol = False ):
260+ ensemble_loc = None , start_pop = None , sobol = False , sobol_scramble = False ):
261261 """
262262 COSTANT VOLUME RELAX
263263 ====================
@@ -326,7 +326,7 @@ def relax(self, restart_from_ens = False, get_stress = False,
326326 self .minim .ensemble .dyn_0 = self .minim .dyn .Copy ()
327327
328328 if pop != start_pop or not restart_from_ens :
329- self .minim .ensemble .generate (self .N_configs , sobol = sobol )
329+ self .minim .ensemble .generate (self .N_configs , sobol = sobol sobol_scramble = sobol_scramble )
330330
331331 # Compute energies and forces
332332 self .minim .ensemble .compute_ensemble (self .calc , get_stress ,
@@ -377,7 +377,7 @@ def relax(self, restart_from_ens = False, get_stress = False,
377377 def vc_relax (self , target_press = 0 , static_bulk_modulus = 100 ,
378378 restart_from_ens = False ,
379379 ensemble_loc = None , start_pop = None , stress_numerical = False ,
380- cell_relax_algorithm = "sd" , fix_volume = False , sobol = False ):
380+ cell_relax_algorithm = "sd" , fix_volume = False , sobol = False , sobol_scramble = False ):
381381 """
382382 VARIABLE CELL RELAX
383383 ====================
@@ -538,7 +538,7 @@ def vc_relax(self, target_press = 0, static_bulk_modulus = 100,
538538 # Generate the ensemble
539539 self .minim .ensemble .dyn_0 = self .minim .dyn .Copy ()
540540 if pop != start_pop or not restart_from_ens :
541- self .minim .ensemble .generate (self .N_configs , sobol = sobol )
541+ self .minim .ensemble .generate (self .N_configs , sobol = sobol , sobol_scramble = sobol_scramble )
542542
543543 # Save also the generation
544544 #if ensemble_loc is not None and self.save_ensemble:
0 commit comments