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 ...
fixes from recent linter change
chkerr and friends wrapped
rename PetscAssert() -> PetscCheck() and PetscAssertDebug() -> PetscAssert()
add PetscAssert() and PetscAssertFalse()
SETERRQ[1-9]+ begone
Plex: DMPlexTransform is now the way to manipulate a Plex - Replace DMPlexCellRefiner with DMPlexTransform - Replace CellRefinerInCellTest_Internal() with DMPolytopeInCellTest() - Replace DMPlexCe
Plex: DMPlexTransform is now the way to manipulate a Plex - Replace DMPlexCellRefiner with DMPlexTransform - Replace CellRefinerInCellTest_Internal() with DMPolytopeInCellTest() - Replace DMPlexCellRefinerGetAffineTransforms() withDMPlexRefineRegularGetAffineTransforms()
Single petscdir.mk
Merge branch 'tisaac/feature-dual-space-rework' into 'master'Rework PetscDualSpaceSee merge request petsc/petsc!2399
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
Rework the PetscDualSpace interfaceMention form degree in viewer output of dual spaceSet from degree from options for dual space
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
FE+DS: Introduce PetscTabulation to hold tabulated function data- This was created to prevent mismatches in sizes I was getting by justpassing around arrays- FE+FV+DS now hold tabulations- GetTab
FE+DS: Introduce PetscTabulation to hold tabulated function data- This was created to prevent mismatches in sizes I was getting by justpassing around arrays- FE+FV+DS now hold tabulations- GetTabulation() --> CreateTabulation() and it creates an object ratherthan using DMGetWorkArray(). I put in ComputeTabulation() to reusespace, but there still may be performance regression.- Default tabulations are now "cell tabulations"- The replicas in the tabulation are used to index faces in a facetabulation
PetscFE: Fix documentation
Add PetscArraycmp(), PetscArraycpy(), PetscArrayzero(), PetscArraymove(), update code to use new formsReplace a couple multi-mallocs with a single mallocReplace backwards loops in MatSetValues_*()
Add PetscArraycmp(), PetscArraycpy(), PetscArrayzero(), PetscArraymove(), update code to use new formsReplace a couple multi-mallocs with a single mallocReplace backwards loops in MatSetValues_*() with PetscArraymove()Commit-type: style-fix, feature
doc: fix LOCDIR wrt broken URL from MatHYPRESetPreallocation.htmlReported-by: Fande Kong <fdkong.jd@gmail.com>Tested with:make ACTION=sourcelist BASE_DIR=$PWD alltree_makefilels `cat files` > /
doc: fix LOCDIR wrt broken URL from MatHYPRESetPreallocation.htmlReported-by: Fande Kong <fdkong.jd@gmail.com>Tested with:make ACTION=sourcelist BASE_DIR=$PWD alltree_makefilels `cat files` > /dev/null
PetscFE: create directory structureIt's becoming necessary, as we try to do more complex things,to sharpen the interface between the things in dtfe, and makeextension more approachable. It's tim
PetscFE: create directory structureIt's becoming necessary, as we try to do more complex things,to sharpen the interface between the things in dtfe, and makeextension more approachable. It's time.
12