lammps/examples/COUPLE/fortran
sjplimp 58443251c3 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8604 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-08-11 19:05:13 +00:00
..
README git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8604 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-08-11 19:05:13 +00:00
libfwrapper.c git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8604 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-08-11 19:05:13 +00:00

README

libfwrapper.c is a C file that wraps the LAMMPS library API
in src/library.h so that it can be called from Fortran.

See the couple/simple/simple.f90 program for an example
of a Fortran code that does this.

See the README file in that dir for instructions
on how to build a Fortran code that uses this
wrapper and links to the LAMMPS library.