ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/io/RestWriter.hpp
(Generate patch)

Comparing trunk/src/io/RestWriter.hpp (file contents):
Revision 1359 by chrisfen, Thu Jun 22 15:21:01 2006 UTC vs.
Revision 1360 by cli2, Mon Sep 7 16:31:51 2009 UTC

# Line 1 | Line 1
1   /*
2 < * Copyright (c) 2005 The University of Notre Dame. All Rights Reserved.
2 > * Copyright (c) 2009 The University of Notre Dame. All Rights Reserved.
3   *
4   * The University of Notre Dame grants you ("Licensee") a
5   * non-exclusive, royalty free, license to use, modify and
# Line 50 | Line 50
50   #include <iostream>
51   #include <fstream>
52   #include <string>
53 #include <string.h>
54 #include <stdio.h>
55 #include <stdlib.h>
56 #include <unistd.h>
57 #include <sys/types.h>
58 #include <sys/stat.h>
59 #include <algorithm>
60 #include <vector>
53   #include <map>
54 + #include <vector>
55  
63 #include "primitives/Atom.hpp"
56   #include "brains/SimInfo.hpp"
57 < #include "brains/Thermo.hpp"
66 < #include "primitives/StuntDouble.hpp"
57 > #include "restraints/Restraint.hpp"
58  
59   namespace oopse {
60  
61    class RestWriter{
62      
63    public:
64 <    RestWriter( SimInfo* info );
64 >    RestWriter(SimInfo* info, const std::string& filename, std::vector<Restraint*> restraints);
65      ~RestWriter();
75    
76    void writeZAngFile();
77    
78  private:
79    void writeZangle(std::ostream& finalOut);
66  
67 +    void writeRest(std::vector<std::map<int, Restraint::RealPair> > restInfo);
68 +    
69 +  private:    
70      SimInfo* info_;
71 <    std::string outName_;
71 >    std::ofstream output_;
72    };
73  
74   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines