Commit 8391172d authored by Jan Schäfer's avatar Jan Schäfer Committed by Jakub Klinkovský
Browse files

repairs to make project compilable

parent 115b1ccb
Loading
Loading
Loading
Loading
+12 −8
Original line number Original line Diff line number Diff line
@@ -238,20 +238,24 @@ makeSnapshot( const RealType& time,
   fileName.setExtension( "tnl" );
   fileName.setExtension( "tnl" );
   fileName.setIndex( step );
   fileName.setIndex( step );
   fileName.setFileNameBase( "density-" );
   fileName.setFileNameBase( "density-" );
   if( ! this->conservativeVariables->getDensity()->save( fileName.getFileName() ) )
//   if( ! this->conservativeVariables->getDensity()->save( fileName.getFileName() ) )
      return false;
   this->conservativeVariables->getDensity()->save( fileName.getFileName() );
//      return false;
   
   
   fileName.setFileNameBase( "velocity-" );
   fileName.setFileNameBase( "velocity-" );
   if( ! this->velocity->save( fileName.getFileName() ) )
//   if( ! this->velocity->save( fileName.getFileName() ) )
      return false;
   this->velocity->save( fileName.getFileName() );
//      return false;


   fileName.setFileNameBase( "pressure-" );
   fileName.setFileNameBase( "pressure-" );
   if( ! this->pressure->save( fileName.getFileName() ) )
//   if( ! this->pressure->save( fileName.getFileName() ) )
      return false;
   this->pressure->save( fileName.getFileName() );
//      return false;


   fileName.setFileNameBase( "energy-" );
   fileName.setFileNameBase( "energy-" );
   if( ! this->conservativeVariables->getEnergy()->save( fileName.getFileName() ) )
//   if( ! this->conservativeVariables->getEnergy()->save( fileName.getFileName() ) )
      return false;
   this->conservativeVariables->getEnergy()->save( fileName.getFileName() );
//      return false;
   return true;
   return true;
}
}