PetscSF: Register logging events
PetscSF: Added logging
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
Merge branch 'knepley/fix-plex-preallocation'* knepley/fix-plex-preallocation: PetscSF: Fixed PetscSFCreateEmbeddedSF() - We were using sf->nleaves for the leaf buffer, which is completely wrong.
Merge branch 'knepley/fix-plex-preallocation'* knepley/fix-plex-preallocation: PetscSF: Fixed PetscSFCreateEmbeddedSF() - We were using sf->nleaves for the leaf buffer, which is completely wrong. We have to use the largest thing in sf->mine[] DMPlex: Fix completely broken code in PetscSFCreateRemoteOffsets() - Non-broken example was in PetscSFDistributeSection() DMPlex: Fix leaks in preallocation debugging DMPlex: Put in guard for preallocation sections which are smaller than the SF
show more ...
PetscSF: Fixed PetscSFCreateEmbeddedSF()- We were using sf->nleaves for the leaf buffer, which is completely wrong. We have to use the largest thing in sf->mine[]
fix name for PetscOptionsFList() and get FList() and EList() working properly with SAWs legal values
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.
Use classname in object for object name when calling PetscObjectPrintClassNamePrefixType() instead of some string with less precise name passed in
SF: is part of petscvec, not petscsys
SF: define MPIU_REPLACE to work around missing MPI_REPLACE
SF: define and work around missing MPI_COMBINER_DUP [reconfigure-needed]A standards-compliant MPI cannot provide MPI_Type_get_envelope withoutalso defining MPI_COMBINER_DUP, because the latter is
SF: define and work around missing MPI_COMBINER_DUP [reconfigure-needed]A standards-compliant MPI cannot provide MPI_Type_get_envelope withoutalso defining MPI_COMBINER_DUP, because the latter is necessary tointerpret the results of the former. However, a version of MPICH1 doesexactly this so we need a configure test and a workaround in the code.
flag should have been false
removed unnneeded and unused XXXRegisterDestroy() routines
removed PetscFunctionListDestroyAll() and put PetscFunctionListDestroy(&XXXList) into the package finalize
Merge branch 'barry/fix-matlab'
Fix PetscSFunctionList update to PetscSFList
fix PetscSFunctionList to PetscSFList wrongly created by bad regexp
Fixes for MATLAB interface. (1) Fixed MPIUni to be reentrant again, (2) fixed PetscSF to be reentrant
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
Change all PETSC_EXTERN_C to PETSC_EXTERNHg-commit: 8d2ebbb193fb583bccc64015e35640c4e08c3426
1...<<1112131415