Merge branch 'jose/spelling-errors' into 'main'Fix many spelling errors in manpages and commentsSee merge request petsc/petsc!4283
Merge branch 'jed/dmplex-mesh-naming' into 'main'DMPlex: more accurate mesh names for examples and VTK outputSee merge request petsc/petsc!4132
Fix spelling errors in manpages and comments
requires: define -> requires: defined
Unify XXGetYYContext callsalways use void*
Some missing CHKERR[Q|MPI]
dm/tutorials/ex20.c: deterministic DM names
PetscStack : check for correct push/popEnforce checkstack for CI jobsFixes from testsuite
Add configure support for GSL and example that utilizes GSL\spend 4h
Update badsource rules- Zero or more spaces are not allowed for more returning types- zero spaces not allowed for for|if|while
Remove all double blank lines from sourceCommit-type: petsc-style/2h
Plex: Update examples to use new creation interface
PetscSynchronizedPrintf() on stdout with zero rank can produce output in different ordershttps://gitlab.com/petsc/petsc/-/issues/904Commit-type: examples/spend 10mReported-by: GitLab CI
new DMDA tutorial example : extract 2D slice from 3D DMDA in natural ordering new file: src/dm/tutorials/ex22.c modified: src/dm/tutorials/makefile new file: src/dm/tutorials/output/ex22_1.
new DMDA tutorial example : extract 2D slice from 3D DMDA in natural ordering new file: src/dm/tutorials/ex22.c modified: src/dm/tutorials/makefile new file: src/dm/tutorials/output/ex22_1.out new file: src/dm/tutorials/output/ex22_2.out new file: src/dm/tutorials/output/ex22_3.out new file: src/dm/tutorials/output/ex22_4.out new file: src/dm/tutorials/output/ex22_5.out
show more ...
CHKERRQ() -> CHKERRMPI()
Convert MPI error type to PETSc error with string message for all MPI callsNow PETSc examples will ONLY return PETSc error codes and never MPI error codes directly so we can understand and post-pro
Convert MPI error type to PETSc error with string message for all MPI callsNow PETSc examples will ONLY return PETSc error codes and never MPI error codes directly so we can understand and post-process their errors better.The test harness will now automatically retry tests that fail with MPI, this may help with Intel MPI that produces seemingly random failures.Commit-type: error-checking/spend 30m
Provide an example src/dm/tutorials/ex25.c that takes a patch from a parallel DMDA to one processFix DMZoomPatch() to work in 2d and and support not requesting a haloRemove unneeded Vec argument
Provide an example src/dm/tutorials/ex25.c that takes a patch from a parallel DMDA to one processFix DMZoomPatch() to work in 2d and and support not requesting a haloRemove unneeded Vec argument from DMZoonPatch()Minor improvements to manual pagesCommit-type: bug-fix, feature, example/spend 4hReported-by: Victoria Hamtiaux <victoria.hamtiaux@uclouvain.be>
DMDACreatePatchIS : change to collective operation and add test
Turn on checkbadSource test to generate an error when found; fix all source code that causes errorsCommit-type: portability-fix, testing-fix, style-fix, feature, maintainability/spend 1.5h
Add DMPlexCreateFromCellList[Parallel]Petsc and marked previous namesake asdeprecated. New function accpets only petsc datatypes, old function performs types conversions within. Affects tetgen, ctet
Add DMPlexCreateFromCellList[Parallel]Petsc and marked previous namesake asdeprecated. New function accpets only petsc datatypes, old function performs types conversions within. Affects tetgen, ctetgen, and any createfromcelllist[parallel] interfaces.
Fix missing crucial error checking in one example, add trivial error checking in many other examples. Fix a few printf() to PetscPrintf()Commit-type: error-checking, testing-fix, style-fix, example
Fix missing crucial error checking in one example, add trivial error checking in many other examples. Fix a few printf() to PetscPrintf()Commit-type: error-checking, testing-fix, style-fix, example/spend 45m
Single petscdir.mk
DM+Plex: Example Fixes for cell type rewrite
Provide support for not setting PETSC_DIR when gnumake is being used; this will prevent some petsc-maint/petsc-users email threadsCommit-type: error-checking, testing-fix, feature, exampleThanks-t
Provide support for not setting PETSC_DIR when gnumake is being used; this will prevent some petsc-maint/petsc-users email threadsCommit-type: error-checking, testing-fix, feature, exampleThanks-to: Jed Brown <jed@jedbrown.org>Thanks-to: Lisandro Dalcin <dalcinl@gmail.com>
Promote examples/{tests,tutorials}/ to {tests,tutorials}/This shortens paths and improves consistency between test target namesand paths to the source and output files. Most of the work wascompl
Promote examples/{tests,tutorials}/ to {tests,tutorials}/This shortens paths and improves consistency between test target namesand paths to the source and output files. Most of the work wascompleted by this script, followed by mild cleanup of nonconformingcases.for makefile in `git ls-files 'src/*makefile'`; do if rg -q 'DIRS.*\bexamples\b' $makefile; then base=$(dirname $makefile) dirs=$(cd $base/examples && ls -d tests tutorials 2>/dev/null | xargs echo) perl -pi -e "s#^(DIRS.*)\bexamples\b#\1${dirs}#" $makefile git rm $base/examples/makefile for t in $dirs; do git mv $base/examples/$t $base/ perl -pi -e "s#^(LOCDIR[[:space:]]*=).*#\1 $base/$t/#" $base/$t done fidonegit grep -l -E -z 'examples/(tutorials|tests)' | xargs -0 perl -pi -e 's#examples/(tutorials|tests)#\1#g'git checkout @ \ src/docs/website/documentation/changes/ \ src/benchmarks/results/
1234