readcon-core 0.14.0

An oxidized single and multiple CON file reader and writer with FFI bindings for ergonomic C/C++ usage.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
program read_first
  use readcon
  implicit none
  type(frame_t) :: fr
  character(len=*), parameter :: path = &
    "/home/rgoswami/Git/Github/LODE/readcon-core/resources/test/tiny_cuh2.con"
  fr = read_first_frame(path)
  if (fr%valid()) then
    print *, "atoms:", fr%natoms()
    print *, "metadata:", fr%metadata_json()
    call fr%free()
  else
    error stop "read failed"
  end if
end program read_first