Loading src/Examples/flow-sw/navierStokesProblem_impl.h +5 −2 Original line number Diff line number Diff line Loading @@ -177,7 +177,10 @@ makeSnapshot( const RealType& time, physicalVariablesGetter.getVelocity( this->conservativeVariables, this->velocity ); physicalVariablesGetter.getPressure( this->conservativeVariables, this->gamma, this->pressure ); FileName fileName; TNL_ASSERT_TRUE( false, "The following does not work." ); // nvcc 10.1.243 // TNL/Functions/VectorField.h|404| error #2986: cannot use an entity undefined in device code /* FileName fileName; fileName.setExtension( "vti" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); Loading @@ -194,7 +197,7 @@ makeSnapshot( const RealType& time, fileName.setFileNameBase( "momentum-" ); this->conservativeVariables->getMomentum()->write( "momentum", fileName.getFileName() ); */ return true; } Loading src/Examples/flow-vl/navierStokesProblem_impl.h +5 −2 Original line number Diff line number Diff line Loading @@ -177,7 +177,10 @@ makeSnapshot( const RealType& time, physicalVariablesGetter.getVelocity( this->conservativeVariables, this->velocity ); physicalVariablesGetter.getPressure( this->conservativeVariables, this->gamma, this->pressure ); FileName fileName; TNL_ASSERT_TRUE( false, "The following does not work." ); // nvcc 10.1.243 // TNL/Functions/VectorField.h|404| error #2986: cannot use an entity undefined in device code /* FileName fileName; fileName.setExtension( "vti" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); Loading @@ -194,7 +197,7 @@ makeSnapshot( const RealType& time, fileName.setFileNameBase( "momentum-" ); this->conservativeVariables->getMomentum()->write( "momentum", fileName.getFileName() ); */ return true; } Loading src/Examples/flow/navierStokesProblem_impl.h +5 −2 Original line number Diff line number Diff line Loading @@ -189,7 +189,10 @@ makeSnapshot( const RealType& time, physicalVariablesGetter.getVelocity( this->conservativeVariables, this->velocity ); physicalVariablesGetter.getPressure( this->conservativeVariables, this->gamma, this->pressure ); FileName fileName; TNL_ASSERT_TRUE( false, "The following does not work." ); // nvcc 10.1.243 // TNL/Functions/VectorField.h|404| error #2986: cannot use an entity undefined in device code /*FileName fileName; fileName.setExtension( "vti" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); Loading @@ -206,7 +209,7 @@ makeSnapshot( const RealType& time, fileName.setFileNameBase( "momentum-" ); this->conservativeVariables->getMomentum()->write( "momentum", fileName.getFileName() ); */ return true; } Loading src/Examples/inviscid-flow-sw/eulerProblem_impl.h +6 −2 Original line number Diff line number Diff line Loading @@ -174,7 +174,11 @@ makeSnapshot( const RealType& time, physicalVariablesGetter.getVelocity( this->conservativeVariables, this->velocity ); physicalVariablesGetter.getPressure( this->conservativeVariables, this->gamma, this->pressure ); FileName fileName; TNL_ASSERT_TRUE( false, "The following does not work." ); // nvcc 10.1.243 // TNL/Functions/VectorField.h|404| error #2986: cannot use an entity undefined in device code /* FileName fileName; fileName.setExtension( "vti" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); Loading @@ -191,7 +195,7 @@ makeSnapshot( const RealType& time, fileName.setFileNameBase( "momentum-" ); this->conservativeVariables->getMomentum()->write( "momentum", fileName.getFileName() ); */ return true; } Loading src/Examples/inviscid-flow-vl/eulerProblem_impl.h +5 −2 Original line number Diff line number Diff line Loading @@ -174,7 +174,10 @@ makeSnapshot( const RealType& time, physicalVariablesGetter.getVelocity( this->conservativeVariables, this->velocity ); physicalVariablesGetter.getPressure( this->conservativeVariables, this->gamma, this->pressure ); FileName fileName; TNL_ASSERT_TRUE( false, "The following does not work." ); // nvcc 10.1.243 // TNL/Functions/VectorField.h|404| error #2986: cannot use an entity undefined in device code /*FileName fileName; fileName.setExtension( "vti" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); Loading @@ -191,7 +194,7 @@ makeSnapshot( const RealType& time, fileName.setFileNameBase( "momentum-" ); this->conservativeVariables->getMomentum()->write( "momentum", fileName.getFileName() ); */ return true; } Loading Loading
src/Examples/flow-sw/navierStokesProblem_impl.h +5 −2 Original line number Diff line number Diff line Loading @@ -177,7 +177,10 @@ makeSnapshot( const RealType& time, physicalVariablesGetter.getVelocity( this->conservativeVariables, this->velocity ); physicalVariablesGetter.getPressure( this->conservativeVariables, this->gamma, this->pressure ); FileName fileName; TNL_ASSERT_TRUE( false, "The following does not work." ); // nvcc 10.1.243 // TNL/Functions/VectorField.h|404| error #2986: cannot use an entity undefined in device code /* FileName fileName; fileName.setExtension( "vti" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); Loading @@ -194,7 +197,7 @@ makeSnapshot( const RealType& time, fileName.setFileNameBase( "momentum-" ); this->conservativeVariables->getMomentum()->write( "momentum", fileName.getFileName() ); */ return true; } Loading
src/Examples/flow-vl/navierStokesProblem_impl.h +5 −2 Original line number Diff line number Diff line Loading @@ -177,7 +177,10 @@ makeSnapshot( const RealType& time, physicalVariablesGetter.getVelocity( this->conservativeVariables, this->velocity ); physicalVariablesGetter.getPressure( this->conservativeVariables, this->gamma, this->pressure ); FileName fileName; TNL_ASSERT_TRUE( false, "The following does not work." ); // nvcc 10.1.243 // TNL/Functions/VectorField.h|404| error #2986: cannot use an entity undefined in device code /* FileName fileName; fileName.setExtension( "vti" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); Loading @@ -194,7 +197,7 @@ makeSnapshot( const RealType& time, fileName.setFileNameBase( "momentum-" ); this->conservativeVariables->getMomentum()->write( "momentum", fileName.getFileName() ); */ return true; } Loading
src/Examples/flow/navierStokesProblem_impl.h +5 −2 Original line number Diff line number Diff line Loading @@ -189,7 +189,10 @@ makeSnapshot( const RealType& time, physicalVariablesGetter.getVelocity( this->conservativeVariables, this->velocity ); physicalVariablesGetter.getPressure( this->conservativeVariables, this->gamma, this->pressure ); FileName fileName; TNL_ASSERT_TRUE( false, "The following does not work." ); // nvcc 10.1.243 // TNL/Functions/VectorField.h|404| error #2986: cannot use an entity undefined in device code /*FileName fileName; fileName.setExtension( "vti" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); Loading @@ -206,7 +209,7 @@ makeSnapshot( const RealType& time, fileName.setFileNameBase( "momentum-" ); this->conservativeVariables->getMomentum()->write( "momentum", fileName.getFileName() ); */ return true; } Loading
src/Examples/inviscid-flow-sw/eulerProblem_impl.h +6 −2 Original line number Diff line number Diff line Loading @@ -174,7 +174,11 @@ makeSnapshot( const RealType& time, physicalVariablesGetter.getVelocity( this->conservativeVariables, this->velocity ); physicalVariablesGetter.getPressure( this->conservativeVariables, this->gamma, this->pressure ); FileName fileName; TNL_ASSERT_TRUE( false, "The following does not work." ); // nvcc 10.1.243 // TNL/Functions/VectorField.h|404| error #2986: cannot use an entity undefined in device code /* FileName fileName; fileName.setExtension( "vti" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); Loading @@ -191,7 +195,7 @@ makeSnapshot( const RealType& time, fileName.setFileNameBase( "momentum-" ); this->conservativeVariables->getMomentum()->write( "momentum", fileName.getFileName() ); */ return true; } Loading
src/Examples/inviscid-flow-vl/eulerProblem_impl.h +5 −2 Original line number Diff line number Diff line Loading @@ -174,7 +174,10 @@ makeSnapshot( const RealType& time, physicalVariablesGetter.getVelocity( this->conservativeVariables, this->velocity ); physicalVariablesGetter.getPressure( this->conservativeVariables, this->gamma, this->pressure ); FileName fileName; TNL_ASSERT_TRUE( false, "The following does not work." ); // nvcc 10.1.243 // TNL/Functions/VectorField.h|404| error #2986: cannot use an entity undefined in device code /*FileName fileName; fileName.setExtension( "vti" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); Loading @@ -191,7 +194,7 @@ makeSnapshot( const RealType& time, fileName.setFileNameBase( "momentum-" ); this->conservativeVariables->getMomentum()->write( "momentum", fileName.getFileName() ); */ return true; } Loading