History log of /petsc/include/petscdmnetwork.h (Results 1 – 25 of 106)
Revision Date Author Comments
# 6d8694c4 20-Mar-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-04-29/add-fortran-enums' into 'main'

Major updates to Fortran interface

See merge request petsc/petsc!7517


# ce78bad3 20-Feb-2025 Barry Smith <bsmith@petsc.dev>

Fortran 90: fully embrace After 34 years!

- deprecate use of 'F90' in Fortran function names
- use Fortran pointers when appropriate
- the new Fortran API is not backward compatible with previous ve

Fortran 90: fully embrace After 34 years!

- deprecate use of 'F90' in Fortran function names
- use Fortran pointers when appropriate
- the new Fortran API is not backward compatible with previous versions!
- also clean up inconsistent PETSc code detected by new Fortran generation tools
- drop use of bfort
- automatically generate all the Fortran PETSc objects, enums etc from the include files
- generate most of the Fortran interface definitions and functions from the source code
- simplify the number and organization of Fortran modules

Co-authored-by: Jose E. Roman <jroman@dsic.upv.es>

show more ...


# 9dd11ecf 25-Aug-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-08-17/header-guard-check' into 'main'

Check header guards

See merge request petsc/petsc!6822


# a4963045 18-Aug-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Convert all header guards to pragma once


# 04b9411a 10-May-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'dcampbell/dmnetworkview-options' into 'main'

Add more useful viewing options for DMNetwork

See merge request petsc/petsc!6345


# 5f25b224 27-Feb-2023 Duncan Campbell <dcampbell090498@gmail.com>

Add new command-line options for DMNetwork visualization
Placing the options in PetscOptionsBegin ... PetscOptionsEnd
Fix(DMNetwork): fix -draw_pause handling
Feat(DMNetwork): add setters for viewer

Add new command-line options for DMNetwork visualization
Placing the options in PetscOptionsBegin ... PetscOptionsEnd
Fix(DMNetwork): fix -draw_pause handling
Feat(DMNetwork): add setters for viewer options
Co-authored-by: Duncan Campbell <dccampbell1@shockers.wichita.edu>
Co-authored-by: Aidan Hamilton <aidan@udel.edu>
Co-authored-by: Hong Zhang <hzhang@mcs.anl.gov>

show more ...


# 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 ...


# 061e922f 22-Sep-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-09-21/2-bike-2-shed' into 'main'

Feature: Bicycle Storage Facility 2

See merge request petsc/petsc!5661


# 6524c165 21-Sep-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

Transform all header-guards into ifndefs to make clang-format ignore them for preprocessor indentation


# 58d68138 23-Aug-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-08-21/clang-format-source' into 'main'

format repository with clang-format

See merge request petsc/petsc!5541


# 9371c9d4 22-Aug-2022 Satish Balay <balay@mcs.anl.gov>

clang-format: convert PETSc sources to comply with clang-format


# 24741d2c 22-Jul-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'ahamilton/fix-DMClone_Network' into 'main'

Fix DMClone_Network

See merge request petsc/petsc!5362


# daad07d3 22-Jul-2022 Aidan Hamilton <aidan@udel.edu>

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 networks

Added basic example to test cloning of a network

show more ...


# 412c0918 02-Mar-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'hzhang/dmnetworksharedvertex-update' into 'main'

optimize TableAddSVtx()

See merge request petsc/petsc!4763


# 5c6496ba 02-Mar-2022 Hong Zhang <hzhang@mcs.anl.gov>

optimize TableAddSVtx()
cleanup GetEdgelist_Coupling()
update network->subnet[net].nvtx for ghoted subnetworks in DMNetworkLayoutSetUp()

add changes made by Barry in MR4883: DMNetworkGetGlobalEdge/V

optimize TableAddSVtx()
cleanup GetEdgelist_Coupling()
update network->subnet[net].nvtx for ghoted subnetworks in DMNetworkLayoutSetUp()

add changes made by Barry in MR4883: DMNetworkGetGlobalEdge/VertexIndex() work before calling DMSetUp()
use local Nvtx = nvtx_max - nvtx_min + 1 as the size for table as suggested by Barry

show more ...


# 6abb1ff3 10-Sep-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2021-07-03/demonstrate-network-parallel-build' into 'main'

dmnetwork: bug fix for parallel input single subnetwork; API change, optimize and cleanup

See merge request petsc/pets

Merge branch 'barry/2021-07-03/demonstrate-network-parallel-build' into 'main'

dmnetwork: bug fix for parallel input single subnetwork; API change, optimize and cleanup

See merge request petsc/petsc!4176

show more ...


# f11a936e 03-Jul-2021 Barry Smith <bsmith@mcs.anl.gov>

This example seems to demonstrate that one cannot construct a DMNetwork with one subnetwork in parallel correctly.

Commit-type: bug-report
\spend 40m

DMNetworkAddSubnetwork() does not need input nv

This example seems to demonstrate that one cannot construct a DMNetwork with one subnetwork in parallel correctly.

Commit-type: bug-report
\spend 40m

DMNetworkAddSubnetwork() does not need input nv; optimize DMNetworkLayoutSetUp_Coupling() and DMNetworkLayoutSetUp()
bugfix for DMNetworkDistribute(): subnet[].nvtx was over counted
cleanup network.c; add '-malloc_dump 0' to ex10.c: otherwise opensolaris-misc pipeline test fails
use the fix suggested by Satish. This fixes the opensolaris-misc pipeline test error of ex10.c, and harmless to other cases
rm #if 0. Previously kept for future work

show more ...


# 6b359ade 02-Jun-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'hzhang/add-dmnetworkcreateis' into 'main'

Add DMNetworkCreateIS()

See merge request petsc/petsc!3999


# 42dc13f1 19-May-2021 Hong Zhang <hzhang@mcs.anl.gov>

add DMNetworkCreateIS() and DMNetworkCreateLocalIS()
rm subdir 'wash'
rename pipes1.c -> pipes.c


# 171be8c5 15-Jan-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'hzhang/dmnetwork-netcoupling' into 'master'

Hzhang/dmnetwork netcoupling

See merge request petsc/petsc!3051


# 2bf73ac6 28-May-2020 Hong Zhang <hzhang@mcs.anl.gov>

New design for the coupling of sub-dmnetowrks.
See email discussions on Nov 23, 2019, Subject: Re: petsc | DMNetwork: Update manual. (!2297)
See dev.html for changes made
using sf, DMNetworkVariables

New design for the coupling of sub-dmnetowrks.
See email discussions on Nov 23, 2019, Subject: Re: petsc | DMNetwork: Update manual. (!2297)
See dev.html for changes made
using sf, DMNetworkVariablesSetUp() handles shared vertex easily

show more ...


# 16924cb1 26-Aug-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2020-08-16/fix-source-formatting' into 'master'

Turn on checkbadSource test to generate an error when found; fix all source code that causes errors

See merge request petsc/petsc

Merge branch 'barry/2020-08-16/fix-source-formatting' into 'master'

Turn on checkbadSource test to generate an error when found; fix all source code that causes errors

See merge request petsc/petsc!3064

show more ...


# 2da392cc 17-Aug-2020 Barry Smith <bsmith@mcs.anl.gov>

Turn on checkbadSource test to generate an error when found; fix all source code that causes errors

Commit-type: portability-fix, testing-fix, style-fix, feature, maintainability
/spend 1.5h


# 476fb030 18-Dec-2019 Satish Balay <balay@mcs.anl.gov>

Merge branch 'shri/feature-dmnetwork-component-variables' into 'master'

setting/accessing component variables

See merge request petsc/petsc!2396


12345