History log of /petsc/src/dm/impls/network/tests/ex2.c (Results 1 – 14 of 14)
Revision Date Author Comments
# 4e8208cb 31-Jan-2026 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2026-01-13/ftn-generation-for-context-functions' into 'main'

Fortran generation of interface definitions for functions that take and return context variables (void *ctx and PetC

Merge branch 'barry/2026-01-13/ftn-generation-for-context-functions' into 'main'

Fortran generation of interface definitions for functions that take and return context variables (void *ctx and PetCtx ctx)

See merge request petsc/petsc!8956

show more ...


# 2a8381b2 13-Jan-2026 Barry Smith <bsmith@mcs.anl.gov>

Add automatic generated fortran support for setting and returning contexts

Major 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 contexts

Major 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 PetscCtxDestroyFn

Both of these are typedef to void*

Also removed most use of user and userctx for context arguments now consistently named ctx

Improved documentation on PetscCtx and PetscCtxRt and on how to use contexts (including getting them) from Fortran

show more ...


# 1c7e6064 15-Jun-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'hzhang/dmnetworkview-color' into 'main'

Add color component to CoordinateDM

See merge request petsc/petsc!6479


# 7cd471e7 23-Feb-2023 Hong Zhang <hzhang@mcs.anl.gov>

Add color component to CoordinateDM in DMView_Network_CSV()
Add color handling to DMNetwork visualization script
Add 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 script
Add 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

show more ...


# d01c6957 28-Mar-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-03-25/fix-more-manualpages' into 'main'

More manual page fixes

See merge request petsc/petsc!6233


# 2fe279fd 28-Mar-2023 Barry Smith <bsmith@mcs.anl.gov>

More manual page fixes


# 7a3a620f 24-Feb-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/housekeeping' into 'main'

Double spaces, wrong backticks, or unneeded braces

See merge request petsc/petsc!6110


# aa624791 24-Feb-2023 Pierre Jolivet <pierre@joliv.et>

Double spaces, wrong backticks, or unneeded braces


# 1e5479aa 14-Feb-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'dcampbell/add-dmnetworkview-py' into 'main'

Added Matplotlib viewer functionality to DMView

See merge request petsc/petsc!5953


# cc13d412 06-Feb-2023 Hong Zhang <hzhang@mcs.anl.gov>

update ex1.c and ex2.c; add tests


# 31d78bcd 02-Feb-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-12-10/petscerrorcode-nodiscard' into 'main'

Feature: Non-discardable PetscErrorCode

See merge request petsc/petsc!5923


# 3ba16761 10-Dec-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

Make PetscErrorCode a non-discardable enum


# 93063eb5 22-Oct-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'ahamilton/Feature-DMNetwork-CreateCoordinateDM_Network' into 'main'

Feature: Add DMGetCoordinateDM Support for DMNetwork

See merge request petsc/petsc!5745


# 8afb7921 15-Oct-2022 Aidan Hamilton <aidan@udel.edu>

-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

show more ...