| /petsc/src/ts/tutorials/output/ |
| H A D | ex24_2.out | 1 0 t= 0.0e+00 dt= 1.0e-05 f= 2.0e+06 df= 2.6e+05 it=( 0, 0) 2 1 t= 1.0e-05 dt= 1.1e-05 f= 1.5e+06 df= 2.1e+05 it=( 3, 3) 3 2 t= 2.1e-05 dt= 1.5e-05 f= 1.2e+06 df= 1.7e+05 it=( 3, 3) 4 3 t= 3.6e-05 dt= 2.0e-05 f= 8.5e+05 df= 1.4e+05 it=( 3, 3) 5 4 t= 5.6e-05 dt= 2.9e-05 f= 6.0e+05 df= 1.0e+05 it=( 3, 3) 6 5 t= 8.6e-05 dt= 4.4e-05 f= 4.0e+05 df= 7.7e+04 it=( 3, 3) 7 6 t= 1.3e-04 dt= 6.9e-05 f= 2.4e+05 df= 5.4e+04 it=( 3, 3) 8 7 t= 2.0e-04 dt= 1.2e-04 f= 1.4e+05 df= 3.5e+04 it=( 3, 3) 9 8 t= 3.2e-04 dt= 2.1e-04 f= 6.9e+04 df= 2.1e+04 it=( 3, 3) 10 9 t= 5.3e-04 dt= 4.3e-04 f= 3.0e+04 df= 1.1e+04 it=( 4, 4) [all …]
|
| H A D | ex24_1.out | 1 0 t=0.0000e+00 dt=1.0000e-03 f=1.3005e+05 df=7.5724e+04 it=( 0, 0) 2 1 t=1.0000e-03 dt=1.1000e-03 f=2.5359e+04 df=2.2799e+04 it=( 1, 1) 3 2 t=2.1000e-03 dt=3.9248e-03 f=5.5935e+03 df=7.0287e+03 it=( 1, 1) 4 3 t=6.0248e-03 dt=1.4459e-02 f=1.5992e+03 df=2.0987e+03 it=( 1, 1) 5 4 t=2.0484e-02 dt=5.0883e-02 f=6.4634e+02 df=6.5600e+02 it=( 1, 1) 6 5 t=7.1367e-02 dt=6.6206e-02 f=1.9371e+02 df=5.5459e+02 it=( 1, 1) 7 6 t=1.3757e-01 dt=2.0251e-01 f=5.3877e+01 df=1.9944e+02 it=( 1, 1) 8 7 t=3.4008e-01 dt=6.1534e-01 f=1.0661e+01 df=7.2201e+01 it=( 1, 1) 9 8 t=9.5542e-01 dt=3.6083e+00 f=2.1794e+00 df=1.3544e+01 it=( 1, 1) 10 9 t=4.5637e+00 dt=1.8537e+01 f=1.5598e+00 df=2.9000e+00 it=( 1, 1) [all …]
|
| /petsc/src/ksp/ksp/impls/gmres/pgmres/ |
| H A D | pgmres.c | 21 PetscInt it = 0, j, k; in KSPPGMRESCycle() local 36 pgmres->it = it - 2; in KSPPGMRESCycle() 46 for (; !ksp->reason; it++) { in KSPPGMRESCycle() 48 if (pgmres->vv_allocated <= it + VEC_OFFSET + 1) PetscCall(KSPGMRESGetNewVectors(ksp, it + 1)); in KSPPGMRESCycle() 50 …Zcur = VEC_VV(it); /* Zcur is not yet orthogonal, but the VecMDot to orthogonalize it has bee… in KSPPGMRESCycle() 51 …Znext = VEC_VV(it + 1); /* This iteration will compute Znext, update with a deferred correction on… in KSPPGMRESCycle() 54 …if (it < pgmres->max_k + 1 && ksp->its + 1 < PetscMax(2, ksp->max_it)) { /* We don't know whether … in KSPPGMRESCycle() 58 if (it > 1) { /* Complete the pending reduction */ in KSPPGMRESCycle() 59 PetscCall(VecNormEnd(VEC_VV(it - 1), NORM_2, &newnorm)); in KSPPGMRESCycle() 60 *HH(it - 1, it - 2) = newnorm; in KSPPGMRESCycle() [all …]
|
| /petsc/src/ksp/ksp/impls/cg/pipelcg/ |
| H A D | pipelcg.c | 138 PetscInt it = 0, max_it = ksp->max_it, l = plcg->l, i = 0, j = 0, k = 0; in KSPSolve_InnerLoop_PIPELCG() local 154 for (it = 0; it < max_it + l; ++it) { in KSPSolve_InnerLoop_PIPELCG() 160 if (it < l) { in KSPSolve_InnerLoop_PIPELCG() 162 PetscCall(MatMult(A, Z[l - it], U[0])); in KSPSolve_InnerLoop_PIPELCG() 163 PetscCall(VecAXPY(U[0], -sigma(it), U[1])); in KSPSolve_InnerLoop_PIPELCG() 164 PetscCall(KSP_PCApply(ksp, U[0], Z[l - it - 1])); in KSPSolve_InnerLoop_PIPELCG() 165 if (it < l - 1) PetscCall(VecCopy(Z[l - it - 1], Q[3 * it])); in KSPSolve_InnerLoop_PIPELCG() 177 if (it >= l) { in KSPSolve_InnerLoop_PIPELCG() 178 if (it == l) { in KSPSolve_InnerLoop_PIPELCG() 190 PetscCallMPI(MPI_Wait(&req(it - l + 1), MPI_STATUS_IGNORE)); in KSPSolve_InnerLoop_PIPELCG() [all …]
|
| /petsc/src/ksp/ksp/impls/gmres/ |
| H A D | borthog2.c | 35 PetscErrorCode KSPGMRESClassicalGramSchmidtOrthogonalization(KSP ksp, PetscInt it) in KSPGMRESClassicalGramSchmidtOrthogonalization() argument 49 hh = HH(0, it); in KSPGMRESClassicalGramSchmidtOrthogonalization() 50 hes = HES(0, it); in KSPGMRESClassicalGramSchmidtOrthogonalization() 53 for (j = 0; j <= it; j++) { in KSPGMRESClassicalGramSchmidtOrthogonalization() 62 PetscCall(VecMDot(VEC_VV(it + 1), it + 1, &(VEC_VV(0)), lhh)); /* <v,vnew> */ in KSPGMRESClassicalGramSchmidtOrthogonalization() 63 for (j = 0; j <= it; j++) { in KSPGMRESClassicalGramSchmidtOrthogonalization() 73 PetscCall(VecMAXPY(VEC_VV(it + 1), it + 1, lhh, &VEC_VV(0))); in KSPGMRESClassicalGramSchmidtOrthogonalization() 75 for (j = 0; j <= it; j++) { in KSPGMRESClassicalGramSchmidtOrthogonalization() 86 for (j = 0; j <= it; j++) hnrm += PetscRealPart(lhh[j] * PetscConj(lhh[j])); in KSPGMRESClassicalGramSchmidtOrthogonalization() 89 PetscCall(VecNorm(VEC_VV(it + 1), NORM_2, &wnrm)); in KSPGMRESClassicalGramSchmidtOrthogonalization() [all …]
|
| H A D | gmres.c | 92 PetscInt it = 0, max_k = gmres->max_k; in KSPGMRESCycle() local 113 gmres->it = (it - 1); in KSPGMRESCycle() 125 while (!ksp->reason && it < max_k && ksp->its < ksp->max_it) { in KSPGMRESCycle() 126 if (it) { in KSPGMRESCycle() 131 gmres->it = (it - 1); in KSPGMRESCycle() 132 if (gmres->vv_allocated <= it + VEC_OFFSET + 1) PetscCall(KSPGMRESGetNewVectors(ksp, it + 1)); in KSPGMRESCycle() 133 PetscCall(KSP_PCApplyBAorAB(ksp, VEC_VV(it), VEC_VV(1 + it), VEC_TEMP_MATOP)); in KSPGMRESCycle() 136 PetscCall((*gmres->orthog)(ksp, it)); in KSPGMRESCycle() 140 PetscCall(VecNormalize(VEC_VV(it + 1), &tt)); in KSPGMRESCycle() 144 *HH(it + 1, it) = tt; in KSPGMRESCycle() [all …]
|
| H A D | borthog.c | 30 PetscErrorCode KSPGMRESModifiedGramSchmidtOrthogonalization(KSP ksp, PetscInt it) in KSPGMRESModifiedGramSchmidtOrthogonalization() argument 39 hh = HH(0, it); in KSPGMRESModifiedGramSchmidtOrthogonalization() 40 hes = HES(0, it); in KSPGMRESModifiedGramSchmidtOrthogonalization() 41 for (j = 0; j <= it; j++) { in KSPGMRESModifiedGramSchmidtOrthogonalization() 43 PetscCall(VecDot(VEC_VV(it + 1), VEC_VV(j), hh)); in KSPGMRESModifiedGramSchmidtOrthogonalization() 48 PetscCall(VecAXPY(VEC_VV(it + 1), -(*hh++), VEC_VV(j))); in KSPGMRESModifiedGramSchmidtOrthogonalization()
|
| /petsc/include/petsc/private/cpp/ |
| H A D | unordered_map.hpp | 300 …table_iterator(table_type *map, khash_int it) noexcept : map_{std::move(map)}, it_{std::move(it)} … in table_iterator() argument 455 …ame KHashTable<V, H, KE>::khash_int KHashTable<V, H, KE>::flag_bucket_index_(khash_int it) noexcept in flag_bucket_index_() argument 457 return (it % flag_pairs_per_bucket::value) << 1; in flag_bucket_index_() 461 …ble<V, H, KE>::flags_type &KHashTable<V, H, KE>::flag_bucket_at_(khash_int it, std::vector<flags_t… in flag_bucket_at_() argument 463 return flags[it / flag_pairs_per_bucket::value]; in flag_bucket_at_() 467 …ble<V, H, KE>::flags_type &KHashTable<V, H, KE>::flag_bucket_at_(khash_int it, const std::vector<f… in flag_bucket_at_() argument 469 return flags[it / flag_pairs_per_bucket::value]; in flag_bucket_at_() 473 …name KHashTable<V, H, KE>::flags_type &KHashTable<V, H, KE>::flag_bucket_at_(khash_int it) noexcept in flag_bucket_at_() argument 475 return flag_bucket_at_(it, flags_); in flag_bucket_at_() 479 …HashTable<V, H, KE>::flags_type &KHashTable<V, H, KE>::flag_bucket_at_(khash_int it) const noexcept in flag_bucket_at_() [all …]
|
| /petsc/src/ksp/ksp/impls/gmres/pipefgmres/ |
| H A D | pipefgmres.c | 81 pipefgmres->it = (loc_it - 1); in KSPPIPEFGMRESCycle() 121 pipefgmres->it = (loc_it - 1); in KSPPIPEFGMRESCycle() 256 pipefgmres->it = (loc_it - 1); /* Add this here in case it has converged */ in KSPPIPEFGMRESCycle() 342 …etscErrorCode KSPPIPEFGMRESBuildSoln(PetscScalar *nrs, Vec vguess, Vec vdest, KSP ksp, PetscInt it) in KSPPIPEFGMRESBuildSoln() argument 349 if (it < 0) { /* no pipefgmres steps have been performed */ in KSPPIPEFGMRESBuildSoln() 357 if (*HH(it, it) != 0.0) nrs[it] = *RS(it) / *HH(it, it); in KSPPIPEFGMRESBuildSoln() 358 else nrs[it] = 0.0; in KSPPIPEFGMRESBuildSoln() 360 for (k = it - 1; k >= 0; k--) { in KSPPIPEFGMRESBuildSoln() 362 for (j = k + 1; j <= it; j++) tt -= *HH(k, j) * nrs[j]; in KSPPIPEFGMRESBuildSoln() 367 PetscCall(VecMAXPBY(VEC_TEMP, it + 1, nrs, 0, &PREVEC(0))); in KSPPIPEFGMRESBuildSoln() [all …]
|
| /petsc/src/ksp/ksp/impls/lcd/ |
| H A D | lcd.c | 30 PetscInt it, j, max_k; in KSPSolve_LCD() local 76 it = 0; in KSPSolve_LCD() 77 PetscCall(KSP_MatMult(ksp, Amat, lcd->P[it], Z)); in KSPSolve_LCD() 78 PetscCall(KSP_PCApply(ksp, Z, lcd->Q[it])); in KSPSolve_LCD() 80 while (!ksp->reason && it < max_k && ksp->its < ksp->max_it) { in KSPSolve_LCD() 82 PetscCall(VecDot(lcd->P[it], R, &num)); in KSPSolve_LCD() 83 PetscCall(VecDot(lcd->P[it], lcd->Q[it], &den)); in KSPSolve_LCD() 86 PetscCall(VecAXPY(X, alfa, lcd->P[it])); in KSPSolve_LCD() 87 PetscCall(VecAXPY(R, -alfa, lcd->Q[it])); in KSPSolve_LCD() 100 PetscCall(VecCopy(R, lcd->P[it + 1])); in KSPSolve_LCD() [all …]
|
| /petsc/src/sys/tests/ |
| H A D | ex64.cxx | 296 for (auto it = map.cbegin(); it != map.cend(); ++it) { in test_insert() local 298 const auto found = std::lower_bound(kv_begin, key_value_pairs.cend(), *it); in test_insert() 302 …r (%s, %s) not present in input range!", this->key_printer(it->first), this->value_printer(it->sec… in test_insert() 303 …d key-value pair (%s -> %s) %td is < 0", this->key_printer(it->first), this->value_printer(it->sec… in test_insert() 352 auto it = map.find(saved_value.first); in test_insert() local 355 …MapCheck(map, it != map.end(), PETSC_COMM_SELF, PETSC_ERR_PLIB, "Map failed no longer contains key… in test_insert() 356 …it->first == saved_value.first, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Map founnd iterator key (%s) doe… in test_insert() 357 …it->second == saved_value.second, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Map founnd iterator value (%s)… in test_insert() 381 auto it = map.find(key); in test_find() local 383 …MapCheck(map, it != map.end(), PETSC_COMM_SELF, PETSC_ERR_PLIB, "Failed to find %s in map", this->… in test_find() [all …]
|
| /petsc/src/ksp/ksp/impls/gmres/fgmres/ |
| H A D | fgmres.c | 75 fgmres->it = (loc_it - 1); in KSPFGMRESCycle() 107 fgmres->it = (loc_it - 1); in KSPFGMRESCycle() 166 fgmres->it = (loc_it - 1); /* Add this here in case it has converged */ in KSPFGMRESCycle() 257 …ic PetscErrorCode KSPFGMRESBuildSoln(PetscScalar *nrs, Vec vguess, Vec vdest, KSP ksp, PetscInt it) in KSPFGMRESBuildSoln() argument 267 if (it < 0) { in KSPFGMRESBuildSoln() 276 if (*HH(it, it) != 0.0) { in KSPFGMRESBuildSoln() 277 nrs[it] = *RS(it) / *HH(it, it); in KSPFGMRESBuildSoln() 279 nrs[it] = 0.0; in KSPFGMRESBuildSoln() 281 for (ii = 1; ii <= it; ii++) { in KSPFGMRESBuildSoln() 282 k = it - ii; in KSPFGMRESBuildSoln() [all …]
|
| /petsc/src/ksp/ksp/impls/gmres/lgmres/ |
| H A D | lgmres.c | 149 lgmres->it = (loc_it - 1); in KSPLGMRESCycle() 159 lgmres->it = (loc_it - 1); in KSPLGMRESCycle() 211 lgmres->it = (loc_it - 1); /* Add this here in case it has converged */ in KSPLGMRESCycle() 353 …ic PetscErrorCode KSPLGMRESBuildSoln(PetscScalar *nrs, Vec vguess, Vec vdest, KSP ksp, PetscInt it) in KSPLGMRESBuildSoln() argument 366 if (it < 0) { in KSPLGMRESBuildSoln() 380 if (it_arnoldi >= it + 1) { in KSPLGMRESBuildSoln() 382 it_arnoldi = it + 1; in KSPLGMRESBuildSoln() 384 it_aug = (it + 1) - it_arnoldi; in KSPLGMRESBuildSoln() 392 …it, it) != 0.0, PETSC_COMM_SELF, PETSC_ERR_CONV_FAILED, "HH(it,it) is identically zero; it = %" Pe… in KSPLGMRESBuildSoln() 393 if (*HH(it, it) != 0.0) { in KSPLGMRESBuildSoln() [all …]
|
| /petsc/src/ksp/ksp/impls/gmres/dgmres/ |
| H A D | dgmres.c | 108 PetscInt it = 0; in KSPDGMRESCycle() local 125 dgmres->it = (it - 1); in KSPDGMRESCycle() 138 while (!ksp->reason && it < max_k && ksp->its < ksp->max_it) { in KSPDGMRESCycle() 139 if (it) { in KSPDGMRESCycle() 143 dgmres->it = (it - 1); in KSPDGMRESCycle() 144 if (dgmres->vv_allocated <= it + VEC_OFFSET + 1) PetscCall(KSPDGMRESGetNewVectors(ksp, it + 1)); in KSPDGMRESCycle() 148 PetscCall(KSP_PCApplyBAorAB(ksp, VEC_VV(it), VEC_TEMP, VEC_TEMP_MATOP)); in KSPDGMRESCycle() 150 PetscCall(KSPDGMRESApplyDeflation(ksp, VEC_TEMP, VEC_VV(1 + it))); in KSPDGMRESCycle() 152 PetscCall(KSPDGMRESApplyDeflation(ksp, VEC_VV(it), VEC_TEMP)); in KSPDGMRESCycle() 153 PetscCall(KSP_PCApplyBAorAB(ksp, VEC_TEMP, VEC_VV(1 + it), VEC_TEMP_MATOP)); in KSPDGMRESCycle() [all …]
|
| /petsc/src/dm/tests/ |
| H A D | ex2k.kokkos.cxx | 34 PetscInt it, i, j, k; in Update1() local 41 for (it = 0; it < nwarm + nloop; it++) { in Update1() 42 if (it == nwarm) PetscCall(PetscTime(&tstart)); in Update1() 57 PetscInt it, i, j, k; in Update2() local 66 for (it = 0; it < nwarm + nloop; it++) { in Update2() 67 if (it == nwarm) PetscCall(PetscTime(&tstart)); in Update2() 143 for (PetscInt it = 0; it < nwarm + nloop; it++) { in main() local 144 if (it == nwarm) PetscCall(PetscTime(&tstart)); in main()
|
| /petsc/src/sys/objects/device/interface/ |
| H A D | memory.cxx | 159 auto it = map.find(const_cast<map_type::key_type>(ptr)); in search_for() local 163 if (it != end_it) PetscFunctionReturn(it); in search_for() 166 it = std::find_if(map.begin(), end_it, [ptr](map_type::const_iterator::reference map_it) { in search_for() 170 …PetscCheckAbort(!must_find || it != end_it, PETSC_COMM_SELF, PETSC_ERR_POINTER, "Pointer %p was no… in search_for() 171 PetscFunctionReturn(it); in search_for() 193 const auto it = memory_map.search_for(ptr); in PetscDeviceRegisterMemory_Private() local 196 if (it == map.cend()) { in PetscDeviceRegisterMemory_Private() 222 const auto &old = it->second; in PetscDeviceRegisterMemory_Private() 224 …4_FMT ", which does not match new values: (mtype %s, size %zu, id %" PetscInt64_FMT ")", it->first, in PetscDeviceRegisterMemory_Private() 227 if (id) *id = it->second.id; in PetscDeviceRegisterMemory_Private() [all …]
|
| H A D | mark_dcontext.cxx | 368 auto &it = *it_; in PetscGetMarkedObjectMap_Internal() local 371 (*keys)[i] = it.first; in PetscGetMarkedObjectMap_Internal() 372 (*modes)[i] = it.second.mode; in PetscGetMarkedObjectMap_Internal() 373 (*ndeps)[i] = it.second.dependencies.size(); in PetscGetMarkedObjectMap_Internal() 376 for (auto &&dep : it.second.dependencies) (*dependencies)[i][j++] = dep.event(); in PetscGetMarkedObjectMap_Internal() 408 …const auto it = std::remove_if(deps.begin(), end, [&](const MarkedObjectMap::snapshot_type &obj)… in PetscDeviceContextMapIterVisitor() local 410 PetscCall(callback(mapit, deps.cbegin(), static_cast<decltype(deps.cend())>(it))); in PetscDeviceContextMapIterVisitor() 412 PetscCallCXX(deps.erase(it, end)); in PetscDeviceContextMapIterVisitor() 427 …PetscCall(PetscDeviceContextMapIterVisitor(dctx, [&](map_iterator mapit, dep_iterator it, dep_iter… in PetscDeviceContextSyncClearMap_Internal() argument 434 while (it != end) { in PetscDeviceContextSyncClearMap_Internal() [all …]
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/ |
| H A D | README.rst | 7 etc. Once it arrives at a cursor of matching type, it checks whether it has a handler 8 configured for that cursor. If it does, it will call the handler (which may attach some 51 import dependency (for example, checks imports stuff from classes). Therefore, it is 58 First and foremost, the linter is there to check things which a compiler cannot. If it is 60 instead**. Only when you simply cannot do it, should you consider adding checks to the 73 naive next solution might be to parse ``__func__`` and try and find ``i`` in it. But this 85 where ``str->foo`` is also a pointer. Since this pointer "originates" from ``str`` it is 90 requires a higher-level semantic view of the function to reliably check (in fact, it was 104 the code, and it not necessarily match type-for-type exactly with what you 105 expect. All that matters is that when the linter sees the code, it sees a function not [all …]
|
| /petsc/include/petsc/private/ |
| H A D | hashtable.h | 121 #define PetscHashIterIncContinue(ht, it) (!PetscHashIterAtEnd((ht), (it)) && !kh_exist((ht), (it))) argument 137 …etscHashIterDecContinue(ht, it) (PetscHashIterAtEnd((ht), (it)) || (!PetscHashIterAtBegin((ht), (i… argument
|
| /petsc/src/sys/tests/output/ |
| H A D | ex72_0.out | 1 [0] <loghandler:nested> PetscLogHandlerNestedEventEnd(): Log event Event-2 wasn't ended, ending it … 2 [0] <loghandler:nested> PetscLogHandlerNestedEventEnd(): Log event Event-1 wasn't ended, ending it … 3 [0] <loghandler:nested> PetscLogHandlerNestedEventEnd(): Log event Event-2 wasn't ended, ending it …
|
| /petsc/src/sys/objects/device/tests/ |
| H A D | ex11.cxx | 115 for (auto it = cont.cbegin(), next = std::next(it); it != cont.cend(); ++it, ++next) { in TestAllCombinations() local 124 PetscCall(func_i(dctx, *it)); in TestAllCombinations() 156 …it != next, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Test assumes different inputs, otherwise key check m… in TestAllCombinations() 160 if (it != next) PetscCall(check_applied_mode(*it, func_i.mode)); in TestAllCombinations() 165 …it = found_keys.cbegin(); it != found_keys.cend(); ++it) PetscCall(CheckMarkedObjectMap(*it > 0, "… in TestAllCombinations() local
|
| /petsc/src/mat/tests/ |
| H A D | ex123.c | 12 PetscInt *it, *jt; in main() local 89 PetscCall(PetscMalloc2(PetscMax(n1, n2), &it, PetscMax(n1, n2), &jt)); in main() 94 PetscCall(PetscArraycpy(it, i1, n1)); in main() 96 PetscCall(MatSetPreallocationCOOLocal(A, n1, it, jt)); in main() 126 PetscCall(PetscArraycpy(it, i2, n2)); in main() 129 PetscCall(MatSetPreallocationCOO(A, n2, it, jt)); in main() 131 PetscCall(MatSetPreallocationCOOLocal(A, n2, it, jt)); in main() 141 PetscCall(PetscArraycpy(it, i2, n2)); in main() 144 PetscCall(MatSetPreallocationCOO(A, n2, it, jt)); in main() 146 PetscCall(MatSetPreallocationCOOLocal(A, n2, it, jt)); in main() [all …]
|
| /petsc/lib/petsc/bin/maint/abi-compliance-checker/ |
| H A D | LICENSE | 7 of this license document, but changing it is not allowed. 16 freedom to share and change it. By contrast, the GNU General Public 22 Free Software Foundation and other authors who decide to use it. You 23 can use it too, but we suggest you first think carefully about whether 31 it if you want it; that you can change the software and use pieces of 32 it in new free programs; and that you are informed that you can do 38 you if you distribute copies of the library or if you modify it. 46 it. And you must show them these terms so they know their rights. 52 To protect each distributor, we want to make it very clear that 81 We call this license the "Lesser" General Public License because it [all …]
|
| /petsc/doc/developers/ |
| H A D | development.md | 13 catch instances of missing `PetscCall()` and friends. For this reason it is *highly 14 encouraged* that you `configure` with this option. CI will already have it enabled, 15 doing so locally will save you the pain of re-running it.
|
| /petsc/src/snes/interface/ |
| H A D | snesut.c | 423 PetscErrorCode SNESMonitorJacUpdateSpectrum(SNES snes, PetscInt it, PetscReal fnorm, PetscViewerAnd… in SNESMonitorJacUpdateSpectrum() argument 435 if (it == 0) PetscFunctionReturn(PETSC_SUCCESS); in SNESMonitorJacUpdateSpectrum() 460 …mm((PetscObject)snes), "Eigenvalues of J_%" PetscInt_FMT " - J_%" PetscInt_FMT ":\n", it, it - 1)); in SNESMonitorJacUpdateSpectrum() 477 PetscErrorCode SNESMonitorRange_Private(SNES snes, PetscInt it, PetscReal *per) in SNESMonitorRange_Private() argument 520 PetscErrorCode SNESMonitorRange(SNES snes, PetscInt it, PetscReal rnorm, PetscViewerAndFormat *vf) in SNESMonitorRange() argument 529 if (!it) prev = rnorm; in SNESMonitorRange() 530 PetscCall(SNESMonitorRange_Private(snes, it, &perc)); in SNESMonitorRange() 536 … above 20 percent of maximum %5.2g relative decrease %5.2e ratio %5.2e\n", it, (double)rnorm, (dou… in SNESMonitorRange() 737 PetscErrorCode SNESConvergedDefault(SNES snes, PetscInt it, PetscReal xnorm, PetscReal snorm, Petsc… in SNESConvergedDefault() argument 744 if (!it) { in SNESConvergedDefault() [all …]
|