Skip to content

Make other properties time dependent (e.g. charges) #3504

@pstaerk

Description

@pstaerk

Is your feature request related to a problem?

My group is very interested in having the ability to make the charges time dependent.
We are simulating fluctuating electrodes (in LAMMPS), where the charge is treated as an additional degree of freedom.
Lammps trajectories enable you to output custom styles where e.g. the charge is also written for each timestep and to my limited knowledge this is possible in other simulation frameworks too.

Describe the solution you'd like

Ideally, the trajectory parser should be able to accept custom style descriptions (or guess them from the lammpstrj dump file's header) and then make the charge a part of the trajectory's attributes.
From looking at the parser's code this should not be too hard to add, but I am not sure how the hard change to the topology/trajectory backend would be.

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