projects
/
GPU.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanage.
[GPU.git]
/
WCudaMSE
/
Student_Cuda_Image
/
src
/
cpp
/
core
/
05_HeatTransfert
/
moo
/
host
/
HeatTransfert.cu
diff --git
a/WCudaMSE/Student_Cuda_Image/src/cpp/core/05_HeatTransfert/moo/host/HeatTransfert.cu
b/WCudaMSE/Student_Cuda_Image/src/cpp/core/05_HeatTransfert/moo/host/HeatTransfert.cu
index
613e576
..
0818f52
100755
(executable)
--- a/
WCudaMSE/Student_Cuda_Image/src/cpp/core/05_HeatTransfert/moo/host/HeatTransfert.cu
+++ b/
WCudaMSE/Student_Cuda_Image/src/cpp/core/05_HeatTransfert/moo/host/HeatTransfert.cu
@@
-95,19
+95,19
@@
void HeatTransfert::setHeaters(HeatImage& image)
const float tempCentre = 1.0;
\r
const float tempCotes = 0.2;
\r
\r
const float tempCentre = 1.0;
\r
const float tempCotes = 0.2;
\r
\r
- for (int x =
179; x <= 1
95; x++)
\r
+ for (int x =
279; x <= 2
95; x++)
\r
{
\r
{
\r
- for (int y =
179; y <= 1
95; y++)
\r
+ for (int y =
279; y <= 2
95; y++)
\r
image.set(x, y, tempCotes);
\r
image.set(x, y, tempCotes);
\r
- for (int y =
605; y <= 6
21; y++)
\r
+ for (int y =
505; y <= 5
21; y++)
\r
image.set(x, y, tempCotes);
\r
}
\r
\r
image.set(x, y, tempCotes);
\r
}
\r
\r
- for (int x =
605; x <= 6
21; x++)
\r
+ for (int x =
505; x <= 5
21; x++)
\r
{
\r
{
\r
- for (int y =
179; y <= 1
95; y++)
\r
+ for (int y =
279; y <= 2
95; y++)
\r
image.set(x, y, tempCotes);
\r
image.set(x, y, tempCotes);
\r
- for (int y =
605; y <= 6
21; y++)
\r
+ for (int y =
505; y <= 5
21; y++)
\r
image.set(x, y, tempCotes);
\r
}
\r
\r
image.set(x, y, tempCotes);
\r
}
\r
\r