ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/applications/staticProps/NanoLength.cpp
(Generate patch)

Comparing trunk/src/applications/staticProps/NanoLength.cpp (file contents):
Revision 1941 by gezelter, Sun Jun 16 15:15:42 2013 UTC vs.
Revision 1942 by gezelter, Tue Nov 5 18:33:42 2013 UTC

# Line 54 | Line 54 | NanoLength::NanoLength(SimInfo* info,
54   NanoLength::NanoLength(SimInfo* info,
55                         const std::string& filename,
56                         const std::string& sele)
57 <  : StaticAnalyser(info, filename), selectionScript_(sele), evaluator_(info), seleMan_(info) {
57 >  : StaticAnalyser(info, filename), selectionScript_(sele), evaluator_(info),
58 >    seleMan_(info) {
59    setOutputName(getPrefix(filename) + ".length");
60    
61    osq.open(getOutputFileName().c_str());
# Line 118 | Line 119 | void NanoLength::process() {
119        osq << time << "\t" << rodLength << std::endl;      
120      }
121    }
122 +  osq.close();
123   }
124      
125   RealType NanoLength::getLength(std::vector<StuntDouble*> atoms) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines