Response 5

This commit is contained in:
Gundolf Haase 2025-12-11 13:49:17 +01:00
commit cc7d3d3dc4
6 changed files with 17 additions and 1 deletions

View file

@ -58,4 +58,4 @@ print("u = ", u)
plt.tight_layout() plt.tight_layout()
plt.savefig("../task_c.png", dpi=300) plt.savefig("../task_c.png", dpi=300)
plt.show() plt.show()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

After

Width:  |  Height:  |  Size: 130 KiB

Before After
Before After

16
ex5/code/gh_response.txt Normal file
View file

@ -0,0 +1,16 @@
Good summary of results.
1: OK
2: OK
3: OK
task3.cpp:32
non initialzed memory for thread 0 (and the other threads)
4: OK
5:
CRS_Matrix::GetDiag non parallel
CRS_Matrix::CalculateLaplace:
"omp critical" is slower than an "omp atomic" for the += [worth to test that]

BIN
ex5/code/task_1.pdf Normal file

Binary file not shown.

BIN
ex5/code/task_2-5.pdf Normal file

Binary file not shown.

BIN
ex5/code/task_5.pdf Normal file

Binary file not shown.