Skip to content
Discussion options

You must be logged in to vote

Hi,
You can decrease meaningful_factor to much lower values (e.g 0.0001 or even lower) to further reduce the gradient.
To print the frequencies with the python script you can do in the following way.
You need to tell the code where to save the frequencies, as:

import sscha.Utilities

# Setup the saving frequencies
save_freqs = sscha.Utilities.IOInfo()
save_freqs.SetupSaving("frequencies.dat")
    
# Run the minimization
minim.run(custom_function_post = save_freqs.CFP_SaveFrequencies)

A full working example of script is the following

import sscha, sscha.Ensemble
import sscha.SchaMinimizer
import sscha.Utilities

dyn = CC.Phonons.Phonons(DYN_NAME, NQIRR)
dyn.Symmetrize()
ensemble = sscha.E…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@nintendo-64
Comment options

@ionerrea
Comment options

@nintendo-64
Comment options

Answer selected by mesonepigreco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants