Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

New setState option for Equil state model

Aperta
#18 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp
Ambito
backend

Direzione di ricerca

Start with EquilStateModel.cpp and inspect the setState() overloads, especially option 0. Add a variable set option that accepts element densities followed by total energy density; done when a test shows it matches setting the composition and using option 0. The issue does not name a test file, so locate the relevant state model tests first.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Description

Add a new variable set option to the Equil state model setState() method which takes element densities as the first option, and the total energy density as the second option. Note that this is like option 0, but allows the user to set the elemental composition as well.

Example to use for testing

A new test could be added which compares using this option with setting the composition and using option 0, which should give the same result but is more expensive.

Files to be affected by the new feature
  • EquilStateModel.cpp
Lingua principale
C++
Stelle
145
Fork
79
Merge medio
1g 15h
PR unite (30g)
2

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 mutationpp/Mutationpp

Tutte le issue di mutationpp/Mutationpp

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.