| /petsc/src/ksp/ksp/tutorials/amrex/ |
| H A D | MyTest.cxx | 105 scalars.resize(2); in readParameters() 135 geom.resize(nlevels); in initGrids() 136 grids.resize(nlevels); in initGrids() 160 dmap.resize(nlevels); in initData() 161 factory.resize(nlevels); in initData() 162 phi.resize(nlevels); in initData() 163 rhs.resize(nlevels); in initData() 164 acoef.resize(nlevels); in initData() 165 bcoef.resize(nlevels); in initData() 166 bcoef_eb.resize(nlevels); in initData()
|
| /petsc/src/mat/impls/h2opus/ |
| H A D | math2opussampler.hpp | 85 if (hbuffer_in.size() < (size_t)n * nv) hbuffer_in.resize(n * nv); in VerifyBuffers() 86 if (hbuffer_out.size() < (size_t)n * nv) hbuffer_out.resize(n * nv); in VerifyBuffers() 89 if (dbuffer_in.size() < (size_t)n * nv) dbuffer_in.resize(n * nv); in VerifyBuffers() 90 if (dbuffer_out.size() < (size_t)n * nv) dbuffer_out.resize(n * nv); in VerifyBuffers()
|
| /petsc/src/dm/impls/moab/ |
| H A D | dmmbmg.cxx | 284 pcoords.resize(connp.size() * 3); in DMCreateInterpolation_Moab() 285 ccoords.resize(connc.size() * 3); in DMCreateInterpolation_Moab() 286 values_phi.resize(connp.size() * connc.size()); in DMCreateInterpolation_Moab() 324 pcoords.resize(connp.size() * 3); in DMCreateInterpolation_Moab() 325 ccoords.resize(connc.size() * 3); in DMCreateInterpolation_Moab() 360 values_phi.resize(connp.size()); in DMCreateInterpolation_Moab()
|
| H A D | dmmbutil.cxx | 31 subent_conn.resize(2); in DMMoab_SetTensorElementConnectivity_Private() 37 subent_conn.resize(4); in DMMoab_SetTensorElementConnectivity_Private() 46 subent_conn.resize(8); in DMMoab_SetTensorElementConnectivity_Private() 69 subent_conn.resize(2); /* only linear EDGE supported now */ in DMMoab_SetSimplexElementConnectivity_Private() 78 subent_conn.resize(3); /* only linear TRI supported */ in DMMoab_SetSimplexElementConnectivity_Private() 133 subent_conn.resize(4); /* only linear TET supported */ in DMMoab_SetSimplexElementConnectivity_Private()
|
| /petsc/src/ts/tests/ |
| H A D | ex17.c | 86 PetscErrorCode TransferSetUp(TS ts, PetscInt step, PetscReal time, Vec sol, PetscBool *resize, Pets… in TransferSetUp() argument 92 *resize = *alreadydone; in TransferSetUp()
|
| /petsc/src/mat/impls/h2opus/cuda/ |
| H A D | math2opus.cu | 58 pts.resize(num_pts * dim); in PetscPointCloud() 76 this->pts.resize(N); in PetscPointCloud() 192 PetscBool resize; member 310 h2opus->xx->resize(n * xN); in MatH2OpusResizeBuffers_Private() 314 h2opus->yy->resize(n * yN); in MatH2OpusResizeBuffers_Private() 321 h2opus->xx_gpu->resize(n * xN); in MatH2OpusResizeBuffers_Private() 325 h2opus->yy_gpu->resize(n * yN); in MatH2OpusResizeBuffers_Private() 715 …cOptionsBool("-mat_h2opus_resize", "Resize after compression", NULL, a->resize, &a->resize, NULL)); in MatSetFromOptions_H2OPUS() 1298 a->resize = PETSC_TRUE; /* reallocate after compression */ in MatCreate_H2OPUS() 1454 if (a->resize) { in MatH2OpusCompress() [all …]
|
| /petsc/src/sys/objects/device/impls/ |
| H A D | segmentedmempool.hpp | 123 PetscErrorCode resize(size_type) noexcept; 228 PetscCall(resize(req_size)); in claim() 269 inline PetscErrorCode MemoryChunk<E>::resize(size_type newsize) noexcept in resize() function in Petsc::memory::impl::MemoryChunk 896 PetscCall(chunk->resize(new_size)); in reallocate()
|
| /petsc/include/petsc/private/cpp/ |
| H A D | unordered_map.hpp | 110 PetscErrorCode resize(size_type) noexcept; 681 PetscCall(resize(target_size)); in khash_maybe_rehash_() 866 if (size() < req_size) PetscCall(resize(req_size)); in reserve() 932 inline PetscErrorCode KHashTable<V, H, KE>::resize(size_type req_size) noexcept in resize() function in Petsc::khash::KHashTable 966 if (old_n_buckets < new_n_buckets) PetscCallCXX(values_.resize(new_n_buckets)); in resize() 1005 if (old_n_buckets > new_n_buckets) PetscCallCXX(values_.resize(new_n_buckets)); in resize() 1119 PetscCall(resize(size())); in shrink_to_fit()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex11.c | 1103 …tToleranceFVMSetUp(TS ts, PetscInt nstep, PetscReal time, Vec sol, PetscBool *resize, PetscCtx ctx) in adaptToleranceFVMSetUp() argument 1124 *resize = PETSC_FALSE; in adaptToleranceFVMSetUp() 1196 *resize = PETSC_TRUE; in adaptToleranceFVMSetUp() 1487 PetscBool resize; in main() local 1494 PetscCall(adaptToleranceFVMSetUp(ts, -1, 0.0, X, &resize, &tctx)); in main() 1495 if (!resize) break; in main()
|
| H A D | ex30.c | 1851 static PetscErrorCode ResizeSetUp(TS ts, PetscInt nstep, PetscReal time, Vec u, PetscBool *resize, … in ResizeSetUp() argument 1879 *resize = PETSC_TRUE; in ResizeSetUp()
|
| /petsc/src/sys/objects/device/tests/ |
| H A D | ex11.cxx | 127 PetscCallCXX(found_keys.resize(nkeys)); in TestAllCombinations()
|
| /petsc/src/sys/objects/device/interface/ |
| H A D | dcontext.cxx | 890 if (static_cast<std::size_t>(devid) >= ctxlist.size()) PetscCallCXX(ctxlist.resize(devid + 1)); in PetscDeviceContextGetNullContextForDevice_Private()
|
| /petsc/doc/changes/ |
| H A D | 321.md | 155 - Add boolean flag to `TSSetResize()` to control when to resize
|
| /petsc/lib/petsc/conf/ |
| H A D | rules | 260 …-@printf '#!/usr/bin/env sh\nnode --redirect-warnings=/dev/null $@.js $$* | grep -v "Heap resize c…
|
| /petsc/src/mat/impls/aij/seq/kokkos/ |
| H A D | aijkok.kokkos.cxx | 2115 …Kokkos::resize(factors->jL_d, spiluk_handle->get_nnzL()); /* Shrink or expand, and retain old valu… in MatILUFactorSymbolic_SeqAIJKokkos_ILU0() 2116 Kokkos::resize(factors->jU_d, spiluk_handle->get_nnzU()); in MatILUFactorSymbolic_SeqAIJKokkos_ILU0()
|
| /petsc/ |
| H A D | gmakefile.test | 272 …-@printf '#!/usr/bin/env sh\nnode --redirect-warnings=/dev/null $$0.js $$* | grep -v "Heap resize …
|
| /petsc/src/ts/interface/ |
| H A D | ts.c | 3816 …ode (*setup)(TS ts, PetscInt step, PetscReal time, Vec state, PetscBool *resize, PetscCtx ctx), Pe… in TSSetResize() argument
|
| /petsc/doc/faq/ |
| H A D | index.md | 1253 ### Can one resize or change the size of PETSc matrices or vectors?
|