Skip to content

Improvements to species #186

@arm61

Description

@arm61

Create a species type thing that stores the indices and charges of things (charges only for conductivity, obviously).

This is a protype that might work:

species = sc.DataGroup({'jeff': sc.DataArray(data=sc.array(values=[[0, 1], [2, 3], [4, 5]], dims=['particles', 'atom']), coords={'charges': sc.ones(dims=['particles'], shape=(3,))}),
                        'amy': sc.DataArray(data=sc.array(values=[[6, 7, 8], [9, 10, 11], [12, 13, 14]], dims=['particles', 'atom']), coords={'charges': sc.ones(dims=['particles'], shape=(3,)) * 2})})

If the user passes a string as the specie, kinisi should build this sort of object and work with it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions