response Ex7

This commit is contained in:
Gundolf Haase 2026-01-08 11:36:57 +01:00
commit be1b7eceb9
6 changed files with 526 additions and 513 deletions

BIN
ex7/ex7_2.pdf Normal file

Binary file not shown.

BIN
ex7/ex7_3.pdf Normal file

Binary file not shown.

BIN
ex7/ex7_4.pdf Normal file

Binary file not shown.

View file

@ -33,7 +33,7 @@ int main(int argc, char **argv )
cout << "\n There are " << numprocs << " processes running.\n \n"; cout << "\n There are " << numprocs << " processes running.\n \n";
} }
int const check_rank=0; // choose the MPI process you would like to check the mesh int const check_rank=1; // choose the MPI process you would like to check the mesh
//if ( check_rank == myrank ) mesh.Debug(); //if ( check_rank == myrank ) mesh.Debug();
//if ( check_rank == myrank ) mesh.DebugEdgeBased(); //if ( check_rank == myrank ) mesh.DebugEdgeBased();
@ -71,6 +71,10 @@ int main(int argc, char **argv )
} }
} }
// GH
char sgh;
cin >> sgh;
// -------------------- E11 -------------------- // -------------------- E11 --------------------
int global_nodes = mesh.GlobalNodes(); int global_nodes = mesh.GlobalNodes();

File diff suppressed because it is too large Load diff

25
ex7/gh_response.txt Normal file
View file

@ -0,0 +1,25 @@
2: OK; rank and tag used
3:
E5: DebugVector(): numprocs iterations (cumbersome)
E6: OK
E7: MinMax: no global exchange [-0.5]
E8: Allroallv: three versions realized [+0.5]
4:
E9: only the initialization from template has been used, not the coordinates [-1]
E10: _sendbuf is vector<double>
VecAccu(...int..) not correct [-1]
check data from rank 1
E11:
Global_Nodes() wrong result [-2]
Interface nodes counted multiple times.
E12: Ok
E13: OK