| /petsc/src/ts/tests/output/ |
| H A D | ex2_be_adapt.out | 2 At t = 0.000000e+00 errors = 0.000000e+00 0.000000e+00 0.000000e+00 4 At t = 1.000000e-03 errors = 5.028445e-06 7.040158e-06 5.028445e-06 6 At t = 2.000000e-03 errors = 1.009117e-05 1.412871e-05 1.009117e-05 8 At t = 4.000000e-03 errors = 3.052675e-05 4.274366e-05 3.052675e-05 10 At t = 8.000000e-03 errors = 1.139107e-04 1.595211e-04 1.139107e-04 12 At t = 1.256846e-02 errors = 2.257669e-04 3.162086e-04 2.257669e-04 14 At t = 1.765770e-02 errors = 3.688770e-04 5.167241e-04 3.688770e-04 16 At t = 2.275554e-02 errors = 5.174337e-04 7.249248e-04 5.174337e-04 18 At t = 2.796519e-02 errors = 6.778071e-04 9.497414e-04 6.778071e-04 20 At t = 3.312730e-02 errors = 8.408260e-04 1.178323e-03 8.408260e-04 [all …]
|
| H A D | ex2_euler.out | 2 At t = 0.000000e+00 errors = 0.000000e+00 0.000000e+00 0.000000e+00 4 At t = 1.000000e-03 errors = -5.005672e-06 -7.008007e-06 -5.005672e-06 6 At t = 2.000000e-03 errors = -1.004541e-05 -1.406411e-05 -1.004541e-05 8 At t = 3.000000e-03 errors = -1.511939e-05 -2.116855e-05 -1.511939e-05 10 At t = 4.000000e-03 errors = -2.022779e-05 -2.832159e-05 -2.022779e-05 12 At t = 5.000000e-03 errors = -2.537078e-05 -3.552346e-05 -2.537078e-05 14 At t = 6.000000e-03 errors = -3.054855e-05 -4.277443e-05 -3.054855e-05 16 At t = 7.000000e-03 errors = -3.576126e-05 -5.007473e-05 -3.576126e-05 18 At t = 8.000000e-03 errors = -4.100910e-05 -5.742463e-05 -4.100910e-05 20 At t = 9.000000e-03 errors = -4.629224e-05 -6.482438e-05 -4.629224e-05 [all …]
|
| H A D | ex2_beuler.out | 2 At t = 0.000000e+00 errors = 0.000000e+00 0.000000e+00 0.000000e+00 4 At t = 1.000000e-03 errors = 5.028445e-06 7.040158e-06 5.028445e-06 6 At t = 2.000000e-03 errors = 1.009117e-05 1.412871e-05 1.009117e-05 8 At t = 3.000000e-03 errors = 1.518836e-05 2.126592e-05 1.518836e-05 10 At t = 4.000000e-03 errors = 2.032017e-05 2.845202e-05 2.032017e-05 12 At t = 5.000000e-03 errors = 2.548681e-05 3.568727e-05 2.548681e-05 14 At t = 6.000000e-03 errors = 3.068843e-05 4.297191e-05 3.068843e-05 16 At t = 7.000000e-03 errors = 3.592522e-05 5.030621e-05 3.592522e-05 18 At t = 8.000000e-03 errors = 4.119736e-05 5.769042e-05 4.119736e-05 20 At t = 9.000000e-03 errors = 4.650503e-05 6.512480e-05 4.650503e-05 [all …]
|
| H A D | ex2_rk.out | 2 At t = 0.000000e+00 errors = 0.000000e+00 0.000000e+00 0.000000e+00 5 At t = 1.000000e-03 errors = -4.836798e-12 -6.837864e-12 -4.836798e-12 8 At t = 1.100000e-02 errors = -4.883664e-08 -6.904508e-08 -4.883664e-08 11 At t = 6.696691e-02 errors = -5.123787e-05 -7.244106e-05 -5.123787e-05 14 At t = 1.216158e-01 errors = -1.180127e-04 -1.668553e-04 -1.180127e-04 17 At t = 1.748670e-01 errors = -2.026093e-04 -2.864740e-04 -2.026093e-04 20 At t = 2.269190e-01 errors = -3.088180e-04 -4.366573e-04 -3.088180e-04 23 At t = 2.779422e-01 errors = -4.412004e-04 -6.238561e-04 -4.412004e-04 26 At t = 3.280811e-01 errors = -6.052282e-04 -8.558084e-04 -6.052282e-04 29 At t = 3.774591e-01 errors = -8.074612e-04 -1.141791e-03 -8.074612e-04 [all …]
|
| H A D | ex2_sundials.out | 2 At t = 0.000000e+00 errors = 0.000000e+00 0.000000e+00 0.000000e+00 4 At t = 1.000000e+00 errors = 7.994325e-04 1.130509e-03 7.994325e-04
|
| /petsc/src/vec/is/sf/tests/ |
| H A D | ex14.c | 7 PetscInt i, j, low, high, n = 256, N, errors, tot_errors; in main() local 59 errors = 0; in main() 70 if ((PetscInt)PetscRealPart(yval[0]) != ix[0] + i) errors++; in main() 71 if ((PetscInt)PetscRealPart(yval[1]) != ix[1] + i) errors++; in main() 78 PetscCallMPI(MPIU_Allreduce(&errors, &tot_errors, 1, MPIU_INT, MPI_SUM, PETSC_COMM_WORLD)); in main() 121 errors = 0; in main() 132 if ((PetscInt)PetscRealPart(yval[0]) != ix[0] * bs + i) errors++; in main() 133 if ((PetscInt)PetscRealPart(yval[bs]) != ix[1] * bs + i) errors++; in main() 140 PetscCallMPI(MPIU_Allreduce(&errors, &tot_errors, 1, MPIU_INT, MPI_SUM, PETSC_COMM_WORLD)); in main()
|
| /petsc/src/benchmarks/ |
| H A D | benchmarkExample.py | 123 def processSummaryCSV(filename, defaultStage, eventNames, sizes, times, errors, events): argument 148 def processSummary(moduleName, defaultStage, eventNames, sizes, times, errors, events): argument 151 m = processSummaryCSV(moduleName+'.csv', defaultStage, eventNames, sizes, times, errors, events) 171 errors.append(event["error"][0]) 343 def plotMeshConvergence(library, num, eventNames, sizes, times, errors, events): argument 349 print(errors) 352 …data.extend([rsizes, errors[run], rsizes, (errors[run][0]*rsizes[0]*2)*rsizes**(meshExp[run]/-2.0)… 362 def plotWorkPrecision(library, num, eventNames, sizes, times, errors, events): argument 369 data.extend([rtimes, errors[run], rtimes, (errors[run][0]*rtimes[0]*2)*rtimes**(timeExp[run])]) 379 def plotWorkPrecisionPareto(library, num, eventNames, sizes, times, errors, events): argument [all …]
|
| /petsc/src/ts/impls/implicit/glle/ |
| H A D | glleadapt.c | 185 …(TSGLLEAdapt adapt, PetscInt n, const PetscInt orders[], const PetscReal errors[], const PetscReal… in TSGLLEAdaptChoose() argument 190 PetscAssertPointer(errors, 4); in TSGLLEAdaptChoose() 195 …PetscUseTypeMethod(adapt, choose, n, orders, errors, cost, cur, h, tleft, next_sc, next_h, finish); in TSGLLEAdaptChoose() 226 …(TSGLLEAdapt adapt, PetscInt n, const PetscInt orders[], const PetscReal errors[], const PetscReal… in TSGLLEAdaptChoose_None() argument 254 …(TSGLLEAdapt adapt, PetscInt n, const PetscInt orders[], const PetscReal errors[], const PetscReal… in TSGLLEAdaptChoose_Size() argument 261 optimal = PetscPowReal((PetscReal)errors[cur], (PetscReal)-1. / (safe * orders[cur])); in TSGLLEAdaptChoose_Size() 295 …(TSGLLEAdapt adapt, PetscInt n, const PetscInt orders[], const PetscReal errors[], const PetscReal… in TSGLLEAdaptChoose_Both() argument 309 optimal = PetscPowReal((PetscReal)errors[i], (PetscReal)-1. / (safe * orders[i])); in TSGLLEAdaptChoose_Both()
|
| /petsc/src/ts/utils/ |
| H A D | tsconvest.c | 25 …e PetscConvEstComputeErrorTS_Private(PetscConvEst ce, PetscInt r, DM dm, Vec u, PetscReal errors[]) in PetscConvEstComputeErrorTS_Private() argument 38 PetscCall(VecNorm(e, NORM_2, errors)); in PetscConvEstComputeErrorTS_Private() 39 for (f = 1; f < ce->Nf; ++f) errors[f] = errors[0]; in PetscConvEstComputeErrorTS_Private() 45 PetscCall(DMComputeL2FieldDiff(dm, t, ce->exactSol, ce->ctxs, u, errors)); in PetscConvEstComputeErrorTS_Private() 78 PetscCall(PetscConvEstComputeError(ce, r, ce->idm, u, &ce->errors[r * Nf])); in PetscConvEstGetConvRateTS_Temporal_Private() 83 PetscCall(PetscLogEventSetError(ce->event, f, ce->errors[r * Nf + f])); in PetscConvEstGetConvRateTS_Temporal_Private() 94 y[r] = PetscLog10Real(ce->errors[r * Nf + f]); in PetscConvEstGetConvRateTS_Temporal_Private() 203 PetscCall(PetscConvEstComputeError(ce, r, dm[r], u, &ce->errors[r * Nf])); in PetscConvEstGetConvRateTS_Spatial_Private() 215 PetscCall(PetscLogEventSetError(ce->event, f, ce->errors[r * Nf + f])); in PetscConvEstGetConvRateTS_Spatial_Private() 242 y[r] = PetscLog10Real(ce->errors[r * Nf + f]); in PetscConvEstGetConvRateTS_Spatial_Private()
|
| H A D | dmplexts.c | 409 PetscReal *es, *hs, *errors; in DMTSCheckJacobian() local 425 PetscCall(PetscCalloc3(Nv, &es, Nv, &hs, Nv, &errors)); in DMTSCheckJacobian() 435 PetscCall(VecNorm(rhat, NORM_2, &errors[Nv])); in DMTSCheckJacobian() 437 es[Nv] = PetscLog10Real(errors[Nv]); in DMTSCheckJacobian() 448 if (errors[v] > tol) break; in DMTSCheckJacobian() 449 } else if (errors[v] > PETSC_SMALL) { in DMTSCheckJacobian() 455 PetscCall(PetscFree3(es, hs, errors)); in DMTSCheckJacobian()
|
| /petsc/src/snes/utils/ |
| H A D | convest.c | 37 PetscCall(PetscFree2((*ce)->dofs, (*ce)->errors)); in PetscConvEstDestroy() 153 PetscCall(PetscMalloc2((ce->Nr + 1) * ce->Nf, &ce->dofs, (ce->Nr + 1) * ce->Nf, &ce->errors)); in PetscConvEstSetUp() 187 PetscErrorCode PetscConvEstComputeError(PetscConvEst ce, PetscInt r, DM dm, Vec u, PetscReal errors… in PetscConvEstComputeError() argument 193 PetscAssertPointer(errors, 5); in PetscConvEstComputeError() 194 PetscUseTypeMethod(ce, computeerror, r, dm, u, errors); in PetscConvEstComputeError() 222 PetscReal *errors = &ce->errors[r * ce->Nf]; in PetscConvEstMonitorDefault() local 237 if (errors[f] < 1.0e-11) PetscCall(PetscPrintf(comm, "< 1e-11")); in PetscConvEstMonitorDefault() 238 else PetscCall(PetscPrintf(comm, "%g", (double)errors[f])); in PetscConvEstMonitorDefault() 264 …PetscConvEstComputeErrorSNES_Private(PetscConvEst ce, PetscInt r, DM dm, Vec u, PetscReal errors[]) in PetscConvEstComputeErrorSNES_Private() argument 270 PetscCall(DMComputeL2FieldDiff(dm, 0.0, ce->exactSol, ce->ctxs, u, errors)); in PetscConvEstComputeErrorSNES_Private() [all …]
|
| /petsc/config/ |
| H A D | install.py | 136 errors = [] 151 errors.append((srcname, dstname, str(why))) 153 errors.append((srcname,dstname,str(err.args[0]))) 154 if errors: 155 raise shutil.Error(errors) 224 errors = [] 245 errors.append((srcname, dstname, str(why))) 249 errors.append((srcname,dstname,str(err.args[0]))) 255 errors.append((srcname, dstname, str(why))) 259 errors.append((srcname,dstname,str(err.args[0]))) [all …]
|
| /petsc/lib/petsc/bin/ |
| H A D | petsc_tas_analysis.py | 331 errors = [] 376 errors.append([]) 415 errors[f].append((df.loc[fieldFilter])['e'+str(f)].values[0]) 422 errors = np.array(errors, dtype=object) 485 file.fieldList[f].fieldData['Errors'] = errors[f] 518 errors = [] 550 errors.append([]) 626 errors[f].append(module.Stages[stageName] 634 errors = np.array(errors) 670 file.fieldList[f].fieldData['Errors'] = errors[f]
|
| /petsc/src/sys/classes/viewer/impls/mathematica/ |
| H A D | runtime.c | 130 int errors = 0; in processPackets() local 205 errors++; in processPackets() 213 if (errors > 10) loop = 0; in processPackets()
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | check_header_guard.py | 421 errors: list[str] = [] 429 errors.extend(replace_in_file(path, args, replacer_cls)) 436 errors.extend(replace_in_file(dirpath / f, args, replacer_cls)) 438 if errors: 439 print(*errors, sep='\n')
|
| /petsc/src/snes/tutorials/output/ |
| H A D | ex9_5_alt.out | 2 errors on 5 x 5 grid: av |u-uexact| = 4.531e-02, |u-uexact|_inf = 1.635e-01
|
| H A D | ex9_5.out | 2 errors on 5 x 5 grid: av |u-uexact| = 4.531e-02, |u-uexact|_inf = 1.635e-01
|
| H A D | ex9_4.out | 3 errors on 5 x 5 grid: av |u-uexact| = 4.531e-02, |u-uexact|_inf = 1.635e-01
|
| H A D | ex9_1.out | 5 errors on 9 x 9 grid: av |u-uexact| = 3.076e-03, |u-uexact|_inf = 1.334e-02
|
| H A D | ex9_2.out | 8 errors on 9 x 9 grid: av |u-uexact| = 3.076e-03, |u-uexact|_inf = 1.334e-02
|
| H A D | ex9_mg.out | 5 errors on 33 x 33 grid: av |u-uexact| = 8.182e-04, |u-uexact|_inf = 5.747e-03
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex9.c | 16 PetscBool errors; /* Treat failures as errors */ member 39 options->errors = PETSC_FALSE; in ProcessOptions() 74 …ionsBool("-errors", "Treat failures as errors", "ex9.c", options->errors, &options->errors, NULL)); in ProcessOptions() 257 …PetscCheck(!user->errors, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Average time for cone %g > standard %g… in TestCone() 302 …PetscCheck(!user->errors, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Average time for closure %g > standard… in TestTransitiveClosure() 381 …PetscCheck(!user->errors, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Average time for vector closure %g > s… in TestVecClosure()
|
| /petsc/src/tao/leastsquares/tutorials/matlab/ |
| H A D | README | 9 there is room prior to adding more vectors. This can lead to memory corruption errors.
|
| /petsc/include/petsc/private/ |
| H A D | petscconvestimpl.h | 34 PetscReal *errors; member
|
| /petsc/src/ksp/ksp/interface/ |
| H A D | iterativ.c | 631 PetscReal *errors; in KSPMonitorError() local 646 PetscCall(PetscCalloc1(Nf, &errors)); in KSPMonitorError() 647 PetscCall(DMComputeError(dm, sol, errors, NULL)); in KSPMonitorError() 656 PetscCall(PetscViewerASCIIPrintf(viewer, "%14.12e", (double)errors[f])); in KSPMonitorError() 744 PetscReal *x, *errors; in KSPMonitorErrorDrawLG() local 756 PetscCall(PetscCalloc2(Nf + 1, &x, Nf + 1, &errors)); in KSPMonitorErrorDrawLG() 757 PetscCall(DMComputeError(dm, sol, errors, NULL)); in KSPMonitorErrorDrawLG() 763 errors[f] = errors[f] > 0.0 ? PetscLog10Real(errors[f]) : -15.; in KSPMonitorErrorDrawLG() 766 errors[Nf] = rnorm > 0.0 ? PetscLog10Real(rnorm) : -15.; in KSPMonitorErrorDrawLG() 767 PetscCall(PetscDrawLGAddPoint(lg, x, errors)); in KSPMonitorErrorDrawLG()
|