Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tnl-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TNL
tnl-dev
Commits
41daa876
There was an error fetching the commit references. Please try again later.
Commit
41daa876
authored
9 years ago
by
Jakub Klinkovský
Browse files
Options
Downloads
Patches
Plain Diff
Avoid compiler warnings generated by -Wall
parent
2349f71e
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/core/tnlCuda_impl.h
+3
-0
3 additions, 0 deletions
src/core/tnlCuda_impl.h
src/solvers/ode/tnlEulerSolver_impl.h
+1
-0
1 addition, 0 deletions
src/solvers/ode/tnlEulerSolver_impl.h
src/solvers/pde/tnlLinearSystemAssembler.h
+2
-2
2 additions, 2 deletions
src/solvers/pde/tnlLinearSystemAssembler.h
with
6 additions
and
2 deletions
src/core/tnlCuda_impl.h
+
3
−
0
View file @
41daa876
...
@@ -92,6 +92,9 @@ ObjectType* tnlCuda::passToDevice( const ObjectType& object )
...
@@ -92,6 +92,9 @@ ObjectType* tnlCuda::passToDevice( const ObjectType& object )
return
0
;
return
0
;
}
}
return
deviceObject
;
return
deviceObject
;
#else
tnlAssert
(
false
,
cerr
<<
"CUDA support is missing."
);
return
0
;
#endif
#endif
}
}
...
...
This diff is collapsed.
Click to expand it.
src/solvers/ode/tnlEulerSolver_impl.h
+
1
−
0
View file @
41daa876
...
@@ -59,6 +59,7 @@ bool tnlEulerSolver< Problem > :: setup( const tnlParameterContainer& parameters
...
@@ -59,6 +59,7 @@ bool tnlEulerSolver< Problem > :: setup( const tnlParameterContainer& parameters
tnlExplicitSolver
<
Problem
>::
setup
(
parameters
,
prefix
);
tnlExplicitSolver
<
Problem
>::
setup
(
parameters
,
prefix
);
if
(
parameters
.
checkParameter
(
prefix
+
"euler-cfl"
)
)
if
(
parameters
.
checkParameter
(
prefix
+
"euler-cfl"
)
)
this
->
setCFLCondition
(
parameters
.
getParameter
<
double
>
(
prefix
+
"euler-cfl"
)
);
this
->
setCFLCondition
(
parameters
.
getParameter
<
double
>
(
prefix
+
"euler-cfl"
)
);
return
true
;
}
}
template
<
typename
Problem
>
template
<
typename
Problem
>
...
...
This diff is collapsed.
Click to expand it.
src/solvers/pde/tnlLinearSystemAssembler.h
+
2
−
2
View file @
41daa876
...
@@ -36,6 +36,8 @@ class tnlLinearSystemAssemblerTraverserUserData
...
@@ -36,6 +36,8 @@ class tnlLinearSystemAssemblerTraverserUserData
const
Real
*
tau
;
const
Real
*
tau
;
const
Real
*
timeDiscretisationCoefficient
;
const
DifferentialOperator
*
differentialOperator
;
const
DifferentialOperator
*
differentialOperator
;
const
BoundaryConditions
*
boundaryConditions
;
const
BoundaryConditions
*
boundaryConditions
;
...
@@ -46,8 +48,6 @@ class tnlLinearSystemAssemblerTraverserUserData
...
@@ -46,8 +48,6 @@ class tnlLinearSystemAssemblerTraverserUserData
Matrix
*
matrix
;
Matrix
*
matrix
;
const
Real
*
timeDiscretisationCoefficient
;
tnlLinearSystemAssemblerTraverserUserData
(
const
Real
&
time
,
tnlLinearSystemAssemblerTraverserUserData
(
const
Real
&
time
,
const
Real
&
tau
,
const
Real
&
tau
,
const
Real
&
timeDiscretisationCoefficient
,
const
Real
&
timeDiscretisationCoefficient
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment