LuaJIT FFI to Fortran iso_c_binding example
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

verlet.lua 117B

1234567
  1. local ffi = require("ffi")
  2. ffi.cdef[[
  3. void integrate(struct particle *, double);
  4. ]]
  5. return ffi.load("./verlet.so")