From bb21105aa0c699865e315930a6471cca20159dac Mon Sep 17 00:00:00 2001 From: sjplimp Date: Sat, 11 Aug 2012 19:17:33 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8611 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- doc/Section_howto.txt | 15 ++++++++------- doc/Section_start.txt | 16 ++++++++-------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/doc/Section_howto.txt b/doc/Section_howto.txt index fb94ceeaf8..b02ef0b79b 100644 --- a/doc/Section_howto.txt +++ b/doc/Section_howto.txt @@ -654,8 +654,8 @@ invoked with minimal overhead (no setup or clean-up) if you wish to do multiple short runs, driven by another program. Examples of driver codes that call LAMMPS as a library are included in -the "couple" directory of the LAMMPS distribution; see couple/README -for more details: +the examples/COUPLE directory of the LAMMPS distribution; see +examples/COUPLE/README for more details: simple: simple driver programs in C++ and C which invoke LAMMPS as a library :ulb,l @@ -1807,11 +1807,12 @@ details. The key idea of the library interface is that you can write any functions you wish to define how your code talks to LAMMPS and add them to src/library.cpp and src/library.h, as well as to the "Python -interface"_Section_python.html. The routines you add can access -or change any LAMMPS data you wish. The couple and python directories -have example C++ and C and Python codes which show how a driver code -can link to LAMMPS as a library, run LAMMPS on a subset of processors, -grab data from LAMMPS, change it, and put it back into LAMMPS. +interface"_Section_python.html. The routines you add can access or +change any LAMMPS data you wish. The examples/COUPLE and python +directories have example C++ and C and Python codes which show how a +driver code can link to LAMMPS as a library, run LAMMPS on a subset of +processors, grab data from LAMMPS, change it, and put it back into +LAMMPS. :line diff --git a/doc/Section_start.txt b/doc/Section_start.txt index d0641e3097..ff28bf4285 100644 --- a/doc/Section_start.txt +++ b/doc/Section_start.txt @@ -39,7 +39,6 @@ sub-directories: README: text file LICENSE: the GNU General Public License (GPL) bench: benchmark problems -couple: code coupling examples, using LAMMPS as a library doc: documentation examples: simple test problems potentials: embedded atom method (EAM) potential files @@ -794,13 +793,14 @@ When used from a C or Fortran program or a scripting language, the library has a simple function-style interface, provided in src/library.cpp and src/library.h. -See the sample codes couple/simple/simple.cpp and simple.c as examples -of C++ and C codes that invoke LAMMPS thru its library interface. -There are other examples as well in the couple directory which are -discussed in "Section_howto 10"_Section_howto.html#howto_10 of the -manual. See "Section_python"_Section_python.html of the manual for a -description of the Python wrapper provided with LAMMPS that operates -through the LAMMPS library interface. +See the sample codes in the examples/COUPLE/simple directory as +examples of C++ and C codes that invoke LAMMPS thru its library +interface. There are other examples as well in the examples/COUPLE +directory which are discussed in "Section_howto +10"_Section_howto.html#howto_10 of the manual. See +"Section_python"_Section_python.html of the manual for a description +of the Python wrapper provided with LAMMPS that operates through the +LAMMPS library interface. The files src/library.cpp and library.h contain the C-style interface to LAMMPS. See "Section_howto 19"_Section_howto.html#howto_19 of the