Searched refs:to_string (Results 1 – 5 of 5) sorted by relevance
| /petsc/src/sys/tests/ |
| H A D | ex64.cxx | 56 PetscErrorCode to_string(std::string &buf) const noexcept in to_string() function 59 PetscCallCXX(buf = std::to_string(x) + ", " + std::to_string(y)); in to_string() 68 PetscCallAbort(PETSC_COMM_SELF, f.to_string(ret)); in operator <<() 86 PetscErrorCode to_string(std::string &buf) const noexcept in to_string() function 91 PetscCallCXX(buf += std::to_string(x[i])); in to_string() 103 PetscCallAbort(PETSC_COMM_SELF, b.to_string(ret)); in operator <<() 660 PetscCallCXX(buf = std::to_string(key)); in main() 665 PetscCallCXX(buf = std::to_string(value)); in main() 670 PetscCall(key.to_string(buf)); in main() 675 PetscCall(value.to_string(buf)); in main() [all …]
|
| /petsc/src/ksp/pc/impls/amgx/ |
| H A D | amgx.cxx | 470 …amgx->cfg_contents += "smooth:relaxation_factor=" + std::to_string(amgx->jacobi_relaxation_factor)… in PCSetFromOptions_AMGX() 473 amgx->cfg_contents += "smooth:symmetric_GS=" + std::to_string(amgx->gs_symmetric) + ","; in PCSetFromOptions_AMGX() 494 amgx->cfg_contents += "amg:presweeps=" + std::to_string(amgx->presweeps) + ","; in PCSetFromOptions_AMGX() 498 amgx->cfg_contents += "amg:postsweeps=" + std::to_string(amgx->postsweeps) + ","; in PCSetFromOptions_AMGX() 502 amgx->cfg_contents += "amg:max_levels=" + std::to_string(amgx->max_levels) + ","; in PCSetFromOptions_AMGX() 506 amgx->cfg_contents += "amg:dense_lu_num_rows=" + std::to_string(amgx->dense_lu_num_rows) + ","; in PCSetFromOptions_AMGX() 510 amgx->cfg_contents += "amg:strength_threshold=" + std::to_string(amgx->strength_threshold) + ","; in PCSetFromOptions_AMGX() 514 …if (amgx->aggressive_levels > 0) amgx->cfg_contents += "amg:aggressive_levels=" + std::to_string(a… in PCSetFromOptions_AMGX()
|
| /petsc/src/sys/objects/device/interface/ |
| H A D | mark_dcontext.cxx | 147 PETSC_NODISCARD std::string to_string() const noexcept in to_string() function 151 ret = '(' + function + "() at " + file + ':' + std::to_string(line) + ')'; in to_string() 167 os << frame.to_string(); in operator <<() 190 PETSC_NODISCARD static std::string to_string() noexcept { return "(unknown)"; } in to_string() function 234 …, PETSC_ERR_ARG_WRONGSTATE, "Snapshot %s does not contain an event!", frame().to_string().c_str()); in dctx_id() 552 … we have apparently recorded the last dependency %s!", id, last_write.frame().to_string().c_str()); in MarkFromID_IncompatibleModes_UpdateLastWrite()
|
| H A D | dcontext.cxx | 637 PetscCallCXX(idList += std::to_string(childID)); in PetscDeviceContextForkWithStreamType() 773 PetscCallCXX(idList += std::to_string(PetscObjectCast((*dsub)[i])->id)); in PetscDeviceContextJoin() 897 const auto name = "null context " + std::to_string(devid); in PetscDeviceContextGetNullContextForDevice_Private() 898 const auto prefix = "null_context_" + std::to_string(devid) + '_'; in PetscDeviceContextGetNullContextForDevice_Private()
|
| /petsc/src/ksp/pc/impls/hpddm/ |
| H A D | pchpddm.cxx | 652 …n(PetscObjectComm((PetscObject)pc), std::string(prefix + "_aux_" + std::to_string(size) + (tmp ? (… in PCView_HPDDM() 661 …en(PetscObjectComm((PetscObject)pc), std::string(prefix + "_is_" + std::to_string(size) + (tmp ? (… in PCView_HPDDM() 668 …PetscObjectComm((PetscObject)pc), std::string(prefix + "_sizes_" + std::to_string(size) + (tmp ? (… in PCView_HPDDM()
|