Merge branch 'tisaac/simplify-register-all'Removed the XXXRegisterAll() functions from the public interface. These should now only be handled by the package intialization functions.
manual merge of conflict
Remove XXXRegisterAllCalled from public interface.All XXXRegisterAll() methods are now idempotent, so a boolean indicatingwhether they can be called or not is no longer necessary.
Sys: PetscCheckPointer PETSC_CHAR checks char*, not char**
Insure that all ASCII viewers for PETSc objects call PetscObjectPrintClassNamePrefixType()
introduce XXXViewFromOptions() and use consistently when possible
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
show more ...
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.
AO: fix erroneous processing of -ao_view and factor into AOViewFromOptionsAOCreate was calling -ao_view before ao->ops->view could be set, causingSEGV. Move the dispatch to the convenience creati
AO: fix erroneous processing of -ao_view and factor into AOViewFromOptionsAOCreate was calling -ao_view before ao->ops->view could be set, causingSEGV. Move the dispatch to the convenience creation functions andconsolidate into AOViewFromOptions.Reported-by: Shao-Ching Huang <huangsc@gmail.com>
converted uAMS usage to SAWs usage; starts server but cannot see any published directories
AO: is a part of petscvec, not petscdm
Merge branch 'jed/fix-locdir'* jed/fix-locdir: LOCDIR: fix all outdated paths and normalize trailing slash
LOCDIR: fix all outdated paths and normalize trailing slashUpdate performed by: git ls-files '*/makefile' | xargs perl -pi -MFile::Basename \ -e 's!(LOCDIR[[:space:]]+=) *(.+)$!$1." ".dirnam
LOCDIR: fix all outdated paths and normalize trailing slashUpdate performed by: git ls-files '*/makefile' | xargs perl -pi -MFile::Basename \ -e 's!(LOCDIR[[:space:]]+=) *(.+)$!$1." ".dirname($ARGV)."/"!e'Fortran auto must be fixed using 'make allfortranstubs' and the resultcan be checked by 'bin/maint/checkloc.py'.
removed unnneeded and unused XXXRegisterDestroy() routines
removed PetscFunctionListDestroyAll() and put PetscFunctionListDestroy(&XXXList) into the package finalize
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()
removed path and MPI_Comm arguments from PetscFunctionListFind/Add()
removed path argument to XXXInitializePackage() and XXXRegister()
removed XXXRegisterDynamic() but kept the APIs for everything else underneath the samephase I of the update to handling registering function pointers
changed AMS publishing to use the Viewer modeladded simple AMS viewer for mat,ksp,snes,tsadded --ksp/snes/ts_view_pre for starting the viewer before the solve (ugly but useful for AMS)added PetscS
changed AMS publishing to use the Viewer modeladded simple AMS viewer for mat,ksp,snes,tsadded --ksp/snes/ts_view_pre for starting the viewer before the solve (ugly but useful for AMS)added PetscStackCalls around AMS function calls when appropriate (note do not want these in webserver because do not webserver stopping just because AMS server is down
work on AMS interface, consistent naming, ams.h not included in petscviewer.h, no ifdefsHg-commit: 642571a1dc7109fdb7e5b0abb23bf260d10eb970
12345