Skip to content

Template for a custom Python file reader which hooks into OVITO

License

Notifications You must be signed in to change notification settings

yquana/PythonFileReaderTemplate

 
 

Repository files navigation

A Python File Reader for OVITO

A custom file reader for OVITO.
File extension: .lkmc
Each .latt_traj file consists of two parts: header and main body.

In the header region, the initial state of the simulation cell is written in the following format:
     Line 1: Comment
     Line 2: Scaling factor
     Line 3: a
     Line 4: b
     Line 5: c
     Line 6: number of sites N
     Line 7: Coordinate type
     Line 8 ... Line N + 7: Atomic number x y z occupation state

     Line N + 8: number of sites that participated in the reaction
In the main body, the Format of .lkmc files

Benefits of using .lkmc

.lkmc can significantly reduce the disk storage requirement for trajectory files in lattice KMC simulations.

About

Template for a custom Python file reader which hooks into OVITO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%