Skip to content

Enable callback to JS during a run and minimize command #16

@andeplane

Description

@andeplane

If you have a LAMMPS script with a run 1000 command or a minimization command, the caller of LAMMPS.js should be able to get callbacks every N timesteps to show values of computes, variables and fixes in addition to real time updates of atomic positions and other relevant values. See https://github.com/andeplane/atomify/blob/main/cpp/lammpsweb/fix_atomify.cpp as an example implementation (requires some patches like seen in https://github.com/andeplane/atomify/blob/main/cpp/lammps.patch#L62).

In general:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions