Add automatic generated fortran support for setting and returning contextsMajor cleanup of the code for setting and returning application (previously called user) contexts - PetscCtx ctx is now t
Add automatic generated fortran support for setting and returning contextsMajor cleanup of the code for setting and returning application (previously called user) contexts - PetscCtx ctx is now the standard for passing in contexts - PetscCtxRt ctx is the standard for passing out contexts, including context destroy routines based on PetscCtxDestroyFnBoth of these are typedef to void*Also removed most use of user and userctx for context arguments now consistently named ctxImproved documentation on PetscCtx and PetscCtxRt and on how to use contexts (including getting them) from Fortran
show more ...
checkbadSource: enforce proper style in makefiles
Remove explicitly listed empty files and switch to output/empty.out
Viwering PetscSection displays dof as dim in the ASCII files, fix to dof
Fix "Extra spaces in test harness rules" in checkbadSource
Add color component to CoordinateDM in DMView_Network_CSV()Add color handling to DMNetwork visualization scriptAdd check for coordinateDM creation in DMView_Network_CSV()Update ex1.c: set couple
Add color component to CoordinateDM in DMView_Network_CSV()Add color handling to DMNetwork visualization scriptAdd check for coordinateDM creation in DMView_Network_CSV()Update ex1.c: set coupled_snes_max_it=power_snes_max_it=water_snes_max_it=1 to illustrate interaction between subsnes and coupledsnes set color=localf at vertices to monitor convergence over dmnetwork optimize UserMonitor()Update src/dm/impls/network/tests/ex2.c to test '-dmnetwork_view draw'Co-authored-by: dccampbell1@shockers.wichita.edu
Fix some documentation and typos
More manual page fixes
Remove need for seperate lib/petsc/conf/test file by merging with rules fileCommit-type: maintainability
Merge branch 'barry/2023-02-22/rm-locdir' into 'main'Remove need for hardwired LOCDIR in all makefilesSee merge request petsc/petsc!6113
Remove unneeded declarations of LOCDIR from all the makefilesCommit-type:documentation
Double spaces, wrong backticks, or unneeded braces
update ex1.c and ex2.c; add tests
Merge remote-tracking branch 'origin/release'
Fix Typos
Make PetscErrorCode a non-discardable enum
Add test for DMNetworkGetNumEdges, DMNetworkGetNumVertices. Needs to be improved in the future, but good enough for now.
-Add DMNetworkGetNumEdges and DMNetworkGetNumVertices, missing access functions for properties of DMNetwork.-Add DMCreateCoordinates_Network, a missing DM function that now allows for DMNetwork to h
-Add DMNetworkGetNumEdges and DMNetworkGetNumVertices, missing access functions for properties of DMNetwork.-Add DMCreateCoordinates_Network, a missing DM function that now allows for DMNetwork to handle coordinates in the same way as other DM objects.-Add support for automatic migration of coordinate DM and coordinates on call to DMNetworkDistribute.-Add simple test code for DMCreateCoordinates_Network and automatic migration to src/dm/impls/network/tests/ex2.c
source code format changes due to .clang-format changes
Remove braces from one-liners
clang-format: convert PETSc sources to comply with clang-format
fix mixture of all caps and not all caps for SUBMANSEC for DMPLEX and friendsCommit-type: bug-fix, documentation/spend 50m
Add PetscFunctionBeginUser to all PETSc C/C++ examplesNow the stack frames will contain the main program and the correct line numbers in themgit ls-files | egrep "(tutorials|tests)" | xargs sed -
Add PetscFunctionBeginUser to all PETSc C/C++ examplesNow the stack frames will contain the main program and the correct line numbers in themgit ls-files | egrep "(tutorials|tests)" | xargs sed -i "s?\(PetscCall(PetscInitialize(&argc\)?PetscFunctionBeginUser;\n \1?g"Commit-type: error-checking, testing-fix/spend 15m
Changed DMClone_Network to only clone the topological part of the network. Adjusted DMDestroy_Network to compensate. Before this DMClone was broken, and essentially just giving you a shared pointer.
Changed DMClone_Network to only clone the topological part of the network. Adjusted DMDestroy_Network to compensate. Before this DMClone was broken, and essentially just giving you a shared pointer. You could use the clone to mess with the values of the components of the original for example. This is a step in getting DMClone to behave similarly for DMNetwork as other DMs.Added DMNetworkFinalizeComponents() to setup the internal data structures for the components and dofs on a network. Necessary to work with cloned networksAdded basic example to test cloning of a network