dmft and Hirsch-Fye: define their parameters on alps::params like CT-INT and CT-HYB

Aperta
#286 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@Ooolab ci sta già lavorando.

Dal 2/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

area:dmft enhancement

The CT-INT (interaction) and CT-HYB (hybridization) solvers declare their parameters on ALPSCore's alps::params with define, each with its type, default and description, and report missing and unused keys. The dmft driver and the Hirsch-Fye solver (hirschfye, and dmft with SOLVER = Hirsch-Fye) still read the legacy alps::Parameters, with defaults given at each read through value_or_default.

So DMFT input reaches two kinds of programs:

  • An unknown or misspelled key is reported by CT-INT and CT-HYB, and ignored by dmft and Hirsch-Fye.
  • A new input format (TOML, for example) has to feed both alps::params and alps::Parameters.

Proposal

Have dmft and Hirsch-Fye define their keys on alps::params, as define_parameters does for CT-INT and CT-HYB. Their parameter readers (alps/input/dmft.hpp and alps/input/hirschfye.hpp on marcusr2ML/ALPS upstream-dmft-input) would then read the defined alps::params. The driver's internal classes (Hilbert and Fourier transformers, band structure, external solver) can keep receiving alps::Parameters through alps::make_deprecated_parameters.

Lingua principale
C++
Stelle
32
Fork
10
Merge medio
4g 3h
PR unite (30g)
54

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ALPSim/ALPS

Tutte le issue di ALPSim/ALPS

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.