TRIQS / dft_tools

Interface to DFT codes
https://triqs.github.io/dft_tools
Other
40 stars 39 forks source link

API changes in dft_tools #22

Closed mferrero closed 9 years ago

mferrero commented 10 years ago

This is an issue to discuss small API changes in the dft_tools.

pseth commented 10 years ago

Summary of changes made in 1.2-dev branch:

The changes made help enforce/maintain the following guiding principles for dft_tools:

Major

Minor/internal

To do still

opeil commented 10 years ago

At the moment, none of the API methods read the information about the band range for each k-point (e.g. file 'case.oubwin' as produced by dmftproj). I think the user should have a possibility to access this information in order, for instance, to build explicitly an upfolded lattice GF (I know at least one scenario when it is needed).

opeil commented 10 years ago
opeil commented 10 years ago
opeil commented 10 years ago

I agree with Pri that we should

leopo commented 10 years ago

Some points:

pseth commented 10 years ago

Leonid,

in converters one should have an option of chosing a different name for *.h5 compared to the one of input from DFT. In 1.0 those are forced to be the same.

I have done this already.

"- these *input groups should NOT ever be modified after conversion" I guess, this means in the course of a normal calculation. Sometimes one needs to change them "by hand"

Yes, you can change them yourself but they should not change during the calculation.

"Adapt U_matrix for wien2k cubic convention" Not only cubic. One should also have the possibility to apply any unitary transformation to the U matrix, which we had in 0.8 and 1.0

Any generic transformation is already handled, but given that we often use Wien2k, I will build in the specific unitary matrix there.

edererc commented 10 years ago

Just a few comments from our (ETH) side. We looked mainly at the information that should be written to the h5 file if one wants to build a new converter. I think more or less everything is clear except for the following few things:

Another thing: where has the multiband_solver gone? Will this now be part of the new cthyb or did I miss something? It used to be part of the old sumk_lda, right?

Ok, that's all for now. Maybe we'll have more questions/suggestions once we start writing the new converter.

pseth commented 10 years ago

Hi Claude,

Another thing: where has the multiband_solver gone? Will this now be part of the new cthyb or did I miss something?

See "Major", point 2 in my comment above. So the functionality is still there, though packaged differently.

It used to be part of the old sumk_lda, right?

It wasn't technically part of the sum_lda, but it shipped with dft_tools.

Pri

pseth commented 9 years ago

@edererc We have updated the doc for both the points that you raised. Thanks!

pseth commented 9 years ago

I think everything here is resolved, closing.