ContactEngineering / Adhesion

Cohesive zone models and intermolecular interactions for contact calculations
https://contactengineering.github.io/Adhesion/
MIT License
5 stars 2 forks source link

What is the purpose of disp_scale in system.objective ? #13

Closed sannant closed 4 years ago

sannant commented 4 years ago
disp_scale:float
            (default 1.) allows to specify a scaling of the
            dislacement before evaluation.
sannant commented 4 years ago

The answer is in FastSmoothContactSystem.

 disp_scale : float, optional
            (default 1.) allows to specify a scaling of the
            dislacement before evaluation. This can be necessary when
            using dumb minimizers with hardcoded convergence criteria
            such as scipy's L-BFGS-B.

I never really figured out what exactly was hardcoded.

sannant commented 4 years ago

So it might be worth keeping this.

pastewka commented 4 years ago

Okay! Can you copy the answer also to the other locations?

sannant commented 4 years ago

Done in PR #4