Skip to content

Define KpointsData via constructor #3287

@ltalirz

Description

@ltalirz

It should be possible to set the properties of a KpointsData directly in the constructor. Instead of having to write

kpoints = KpointsData()
kpoints.set_kpoints_mesh([4,4,4])
builder.kpoints = kpoints

one should be able to write

builder.kpoints = KpointsData(mesh=[4,4,4])

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions