ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/hydrodynamics/HydroProp.cpp
(Generate patch)

Comparing branches/development/src/hydrodynamics/HydroProp.cpp (file contents):
Revision 1873 by gezelter, Wed Feb 20 15:39:39 2013 UTC vs.
Revision 1874 by gezelter, Wed May 15 15:09:35 2013 UTC

# Line 51 | Line 51 | namespace OpenMD {
51      hasXi = false;
52    }
53    
54 <  HydroProp::HydroProp(Vector3d cor, Mat6x6d Xi, Mat6x6d D) : cor_(cor), Xi_(Xi), D_(D){
55 <    hasCOR = true;
56 <    hasXi = true;
54 >  HydroProp::HydroProp(Vector3d cor, Mat6x6d Xi, Mat6x6d D) : cor_(cor),
55 >                                                              Xi_(Xi), D_(D),
56 >                                                              hasCOR(true),
57 >                                                              hasXi(true) {
58    }
59    
60 <  HydroProp::HydroProp(const std::string frictionLine) {
60 >  HydroProp::HydroProp(const std::string &frictionLine) {
61      
62      StringTokenizer tokenizer(frictionLine);
63      if (tokenizer.countTokens() >= 40) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines