Changeset 3820
- Timestamp:
- 05/18/10 14:00:16 (15 years ago)
- Location:
- issm/trunk/src/c/parallel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/parallel/convergence.cpp
r3751 r3820 30 30 int verbose; 31 31 double yts; 32 33 /*Check arguments*/ 34 ISSMASSERT(Kff && pf && uf && old_uf); 32 35 33 36 /*get convergence options*/ … … 65 68 res=nKUoldF/nF; 66 69 if (isnan(res)){ 67 PetscSynchronizedPrintf(MPI_COMM_WORLD,"norm nf %lf \n",nF); 68 PetscSynchronizedFlush(MPI_COMM_WORLD); 69 70 PetscSynchronizedPrintf(MPI_COMM_WORLD,"norm kuold %lf \n",nKUoldF); 71 PetscSynchronizedFlush(MPI_COMM_WORLD); 70 _printf_("norm nf = %lf and norm kuold = %lf\n",nF,nKUoldF); 72 71 ISSMERROR("mechanical equilibrium convergence criterion is NaN!"); 73 72 } -
issm/trunk/src/c/parallel/diagnostic_core_nonlinear.cpp
r3751 r3820 102 102 PenaltyConstraintsx(&constraints_converged, &num_unstable_constraints, fem->elements,fem->nodes,fem->vertices,loads,fem->materials,fem->parameters,analysis_type,sub_analysis_type); 103 103 104 //if(verbose)_printf_(" number of unstable constraints: %i\n",num_unstable_constraints); 105 _printf_(" number of unstable constraints: %i\n",num_unstable_constraints); 104 if(verbose)_printf_(" number of unstable constraints: %i\n",num_unstable_constraints); 106 105 107 106 /*Figure out if convergence is reached.*/ … … 127 126 break; 128 127 } 129 130 128 } 131 129 132 //more output might be needed, when running in control .c130 //more output might be needed, when running in control 133 131 if(pKff0){ 134 132
Note:
See TracChangeset
for help on using the changeset viewer.