lammps/examples/COUPLE/fortran
sjplimp a2f01ca576 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8636 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-08-13 23:49:26 +00:00
..
README git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8636 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-08-13 23:49:26 +00:00
libfwrapper.c git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8636 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-08-13 23:49:26 +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.