Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] improved standard behavior of block struct #248

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

the-hampel
Copy link
Member

@the-hampel the-hampel commented Feb 26, 2024

  • previously the default gf_struct_solver had keys up / down,
    inconsistent with the default behavior after analyse_block_structure was
    run: up_0 / down_0. Now the default solver structure always has the _0
    in the key.
  • old behavior resulted in error when analyse_block_structure was called
    twice
  • fixed analyse block structure tests with new changes
  • to correctly use analyse_block_structure use now
    extract_G_loc(transform_to_solver_blocks=False)
  • changed density_matrix function to use directly extract_G_loc() if
    using_gf is selected.
  • print deprecation warning in density_matrix, same can be achieved via
    extract_G_loc and [G.density() for G in Gloc]
  • new function density_matrix_using_point_integration()
  • enforce in analyse block structure that input dm or G is list with
    length of n_corr_shells
  • correct doc string for how include_shells are given
  • fixed other tests accordingly
  • fixed small bug in initial block structure regarding length of lists

* previously the default gf_struct_solver had keys up / down,
inconsistent with the default behavior after analyse_block_structure was
run: up_0 / down_0. Now the default solver structure always has the _0
in the key.
* old behavior resulted in error when analyse_block_structure was called
twice
* fixed analyse block structure tests with new changes
* to correctly use analyse_block_structure use now
extract_G_loc(transform_to_solver_blocks=False)
* changed density_matrix function to use directly extract_G_loc() if
using_gf is selected.
* print deprecation warning in density_matrix, same can be achieved via
extract_G_loc and [G.density() for G in Gloc]
* new function density_matrix_using_point_integration()
* enforce in analyse block structure that input dm or G is list with
length of n_corr_shells
* correct doc string for how include_shells are given
* fixed other tests accordingly
* fixed small bug in initial block structure regarding length of lists
@the-hampel the-hampel force-pushed the dev_standardize_default_block_structure branch from a485adc to 8a53019 Compare February 26, 2024 19:24
@the-hampel the-hampel merged commit b355173 into unstable Feb 26, 2024
4 of 5 checks passed
@the-hampel the-hampel deleted the dev_standardize_default_block_structure branch February 26, 2024 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant