/[escript]/trunk/paso/src/Options_setDefaults.c
ViewVC logotype

Diff of /trunk/paso/src/Options_setDefaults.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3641 by lgao, Fri May 13 04:15:29 2011 UTC revision 3642 by caltinay, Thu Oct 27 03:41:51 2011 UTC
# Line 83  void Paso_Options_setDefaults(Paso_Optio Line 83  void Paso_Options_setDefaults(Paso_Optio
83    options->coarse_level_sparsity=-1.;    options->coarse_level_sparsity=-1.;
84    options->num_coarse_unknowns=-1;    options->num_coarse_unknowns=-1;
85  }  }
86    
87  void Paso_Options_showDiagnostics(const Paso_Options* options) {  void Paso_Options_showDiagnostics(const Paso_Options* options) {
88      printf("Paso diagonsitics:\n");      printf("Paso diagnostics:\n");
89      printf("\tnum_iter = %d\n",options->num_iter);      printf("\tnum_iter = %d\n",options->num_iter);
90      printf("\tnum_level = %d\n",options->num_level);      printf("\tnum_level = %d\n",options->num_level);
91      printf("\tnum_inner_iter = %d\n",options->num_inner_iter);      printf("\tnum_inner_iter = %d\n",options->num_inner_iter);
92      printf("\ttime = %e\n",options->time);      printf("\ttime = %e\n",options->time);
93      printf("\tset_up_time = %e\n",options->set_up_time);      printf("\tset_up_time = %e\n",options->set_up_time);
94      printf("\tcoarsening_selection_time = %e\n",options->coarsening_selection_time);      printf("\tcoarsening_selection_time = %e\n",options->coarsening_selection_time);
95      printf("\tscoarsening_matrix_time = %e\n",options->coarsening_matrix_time);      printf("\tcoarsening_matrix_time = %e\n",options->coarsening_matrix_time);
96      printf("\tnet_time = %e\n",options->net_time);      printf("\tnet_time = %e\n",options->net_time);
97      printf("\tresidual_norm = %e\n",options->residual_norm);      printf("\tresidual_norm = %e\n",options->residual_norm);
98      printf("\tconverged = %d\n",options->converged);      printf("\tconverged = %d\n",options->converged);
# Line 221  void Paso_Options_show(const Paso_Option Line 222  void Paso_Options_show(const Paso_Option
222      printf("\trefinements = %d\n",options->refinements);      printf("\trefinements = %d\n",options->refinements);
223      printf("\tcoarse_matrix_refinements = %d\n",options->coarse_matrix_refinements);      printf("\tcoarse_matrix_refinements = %d\n",options->coarse_matrix_refinements);
224      printf("\tcycle_type = %d\n",options->cycle_type);      printf("\tcycle_type = %d\n",options->cycle_type);
       
225  }  }
226    

Legend:
Removed from v.3641  
changed lines
  Added in v.3642

  ViewVC Help
Powered by ViewVC 1.1.26