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;
show more ...
fixes from recent linter change
pluck ~1000 low hanging PetscCheckFalse() -> PetscCheck() fruit
chkerr and friends wrapped
docs: additional format fixes
Merge branch 'knepley/fix-doc-errors' into 'main'Doc: Trying to remove all reported errorsSee merge request petsc/petsc!4930
Doc: Trying to remove all reported errors - Since it reports as an error, and only occurs a very few times, I have removed the Imput/Output Parameters sections and replaced them by Output Parameters
Doc: Trying to remove all reported errors - Since it reports as an error, and only occurs a very few times, I have removed the Imput/Output Parameters sections and replaced them by Output Parameters with documentation
Section: Add PetscSectionSymDistribute()
rename PetscAssert() -> PetscCheck() and PetscAssertDebug() -> PetscAssert()
deprecate PETSC_STATIC_INLINE
add PetscAssert() and PetscAssertFalse()
SETERRQ[1-9]+ begone
remove trailing newline from SETERRQ
make DMCompareLabels,DMLabelCompare really collective
plex: DMPlex needs to be named before calling DM{View, Load}()DMPlexCreateFromFile() takes mesh name as argument
dm/label/tutorials/ex1.c: test DMLabelCompare, DMCompareLabels, DMCopyLabels
add DMLabelCompare,DMCompareLabels
add DMLabelGetNonEmptyStratumValuesIS()
DMLabelGetStratumSize: No need to do DMLabelMakeValid_Private().Factor out DMLabelGetStratumSize_Private()
Merge remote-tracking branch 'origin/release'
DMLabelGetStratumBounds: for missing stratum, return -1, not defaultValue
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: more errors reported by doctext
Fix manpages: Input/Output Parameter --> Parameters
Fix Input/Output/Parameter keywords in manpages
123456789