Add PETSC_STATIC_ARRAY_LENGTH
The great renaming:- CHKERRQ() -> PetscCall()- CHKERRV() -> PetscCallVoid()- CHKERRMPI() -> PetscCallMPI()- CHKERRABORT() -> PetscCallAbort()- CHKERRCONTINUE() -> PetscCallContinue()- CHKERRXX
The great renaming:- CHKERRQ() -> PetscCall()- CHKERRV() -> PetscCallVoid()- CHKERRMPI() -> PetscCallMPI()- CHKERRABORT() -> PetscCallAbort()- CHKERRCONTINUE() -> PetscCallContinue()- CHKERRXX() -> PetscCallThrow()- CHKERRCXX() -> PetscCallCXX()- CHKERRCUDA() -> PetscCallCUDA()- CHKERRCUBLAS() -> PetscCallCUBLAS()- CHKERRCUSPARSE() -> PetscCallCUSPARSE()- CHKERRCUSOLVER() -> PetscCallCUSOLVER()- CHKERRCUFFT() -> PetscCallCUFFT()- CHKERRCURAND() -> PetscCallCURAND()- CHKERRHIP() -> PetscCallHIP()- CHKERRHIPBLAS() -> PetscCallHIPBLAS()- CHKERRHIPSOLVER() -> PetscCallHIPSOLVER()- CHKERRQ_CEED() -> PetscCallCEED()- CHKERR_FORTRAN_VOID_FUNCTION() -> PetscCallFortranVoidFunction()- CHKERRMKL() -> PetscCallMKL()- CHKERRMMG() -> PetscCallMMG()- CHKERRMMG_NONSTANDARD() -> PetscCallMMG_NONSTANDARD()- CHKERRCGNS() -> PetscCallCGNS()- CHKERRPTSCOTCH() -> PetscCallPTSCOTCH()- CHKERRSTR() -> PetscCallSTR()- CHKERRTC() -> PetscCallTC()
show more ...
PetscInitialize() and PetscFinalize() wrapped:- ierr = PetscInitialize();if (ierr) return ierr;+ CHKERRQ(PetscInitialize());- ierr = PetscFinalize();- return ierr;+ CHKERRQ(PetscFinalize());+
PetscInitialize() and PetscFinalize() wrapped:- ierr = PetscInitialize();if (ierr) return ierr;+ CHKERRQ(PetscInitialize());- ierr = PetscFinalize();- return ierr;+ CHKERRQ(PetscFinalize());+ return 0;
Make error handling when PetscErrorHandlingInitialized is not yet set more sane:- set it at the top of PetscInitialize_Common()- PetscError() now checks it before doing anything, if not initialize
Make error handling when PetscErrorHandlingInitialized is not yet set more sane:- set it at the top of PetscInitialize_Common()- PetscError() now checks it before doing anything, if not initialized, just return error code- CHKERRQ() and friends can now be used anywhere- Use CHKERRQ() and in PetscOptions and friends
chkerr and friends wrapped
Merge remote-tracking branch 'origin/release'
Fix capitalization of proper nouns etc in PETSc documentationAdd capitalization guide to the developers style guideCommit-type: documentation/spend 20m
rename PetscAssert() -> PetscCheck() and PetscAssertDebug() -> PetscAssert()
add PetscAssert() and PetscAssertFalse()
make PetscInfo() variadic
SETERRQ[1-9]+ begone
remove trailing newline from SETERRQ
apply PETSC_ATTRIBUTE_FORMAT and related fixes to sys sources
Merge branch 'barry/2021-06-10/fix-chkerrq' into 'main'Fix missing ierr =, removed incorrect CHKERRQ(), change CHKStringErrorSee merge request petsc/petsc!4078
Fix missing ierr =, removed incorrect CHKERRQ()Commit-type: error-checking, style-fix\spend 45m
PetscAbortFindSourceFile_Private: do not use PetscFunctionBegin/End
PetscStack is on the stack now, removing the need to 'initialize' it so it can always beused. The entire API has also been intern'ed since it is only internally used in selectinstances.
Style: replace "!rank" with "rank == 0"In SF tutorial ex1 (src/vec/is/sf/tutorials/ex1.c), add parentheses around "rank == 0". This is relevant because ! binds more tightly than +, but == binds les
Style: replace "!rank" with "rank == 0"In SF tutorial ex1 (src/vec/is/sf/tutorials/ex1.c), add parentheses around "rank == 0". This is relevant because ! binds more tightly than +, but == binds lesstightly, so the result of the computation would otherwise change.
Fix manpages: Argument --> Parameter (required to enable sowing checks)
Fix manpages: Input/Output Parameter --> Parameters
Fix warnings from PGI and clang compiler
Fix spelling errors in manpages and comments
requires: define -> requires: defined
Added PetscDevice to manage interaction and configuration of available devices.Added PetscDeviceContext class to manage stream interactions for CUDA and HIP devicebackends. The new class is design
Added PetscDevice to manage interaction and configuration of available devices.Added PetscDeviceContext class to manage stream interactions for CUDA and HIP devicebackends. The new class is designed to facilitate a fork-join parallelization model forasynchronous compute.
12345678910>>...23