@@ -64,7 +64,7 @@ struct calculation_results
6464{
6565 uint64_t m ;
6666 uint64_t stat_iteration ; /* number of current iteration */
67- double stat_accuracy ; /* actual stat_accuracy of all slaves in iteration */
67+ double stat_accuracy ; /* actual accuracy of all slaves in iteration */
6868};
6969
7070struct options
@@ -222,7 +222,7 @@ allocateMemory(size_t size)
222222
223223 if ((p = malloc (size )) == NULL )
224224 {
225- printf ("Speicherprobleme ! (%" PRIu64 " Bytes angefordert )\n" , size );
225+ printf ("Memory error ! (%" PRIu64 " Bytes requested )\n" , size );
226226 exit (1 );
227227 }
228228
@@ -397,9 +397,9 @@ displayStatistics(struct calculation_arguments const* arguments, struct calculat
397397 int N = arguments -> N ;
398398 double time = (comp_time .tv_sec - start_time .tv_sec ) + (comp_time .tv_usec - start_time .tv_usec ) * 1e-6 ;
399399
400- printf ("Berechnungszeit: %f s\n" , time );
401- printf ("Speicherbedarf: %f MiB\n" , (N + 1 ) * (N + 1 ) * sizeof (double ) * arguments -> num_matrices / 1024.0 / 1024.0 );
402- printf ("Berechnungsmethode : " );
400+ printf ("Calculation time: %f s\n" , time );
401+ printf ("Memory usage: %f MiB\n" , (N + 1 ) * (N + 1 ) * sizeof (double ) * arguments -> num_matrices / 1024.0 / 1024.0 );
402+ printf ("Calculation method : " );
403403
404404 if (options -> method == METH_GAUSS_SEIDEL )
405405 {
@@ -412,7 +412,7 @@ displayStatistics(struct calculation_arguments const* arguments, struct calculat
412412
413413 printf ("\n" );
414414 printf ("Interlines: %" PRIu64 "\n" , options -> interlines );
415- printf ("Stoerfunktion: " );
415+ printf ("Inference function: " );
416416
417417 if (options -> inf_func == FUNC_F0 )
418418 {
@@ -424,32 +424,32 @@ displayStatistics(struct calculation_arguments const* arguments, struct calculat
424424 }
425425
426426 printf ("\n" );
427- printf ("Terminierung: " );
427+ printf ("Termination: " );
428428
429429 if (options -> termination == TERM_ACC )
430430 {
431- printf ("Hinreichende Genaugkeit " );
431+ printf ("Required accuracy " );
432432 }
433433 else if (options -> termination == TERM_ITER )
434434 {
435- printf ("Anzahl der Iterationen " );
435+ printf ("Number of iterations " );
436436 }
437437
438438 printf ("\n" );
439- printf ("Anzahl Iterationen: %" PRIu64 "\n" , results -> stat_iteration );
440- printf ("Norm des Fehlers: %e\n" , results -> stat_accuracy );
439+ printf ("Number iterations: %" PRIu64 "\n" , results -> stat_iteration );
440+ printf ("Residuum: %e\n" , results -> stat_accuracy );
441441 printf ("\n" );
442442}
443443
444444/****************************************************************************/
445- /** Beschreibung der Funktion displayMatrix: **/
445+ /** Explanation of the displayMatrix function: **/
446446/** **/
447- /** Die Funktion displayMatrix gibt eine Matrix **/
448- /** in einer "ubersichtlichen Art und Weise auf die Standardausgabe aus. **/
447+ /** The function displayMatrix outputs a Matrix **/
448+ /** in a humanly readable way. **/
449449/** **/
450- /** Die "Ubersichtlichkeit wird erreicht, indem nur ein Teil der Matrix **/
451- /** ausgegeben wird. Aus der Matrix werden die Randzeilen/-spalten sowie **/
452- /** sieben Zwischenzeilen ausgegeben. **/
450+ /** This is achieved by only printing parts of the matrix. **/
451+ /** From the matrix the first and last lines/columns and seven in between **/
452+ /** rows/cols are printed out. **/
453453/****************************************************************************/
454454static void
455455displayMatrix (struct calculation_arguments * arguments , struct calculation_results * results , struct options * options )
0 commit comments