replaced deprecated MatGetVecs()
Merge branch 'dave-may/mat-fixes'
fixes for matfd and nextContributed-by: Dave May <dave.mayhem23@gmail.com>
update use of PetscOptionsBool() to not rely on default setting automatically
doc: fix getpdflabels to count manual chapters correctly.Also fix URLs from man pages to manual.pdf
fix MATSNESMF so that MatMFFDSetFunction() works correctly with it
added calling sequence of user provided function to manual page for MatMFFDSetFunction()
insure that all casts to (double) are enclosed in ()
completed some percentage of changes from %G format in prints
Sys: drop explicit type arguments from PetscNew() and PetscNewLog()git grep -l 'PetscNew\(Log\)\?(' -- $1 | xargs perl -pi -e 's@PetscNew\([^,;()]+ *, *@PetscNew(@;s@PetscNewLog\(([^,;()]+) *,[^,
Sys: drop explicit type arguments from PetscNew() and PetscNewLog()git grep -l 'PetscNew\(Log\)\?(' -- $1 | xargs perl -pi -e 's@PetscNew\([^,;()]+ *, *@PetscNew(@;s@PetscNewLog\(([^,;()]+) *,[^,;()]+, *@PetscNewLog($1,@'
show more ...
use caste through (PETSC_UINTPTR_T) in a couple of places to remove warning about cast between pointer to function and object
Merge branch 'master' into barry/sawsConflicts: src/ksp/pc/impls/gamg/gamg.c src/sys/classes/viewer/impls/ams/ams.c src/sys/objects/pinit.c
fix name for PetscOptionsFList() and get FList() and EList() working properly with SAWs legal values
Merge branch 'barry/dmvecmattypes' into barry/sawsNeeded to work with version of PETSc that did not have constant calls to VecSetFromOptions() etcConflicts: src/ksp/ksp/interface/ams/kspams.c s
Merge branch 'barry/dmvecmattypes' into barry/sawsNeeded to work with version of PETSc that did not have constant calls to VecSetFromOptions() etcConflicts: src/ksp/ksp/interface/ams/kspams.c src/snes/impls/composite/snescomposite.c src/snes/impls/gs/snesgs.c src/snes/impls/nasm/nasm.c src/snes/impls/ngmres/snesngmres.c
Remove --with-dynamic-loading / PETSC_USE_DYNAMIC_LIBRARIESThis option was mostly redundant because normal shared libraries satisfyall the same needs. This commit adds the run-time option-dynami
Remove --with-dynamic-loading / PETSC_USE_DYNAMIC_LIBRARIESThis option was mostly redundant because normal shared libraries satisfyall the same needs. This commit adds the run-time option-dynamic_library_preload that can be used to load/initialize all thepackages in advance, as used to be done when --with-dynamic-loading.The PetscDLLibraryRegister_petscxxx functions have been kept, but arenot called unless -dynamic_library_preload is used. The petsc-devdiscussion, "Why --with-dynamic-loading?" did not reach consensus aboutwhether this was ever useful, so it may also be removable.
fixed very outdated -snes_mf_type doc
update for latest SAWs
Mat: remove third argument to MatNullSpaceRemoveOut of place removals were dangerous because the MatNullSpace held theonly reference to the resulting Vec, which is dangerous. This use caseis rar
Mat: remove third argument to MatNullSpaceRemoveOut of place removals were dangerous because the MatNullSpace held theonly reference to the resulting Vec, which is dangerous. This use caseis rare (never used in PETSc itself) and can easily be accomplished: VecDuplicate(x,&y); VecCopy(x,y); MatNullSpaceRemove(nullsp,y);Suggested-by: Tobin Isaac <tisaac@ices.utexas.edu>
removed unnneeded and unused XXXRegisterDestroy() routines
removed PetscFunctionListDestroyAll() and put PetscFunctionListDestroy(&XXXList) into the package finalize
Merge branch 'jed/functionlist-nocast'* jed/functionlist-nocast: docs: simplify explanation of function lists/composition PetscObjectQueryFunction: use macro to hide PetscVoidFunction* cast P
Merge branch 'jed/functionlist-nocast'* jed/functionlist-nocast: docs: simplify explanation of function lists/composition PetscObjectQueryFunction: use macro to hide PetscVoidFunction* cast PetscFunctionListAdd: use macro to hide (PetscVoidFunction) cast PetscFunctionListFind: use macro to hide (PetscVoidFunction*) cast
Registration: remove stale 'XXRegisterDynamic)' entries in man pagesThis updates documentation only.
PetscFunctionListAdd: use macro to hide (PetscVoidFunction) castSame rationale as the last commit:Casting using PetscVoidFunction instead of (void(*)(void)) is neededwith C++ compilers that will
PetscFunctionListAdd: use macro to hide (PetscVoidFunction) castSame rationale as the last commit:Casting using PetscVoidFunction instead of (void(*)(void)) is neededwith C++ compilers that will not implicitly convert C++ language linkageto C language linkage. Since PetscFunctionListAdd() is meant to operateon generic function pointers, we hide this language linkage detail(which is inconsistently implemented) in a cast.
PetscFunctionListFind: use macro to hide (PetscVoidFunction*) castCasting using PetscVoidFunction* instead of (void(**)(void)) is neededwith C++ compilers that will not implicitly convert C++ lang
PetscFunctionListFind: use macro to hide (PetscVoidFunction*) castCasting using PetscVoidFunction* instead of (void(**)(void)) is neededwith C++ compilers that will not implicitly convert C++ language linkageto C language linkage. Since PetscFunctionListFind() is meant to operateon generic function pointers, we hide this language linkage detail(which is inconsistently implemented) in a cast.
removed string version of function name for XXXRegister(), PetscFunctionListAdd() and PetscObjectComposeFunction()
12345678910>>...13