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

Comparing trunk/src/applications/hydrodynamics/Hydro.cpp (file contents):
Revision 2070 by gezelter, Sun Jun 16 15:15:42 2013 UTC vs.
Revision 2071 by gezelter, Sat Mar 7 21:41:51 2015 UTC

# Line 109 | Line 109 | int main(int argc, char* argv[]){
109    identMat(2,2) = 1.0;
110  
111    Globals* simParams = info->getSimParams();
112 <  RealType temperature;
113 <  RealType viscosity;
112 >  RealType temperature(0.0);
113 >  RealType viscosity(0.0);
114  
115    if (simParams->haveViscosity()) {
116      viscosity = simParams->getViscosity();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines