lammps/lib/reax
athomps 0f9ba37ca6 Added hbnewflag argument to pair_style reax
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4850 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2010-09-24 22:55:07 +00:00
..
Makefile.g77 Cleaned up Makefiles and added include dependencies 2010-09-07 19:56:20 +00:00
Makefile.g95 Cleaned up Makefiles and added include dependencies 2010-09-07 19:56:20 +00:00
Makefile.gfortran Cleaned up Makefiles and added include dependencies 2010-09-07 19:56:20 +00:00
Makefile.ifort Cleaned up Makefiles and added include dependencies 2010-09-07 19:56:20 +00:00
Makefile.pgf90 Cleaned up Makefiles and added include dependencies 2010-09-07 19:56:20 +00:00
Makefile.redsky Cleaned up Makefiles and added include dependencies 2010-09-07 19:56:20 +00:00
Makefile.tbird Cleaned up Makefiles and added include dependencies 2010-09-07 19:56:20 +00:00
README Improved portability for _IBM platform. 2009-06-02 17:51:22 +00:00
cbka.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2571 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-12 16:09:50 +00:00
cbkabo.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkatomcoord.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkbo.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkboncor.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkbopi.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkbopi2.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkbosi.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkc.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2571 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-12 16:09:50 +00:00
cbkch.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkcha.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkcharmol.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkchb.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkconst.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkcovbon.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkd.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkdbodc.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkdbopi2ndc.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkdbopidc.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkdbopindc.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkdcell.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkdhdc.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkdistan.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkdrdc.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkefield.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkenergies.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkeregime.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkff.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkfftorang.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkh.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkhbond.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkia.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkidbo.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkimove.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkinit.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbklonpar.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkmolec.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbknmolat.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbknonbon.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbknubon2.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbknvlbo.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbknvlown.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkpairs.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkpres.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkqa.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkrbo.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkrestr.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbksrtbon1.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbksrthb.blk Added hbnewflag argument to pair_style reax 2010-09-24 22:55:07 +00:00
cbktorang.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbktorsion.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbktregime.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkvalence.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cbkvregime.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
cellcoord.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
control.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
opt.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
reax_charges.F git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
reax_connect.F Added hbnewflag argument to pair_style reax 2010-09-24 22:54:26 +00:00
reax_defs.h git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
reax_inout.F git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2581 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-12 20:48:12 +00:00
reax_lammps.F git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
reax_poten.F Added hbnewflag argument to pair_style reax 2010-09-24 22:54:26 +00:00
reax_reac.F Improved portability for _IBM platform. 2009-06-02 17:51:22 +00:00
small.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00
valang.blk git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2553 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2009-02-06 16:39:43 +00:00

README

ReaxFF library

Aidan Thompson, Sandia National Labs
athomps at sandia.gov
Jan 2008

--------------

This library is an implementation of the ReaxFF potential,
specifically designed to work with LAMMPS. It is derived from Adri van
Duin's original serial code, with intervening incarnations in CMDF and
GRASP.

This library can be built with any decent Fortran compiler, before
LAMMPS is built, so LAMMPS can link against it. The compiler must
produce object files compatible with the LAMMPS C++ compiler. If not,
the LAMMPS build will fail during linking.

Build the library using one of the provided Makefiles or create your
own, specific to your compiler and system.  For example:

make -f Makefile.g95

If the build is successful, you should end up with a libreax.a file.

Note that the include file reax_defs.h is used by both the ReaxFF
library source files and the LAMMPS pair_reax.cpp source file (from
module REAX).  It contains dimensions of statically-allocated arrays
created by the ReaxFF library. The size of these arrays must be set
small enough to avoid exceeding the available machine memory, and
large enough to fit the actual data generated by ReaxFF. If you change
the values in reax_defs.h, you must first rebuild the library and then
rebuild LAMMPS.

This library is called by functions in pair_reax.cpp.
The C++ to FORTRAN function calls in pair_reax.cpp
assume that FORTRAN object names are converted to C object names by 
appending an underscore character. This is generally the case, but 
on machines that do not conform to this convention, you will need to 
modify either the C++ code or your compiler settings. The name conversion
is handled by the preprocessor macro called FORTRAN in the file 
pair_reax_fortran.h, which is included by pair_reax.cpp.
Different definitions of this macro can be obtained by adding a 
machine-specific macro definition to the CCFLAGS variable in your 
your LAMMPS Makefile e.g. -D_IBM. See pair_reax_fortran.h for more info.