DM: Replace 0 -> NULL for pointers
Single petscdir.mk
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
show more ...
Merge branch 'stefanozampini/fix-dm-composition' into 'master'Fix DM composition with work vectors and matricesSee merge request petsc/petsc!2551
Remove usage of PETSC_HAVE_FORTRAN_STDCALL, PETSC_BLASLAPACK_STDCALL, HAVE_FORTRAN_MIXED_STR_ARG flags - as Compaq f90 compiler is no longer supported
DMSHELL: avoid circular references with template objects
DMShellCreateMatrix: call MatZeroEntries only when neededMATSHELL does not implement MatZeroEntries
Minor
DMSHELL: add missing checksThis class is a mess, some of the methods are valid only for DMSHELL, others are not!
DMSetType: Clear dm->ops and set type name before calling constructor
DM: Simplify implementation of DMHasCreateInjection()* Add log event for DMCreateInjection()* Get rid of DMHasCreateInjection_Default()* Rename dm->ops->getinjection to dm->ops->createinjection*
DM: Simplify implementation of DMHasCreateInjection()* Add log event for DMCreateInjection()* Get rid of DMHasCreateInjection_Default()* Rename dm->ops->getinjection to dm->ops->createinjection* Improve error checking here and there
Update the use of Collective on in the manual pages to reflect the new styleCommit-type: style-fix, documentationThanks-to: Patrick Sanan <patrick.sanan@gmail.com>
Error out DMShellGet* methods on incorrect type
Fixup documentation errors
Fixup Get context docs, link new Getters to Setters in docs
Implement new Getter functions
DM: Expose creation functions for subdm and superdm from a Section
Man pages: add newlines after "Notes:"This allows for proper formatting from sowing.On OS X (using gsed, not the default BSD sed), from the PETSc root directory: find src include -type f \(
Man pages: add newlines after "Notes:"This allows for proper formatting from sowing.On OS X (using gsed, not the default BSD sed), from the PETSc root directory: find src include -type f \( -name "*.c" -or -name "*.h" -or -name "*.cxx" \) | xargs gsed -i 's/Notes\s*:\s*\(\w.*\)/Notes:\n \1/'This adds a newline and 4 spaces whenever "Notes:" is followed by any "word" character, in any .c, .h, or .cxx file in src/ or include/
DMShell: implement DMHasCreateInjectionAvailable if the DM is a shell and the injection has been set.
DM: DMCreateSubDM() field argument should be const
Fix typos and whitespaces already fixed in stefano_zampini/feature-continuousadjoint
Add utility functions to fetch subsneses for NASM, modelled after SNESComposite
Add DMShellSetCreateDomainDecompositionScatters, so that DMShell userscan do domain decomposition.
Add a DMShellSetCreateDomainDecomposition routine, enabling DMShell usersto use domain decomposition solvers.
Fortran: Add error checking for incorrect PETSC_NULL_XXX argument when expecting functionCommit-type: enhancementFunded-by: ECPProject: ECP/PETScTime: .8 hoursReported-by: Praveen C <cpraveen@
Fortran: Add error checking for incorrect PETSC_NULL_XXX argument when expecting functionCommit-type: enhancementFunded-by: ECPProject: ECP/PETScTime: .8 hoursReported-by: Praveen C <cpraveen@gmail.com>
123456