DMLabel: Added more searching - Added DMLabelGetValueIndex() - Added DMLabelGetStratumPointIndex()
Update badsource rules- Zero or more spaces are not allowed for more returning types- zero spaces not allowed for for|if|while
Linter using libClang that checks PetscValidHeaderSpecifcType, PetscValidHeaderSpecific, PetscValidHeader, PetscValid[XXX]Pointer, PetscValidType, PetscCheckSameComm, PetscValidLogicalCollectiveXXX f
Linter using libClang that checks PetscValidHeaderSpecifcType, PetscValidHeaderSpecific, PetscValidHeader, PetscValid[XXX]Pointer, PetscValidType, PetscCheckSameComm, PetscValidLogicalCollectiveXXX for validity. Automatically generates diff files for problems with a known solution.
show more ...
SF: add an MPI_Op argument to SFBcast
CHKERRQ() -> CHKERRMPI()
Plex+FE: Now we can turn on second derivatives in an FEM calculation - Now FE interpolation and PetscFEEvaluateFieldJets_Internal() can also do Hessians - Add jet degree to DS - Add PTAP operations f
Plex+FE: Now we can turn on second derivatives in an FEM calculation - Now FE interpolation and PetscFEEvaluateFieldJets_Internal() can also do Hessians - Add jet degree to DS - Add PTAP operations for small matrices
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
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
Fortran examples: use PETSC_MAX_PATH_LEN
Merge remote-tracking branch 'origin/maint'
Single petscdir.mk
PetscDefined: remove many uses of #ifdef PETSC_USE_DEBUG
Fix wrong semicolons
build: add more support for not needing to set PETSC_DIR yet build with PETSc, also support for GNU make to directly use "make test" instead of "make -f gmakefile.test"Still needs -include ../petsc
build: add more support for not needing to set PETSC_DIR yet build with PETSc, also support for GNU make to directly use "make test" instead of "make -f gmakefile.test"Still needs -include ../petscdir.mk in many of the makefilesStill needs the link for ../petscdir.mk in many directoriesGNUMakefile: call legacy makefile recursively instead of including itGNUMakefile: promote default "all" target; "libs" builds libpetsc*GNUMakefile: If gnumake < 4.2 prefer makefile wrapper interface over direct gmakefile interface to avoid the following warningsgmakefile.test:92: arch-ci-linux-cxx-cmplx-pkgs-64idx/tests/testfiles: No such file or directorygmakefile:67: arch-ci-linux-cxx-cmplx-pkgs-64idx/lib/petsc/conf/files: No such file or directoryCommit-type: testing-fix, feature, usabilityThanks-to: Jed Brown jed@jedbrown.org
DM+Plex: Example Fixes for cell type rewrite
DM+Plex: Removed the idea of hybrid and ghost cells, in favor of cell type- Improved Plex tests to work for other cell types- Plex creation, interpolation, submesh, and refinement routines now set
DM+Plex: Removed the idea of hybrid and ghost cells, in favor of cell type- Improved Plex tests to work for other cell types- Plex creation, interpolation, submesh, and refinement routines now set the cell type- Distribution sorts strata by cell type- Fixed orientation of prisms from input formats- Added Plex ex40 to test regular refinement- CellRefiner is a PetscObject - dm_plex_cell_refiner chooses the refinement strategy - Removed SimplexToTensor stuff in favor of ToHex refiner - Most functions take DMPolytopeType instead of CellRefiner - CellRefinerInCellTest_Internal() - CellRefinerGetAffineTransforms_Internal() - CellRefinerGetAffineFaceTransforms_Internal()- DMForest now responds to DMPlexGetOverlap() and propagates its overlap to the underlying Plex- Use DMPlexComputeCellType_Internal() to classify a cell based only on topology- Added DMPlexGetSimplexOrBoxCells() to replace DMPlexGetInteriorCellStratum()- Added DM_POLYTOPE_POINT_PRISM_TENSOR- Added DMPolytopTypeGetDim() and DMPolyTopeTypeGetConeSize()- Added DMLabelSetStratumBounds()- Added DMPlexSetCellType()- Added celltypes to DMView()- Added DMPolytopeTypeGetNumVertices()- Added DMPlexCreateReferenceCellByType()- Added DMPolytopeTypeFromGmsh()- Made DMPlexRefineUniform() public
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/
Remove usage of PETSC_HAVE_FORTRAN_STDCALL, PETSC_BLASLAPACK_STDCALL, HAVE_FORTRAN_MIXED_STR_ARG flags - as Compaq f90 compiler is no longer supported
DM+Plex: Now classify cells by polytope type - Defined the polytope type of a cell. added names and special shortcutpointer like depth - Fixed DMLabelMakeValid() to optimize for contiguousruns of
DM+Plex: Now classify cells by polytope type - Defined the polytope type of a cell. added names and special shortcutpointer like depth - Fixed DMLabelMakeValid() to optimize for contiguousruns of points - Added cell polytope type label to DM - This needsspecial processing, like depth - Added DMPlexGetPointDepth(),DMPlexGetCellType(), DMPlexGetCellTypeLabel() - DMPlexComputeCellTypes()infers the cell type for all points using dim/depth/coneSize/ghostCells- DMPlexGetRawFace(Hybrid)_Internal() now takes the cell type. Thismeans we can unify the functions later. - Replaced switch(dim/coneSize)constructs with cell type
Improve DM label list. Generalize DMCopyLabels().* DMAddLabel: - Add label to the end of list so DMGetLabelByNum() keeps the numbering of old ones. - Assign depth label right away.* Get rid of
Improve DM label list. Generalize DMCopyLabels().* DMAddLabel: - Add label to the end of list so DMGetLabelByNum() keeps the numbering of old ones. - Assign depth label right away.* Get rid of DMLabelLinkList.* Make use of PetscObject reference count of individual labels.* DMCopyLabels: add input args PetscCopyMode mode and PetscBool all.* Update PetscCopyMode manpage for use with objects.
squash! dm_label_tutorials-ex1: test various ways to add/remove labelsShuffle removal order so that all cases are tested (removing mid, last, first item from list).
dm_label_tutorials-ex1: test various ways to add/remove labels
Merge branch 'haplav/feature-check-boundary-connected-prereq-leftovers' into 'master'Minor improvements to DMPlex.See merge request petsc/petsc!2062
Knepley/is separate section
123456789