Skip to content

Sphinx workflow new#195

Draft
prabhath-c wants to merge 14 commits into
mainfrom
sphinx_workflow_new
Draft

Sphinx workflow new#195
prabhath-c wants to merge 14 commits into
mainfrom
sphinx_workflow_new

Conversation

@prabhath-c

Copy link
Copy Markdown
Contributor

No description provided.

@prabhath-c prabhath-c marked this pull request as draft June 24, 2026 14:53

@JNmpi JNmpi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Please consider the two suggestions below. The code is then ready for merge.

"1 1 1" # Optional[list] = None # Gamma-centred mesh e.g. [4, 4, 4]; None → 1x1x1
class InputSCF:
"""
Basic inputs for a static (SCF) DFT calculation.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change to:
Basic inputs for a (SCF) DFT calculation.

-> applies to any type of SCF DFT (static, relax, MD)

energy_cutoff: float = 400.0
smearing_type: Literal["gaussian", "methfessel-paxton", "fermi-dirac"] = "gaussian"
smearing_width: float = 0.2
smearing_order: int = 1

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make it
smearing_order: Optional[int] = None

-> most smearing methods don't have this parameter (e.g. gaussian which is chosen here as default)

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.

6 participants