| /petsc/src/sys/objects/device/impls/ |
| H A D | segmentedmempool.hpp | 223 …E>::claim(const device::StreamBase<U> *stream, size_type req_size, bool *success, bool serialize) … in claim() argument 226 if ((*success = can_claim(stream, req_size, serialize))) { in claim() 430 …:try_allocate_chunk(size_type req_size, T **ptr, const stream_type *stream, bool *success) noexcept in try_allocate_chunk() argument 433 *success = false; in try_allocate_chunk() 442 PetscCall(chunks_.back().claim(stream, req_size, success)); in try_allocate_chunk() 444 …if (was_empty) PetscAssert(*success, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Failed to claim chunk (of s… in try_allocate_chunk() 451 PetscCall(chunk.claim(stream, req_size, success, serialize)); in try_allocate_chunk() 452 if (*success) { in try_allocate_chunk() 471 if (!*success) PetscCall(try_create_chunk()); in try_allocate_chunk() 480 …PetscAssert(!*success, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Successfully claimed a chunk (of size %zu… in try_allocate_chunk() [all …]
|
| /petsc/src/sys/objects/cxx/memory/ |
| H A D | object_pool.cxx | 424 …olAllocator::try_allocate(void **out_ptr, size_type size, align_type align, bool *success) noexcept in try_allocate() argument 431 PetscAssertPointer(success, 3); in try_allocate() 454 *success = found; in try_allocate() 474 bool success{}; in allocate() local 479 PetscCall(try_allocate(out_ptr, size, align, &success)); in allocate() 480 if (!success) PetscCall(allocate_ptr_(size, align, out_ptr)); in allocate() 481 if (allocated_from_pool) *allocated_from_pool = success; in allocate()
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | runtests.py | 293 def shutdown(success): argument 306 success = run_tests(options, testsuite) 307 if not success and options.failfast: 309 shutdown(success) 310 return not success
|
| /petsc/config/BuildSystem/config/ |
| H A D | python.py | 35 success = 0 41 success = 1 44 return success
|
| H A D | setCompilers.py | 2224 success = self.checkLink('extern int foo(int);', ' int b = foo(1); (void)b') 2226 if not success: 2228 success = self.checkLink('extern int foo(int);', ' int b = foo(1); (void)b') 2230 if success:
|
| /petsc/config/ |
| H A D | petsc_harness.sh | 244 (( success=success+1 )) 267 (( total=success+failed )) 281 printf "success %s\n" "$success" >> "$logfile"
|
| /petsc/src/mat/impls/aij/seq/bas/ |
| H A D | spbas_cholesky.h | 239 …atrix pattern, PetscReal droptol, PetscReal epsdiag_in, spbas_matrix *matrix_L, PetscBool *success) in spbas_incomplete_cholesky() argument 338 *success = PETSC_FALSE; in spbas_incomplete_cholesky() 344 PetscBool success = spbas_cholesky_row_alloc(retval, i, 1, &n_alloc_used); in spbas_incomplete_cholesky() local 345 PetscCheck(success, PETSC_COMM_SELF, PETSC_ERR_MEM, "spbas_cholesky_row_alloc() failed"); in spbas_incomplete_cholesky() 370 … PetscBool flag, success = spbas_cholesky_row_alloc(retval, k, max_row_nnz[k], &n_alloc_used); in spbas_incomplete_cholesky() local 371 if (!success) { in spbas_incomplete_cholesky() 405 *success = PETSC_TRUE; in spbas_incomplete_cholesky()
|
| H A D | basfactor.c | 125 PetscBool success; in MatCholeskyFactorNumeric_SeqAIJ_Bas() local 127 …rr = (int)spbas_incomplete_cholesky(A, rip, riip, Pattern, droptol, shiftnz, &matrix_LT, &success); in MatCholeskyFactorNumeric_SeqAIJ_Bas() 128 if (!success) { in MatCholeskyFactorNumeric_SeqAIJ_Bas()
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex31.c | 50 PetscBool success; in main() local 105 …(DMPlexRebalanceSharedPoints(dm, user.entityDepth, user.useInitialGuess, user.parallel, &success)); in main()
|
| /petsc/config/PETSc/ |
| H A D | petsc.py | 261 success = 0 269 success = 1 272 return success
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/ |
| H A D | _diag.py | 51 success, ret = self._fuzzy_get_attribute(sub_diag_map, attr) 52 if success:
|
| /petsc/src/dm/impls/forest/ |
| H A D | forest.c | 959 PetscErrorCode DMForestGetAdaptivitySuccess(DM dm, PetscBool *success) in DMForestGetAdaptivitySuccess() argument 967 PetscCall(forest->getadaptivitysuccess(dm, success)); in DMForestGetAdaptivitySuccess() 1633 PetscBool success; in DMAdaptLabel_Forest() local 1639 PetscCall(DMForestGetAdaptivitySuccess(*adaptedDM, &success)); in DMAdaptLabel_Forest() 1640 if (!success) { in DMAdaptLabel_Forest()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexpartition.c | 1666 …nts(DM dm, PetscInt entityDepth, PetscBool useInitialGuess, PetscBool parallel, PetscBool *success) in DMPlexRebalanceSharedPoints() argument 1705 if (success) *success = PETSC_TRUE; in DMPlexRebalanceSharedPoints() 1708 if (success) *success = PETSC_FALSE; in DMPlexRebalanceSharedPoints() 2047 if (success) *success = PETSC_TRUE; in DMPlexRebalanceSharedPoints()
|
| /petsc/src/mat/tests/ |
| H A D | cJSON.c | 1159 goto success; in parse_array() 1196 success: in parse_array() 1269 …dex(input_buffer, 0) && (buffer_at_offset(input_buffer)[0] == '}')) goto success; /* empty object … in parse_object() 1317 success: in parse_object()
|
| /petsc/doc/developers/ |
| H A D | buildsystem.md | 24 success, due to broken tools, operating system upgrades, hardware incompatibilities, user 341 "check" form will return a success or failure indication based upon the
|
| /petsc/doc/changes/ |
| H A D | 319.md | 81 1. Add `PETSC_SUCCESS` to indicate success, always guaranteed to equal `0`.
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petsctao.pxi | 232 # success
|
| H A D | TAO.pyx | 2140 … SUCCESS_USER = TAOLINESEARCH_SUCCESS_USER # user-defined success criteria reached
|
| H A D | DMPlex.pyx | 1610 success : bool
|
| /petsc/doc/manual/ |
| H A D | mat.md | 328 `MatAssemblyEnd()` to print information about the success of the 479 the success of preallocation during matrix assembly. For the
|
| H A D | tao.md | 1131 reports success and increased if further problems are encountered. There
|
| /petsc/src/dm/impls/forest/p4est/ |
| H A D | pforest.h | 1320 static PetscErrorCode DMForestGetAdaptivitySuccess_pforest(DM dm, PetscBool *success) in DMForestGetAdaptivitySuccess_pforest() argument 1328 *success = pforest->adaptivitySuccess; in DMForestGetAdaptivitySuccess_pforest()
|