ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-1.0/libmdtools/SimSetup.hpp
(Generate patch)

Comparing trunk/OOPSE-1.0/libmdtools/SimSetup.hpp (file contents):
Revision 1334 by gezelter, Fri Jul 16 18:58:03 2004 UTC vs.
Revision 1417 by tim, Tue Jul 27 15:41:17 2004 UTC

# Line 1 | Line 1
1   #ifndef __SIMSETUP_H__
2   #define __SIMSETUP_H__
3 <
3 > #include <string>
4   #include "MakeStamps.hpp"
5   #include "Globals.hpp"
6   #include "ForceFields.hpp"
# Line 8 | Line 8
8   #include "ReadWrite.hpp"
9   #include "AllIntegrator.hpp"
10  
11 + using namespace std;
12   // this routine is defined in BASS_interface.cpp
13   extern void set_interface_stamps( MakeStamps* ms, Globals* g );
14  
15 + string getPrefix(const string& str ){
16 +  string prefix = str;
17 +  int pos;
18 +
19 +  pos = prefix.rfind(".");
20 +  return  prefix.substr(0, pos);
21 + };
22 +
23   class SimSetup{
24  
25   public:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines