ConvEst: Generalize to use TS as well- Now the solver is a PetscObject- ts_convergence_estimate calculates the order for a TS method- Added tsconvest.c- Added initial guess and error methods that
ConvEst: Generalize to use TS as well- Now the solver is a PetscObject- ts_convergence_estimate calculates the order for a TS method- Added tsconvest.c- Added initial guess and error methods that can be overridden
show more ...
Plex: Use new API to handle hybrid and FV ghost cells
--download-hpddm for PCHPDDM and KSPHPDDM
Fixes and improvements for PCHPDDM and KSPHPDDM
Fix %D and (double) usage for PetscPrintf() and SETERRQ()Commit-type: portability
Plex: Fix leak in boundary Jacobian integration
Plex: Fix leak in boundary integration
DMGetSection: replace all internal usage with DMGetLocalSectionSame for DMSetSection -> DMSetLocalSection. We retain the interfacefor DMGetSection/DMSetSection without deprecation warnings (for n
DMGetSection: replace all internal usage with DMGetLocalSectionSame for DMSetSection -> DMSetLocalSection. We retain the interfacefor DMGetSection/DMSetSection without deprecation warnings (for now).Suggested-by: Barry Smith <bsmith@mcs.anl.gov>
Mat: get rid of the valid_GPU_matrix flag from the interfaceA specific implementation may provide those operations on GPUThe previous interface would have invalidated the dataMatAssemblyEnd_MPIA
Mat: get rid of the valid_GPU_matrix flag from the interfaceA specific implementation may provide those operations on GPUThe previous interface would have invalidated the dataMatAssemblyEnd_MPIAIJ now takes care of propagating the correctflags to the blocks if we set its flag to OFFLOAD_CPUThis is to fix the case of MatFDColoring, which do not use the MatSetValues interface
Fix a bunch of PetscValidPointer() -> PetscValidXXXPointer()
Merge from doc-fixes branch
Fixes for doctext update
Merge remote-tracking branch 'origin/barry/add-petscarrayxxx-ops' [PR #1771]
Merge branch 'jczhang/fix-dm-originaldm/maint' [PR #1785]* jczhang/fix-dm-originaldm/maint:Set DMKSP originaldm when doing copy or getting write access.
Initialize DMSNES originaldm when creating DMSNES
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
Merged in barry/update-collective-on (pull request #1744)Update the use of Collective on in the manual pages to reflect the new style
Merged in knepley/fix-subdm-fields (pull request #1702)Knepley/fix subdm fields
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>
Man pages: remove .keywords: fieldsThis field is recognized by doctext from Sowing (http://wgropp.cs.illinois.edu/projects/software/sowing/doctext/node20.htm#Node20),but it doesn't seem to be unif
Man pages: remove .keywords: fieldsThis field is recognized by doctext from Sowing (http://wgropp.cs.illinois.edu/projects/software/sowing/doctext/node20.htm#Node20),but it doesn't seem to be uniformly used or maintained.Thus, remove all .keywords: fields, and a following blank line, if present.This is accomplished with GNU sed (gsed on OS X), with the following commands.*Warning* that this type of command can corrupt a .git directory,so be cautious in reusing or modifying these commands. They first lookfor and delete matching lines with a following line consisting of only whitespace,and then delete any remaining matching lines. find src/ -type f -exec gsed -i '/keywords:/ {N; /\n\s*$/d}' {} + find src/ -type f -exec gsed -i '/keywords:/d' {} + find include/ -type f -exec gsed -i '/keywords:/ {N; /\n\s*$/d}' {} + find include/ -type f -exec gsed -i '/keywords:/d' {} +Hints on the sed command obtained from: https://unix.stackexchange.com/questions/100754/how-to-delete-a-specific-line-and-the-following-blank-line-using-gnu-sed
SNES+Plex: Do not output if checks are returned
SNES+Plex: All DMSNES checks now compute the exact solution, and return figures of merit
Merged in knepley/feature-plex-pullback (pull request #1632)Plex: Implemented pullback/pushforwardApproved-by: BarryFSmith <bsmith@mcs.anl.gov>
DMPLEX: fix improper usage of STDOUT_WORLD
fix warning with clang && single-precision build/Users/barrysmith/Src/petsc/src/snes/utils/dmplexsnes.c:2675:24: warning: absolute value function 'fabsf' given an argument of type 'double' but has
fix warning with clang && single-precision build/Users/barrysmith/Src/petsc/src/snes/utils/dmplexsnes.c:2675:24: warning: absolute value function 'fabsf' given an argument of type 'double' but has parameter oftype 'float' which may cause truncation of value [-Wabsolute-value] if (!isLinear && PetscAbsReal(2.0 - slope) > tol) SETERRQ1(comm, PETSC_ERR_ARG_WRONG, "Taylor approximation convergence rate should be 2, not %0.2f", (double)slope); ^Reported-by: "Smith, Barry F." <bsmith@mcs.anl.gov>
12345678910>>...43