From 8391172dbcc65b8d6636544fb2857a74af9f57c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Sch=C3=A4fer?= <schafjan@fjfi.cvut.cz> Date: Tue, 16 Apr 2019 18:34:53 +0200 Subject: [PATCH] repairs to make project compilable --- src/Examples/flows/navierStokesProblem_impl.h | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/src/Examples/flows/navierStokesProblem_impl.h b/src/Examples/flows/navierStokesProblem_impl.h index 503802aeec..047379d0fc 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; } -- GitLab