diff --git a/src/Examples/flows/navierStokesProblem_impl.h b/src/Examples/flows/navierStokesProblem_impl.h index 503802aeec1e7bf3fc7d4319947f9639f211273c..047379d0fc2618ee78c6559fba4e8d697cc2d9a0 100644 --- a/src/Examples/flows/navierStokesProblem_impl.h +++ b/src/Examples/flows/navierStokesProblem_impl.h @@ -238,20 +238,24 @@ makeSnapshot( const RealType& time, fileName.setExtension( "tnl" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); - if( ! this->conservativeVariables->getDensity()->save( fileName.getFileName() ) ) - return false; +// if( ! this->conservativeVariables->getDensity()->save( fileName.getFileName() ) ) + this->conservativeVariables->getDensity()->save( fileName.getFileName() ); +// return false; fileName.setFileNameBase( "velocity-" ); - if( ! this->velocity->save( fileName.getFileName() ) ) - return false; +// if( ! this->velocity->save( fileName.getFileName() ) ) + this->velocity->save( fileName.getFileName() ); +// return false; fileName.setFileNameBase( "pressure-" ); - if( ! this->pressure->save( fileName.getFileName() ) ) - return false; +// if( ! this->pressure->save( fileName.getFileName() ) ) + this->pressure->save( fileName.getFileName() ); +// return false; fileName.setFileNameBase( "energy-" ); - if( ! this->conservativeVariables->getEnergy()->save( fileName.getFileName() ) ) - return false; +// if( ! this->conservativeVariables->getEnergy()->save( fileName.getFileName() ) ) + this->conservativeVariables->getEnergy()->save( fileName.getFileName() ); +// return false; return true; }