Skip to content

Commit 3bcd18e

Browse files
committed
Added the default all gradi minimization
1 parent bca68d7 commit 3bcd18e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Modules/SchaMinimizer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,6 +1037,9 @@ def run(self, verbose = 1, custom_function_pre = None, custom_function_post = No
10371037
# code when running the minimization. This allows for interactive plots
10381038
running = True
10391039

1040+
if not self.minim_struct:
1041+
self.gradi_op = "gc"
1042+
10401043
# Prepare the minimizer
10411044
self.minimizer = sscha.Minimizer.Minimizer(self.minim_struct, fixed_step= self.fixed_step, root_representation = self.root_representation, verbose = verbose >= 1)
10421045
self.minimizer.init(self.dyn, self.ensemble.get_effective_sample_size() / self.ensemble.N)

0 commit comments

Comments
 (0)