chkerr and friends wrapped
Merge remote-tracking branch 'origin/release'
Add some clarity to manual pages on how DMNetworkGetLocalVecOffset() and DMNetworkGetGlobalVecOffset() can be usedCommit-type: documentation/spend 10m
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 ...
rename PetscAssert() -> PetscCheck() and PetscAssertDebug() -> PetscAssert()
deprecate PETSC_STATIC_INLINE
add PetscAssert() and PetscAssertFalse()
SETERRQ[1-9]+ begone
Adding/modify tests on zero size components to several examples;DMNetworkAddComponent(): the owning rank and all ghost ranks must call it to add a component and nvar in the same orderUpdate doc for
Adding/modify tests on zero size components to several examples;DMNetworkAddComponent(): the owning rank and all ghost ranks must call it to add a component and nvar in the same orderUpdate doc for DMNetworkAddComponentmerge DMNetworkLayoutSetUp_Coupling() into DMNetworkLayoutSetUp() to remove duplication
Check that DMNetwork does not have any self-connections, an edge between a single vertexThis input causes a corrupted DMPLEX and difficult to debug errorsCommit-type: error-checking\spend 15mRe
Check that DMNetwork does not have any self-connections, an edge between a single vertexThis input causes a corrupted DMPLEX and difficult to debug errorsCommit-type: error-checking\spend 15mReported-by: Getnet Betrie <gbetrie@anl.gov>
plex create: pull out mapping lv->gv for CreateFromListParallel
style-fixes
Style: replace "!rank" with "rank == 0"In SF tutorial ex1 (src/vec/is/sf/tutorials/ex1.c), add parentheses around "rank == 0". This is relevant because ! binds more tightly than +, but == binds les
Style: replace "!rank" with "rank == 0"In SF tutorial ex1 (src/vec/is/sf/tutorials/ex1.c), add parentheses around "rank == 0". This is relevant because ! binds more tightly than +, but == binds lesstightly, so the result of the computation would otherwise change.
Fix manpages: more errors reported by doctext
Fix manpages: Input/Output Parameters --> Parameter
Fix manpages: Input/Output Parameter --> Parameters
Merge branch 'barry/2021-07-03/demonstrate-network-parallel-build' into 'main'dmnetwork: bug fix for parallel input single subnetwork; API change, optimize and cleanupSee 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 cleanupSee merge request petsc/petsc!4176
This example seems to demonstrate that one cannot construct a DMNetwork with one subnetwork in parallel correctly.Commit-type: bug-report\spend 40mDMNetworkAddSubnetwork() 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 40mDMNetworkAddSubnetwork() does not need input nv; optimize DMNetworkLayoutSetUp_Coupling() and DMNetworkLayoutSetUp()bugfix for DMNetworkDistribute(): subnet[].nvtx was over countedcleanup network.c; add '-malloc_dump 0' to ex10.c: otherwise opensolaris-misc pipeline test failsuse the fix suggested by Satish. This fixes the opensolaris-misc pipeline test error of ex10.c, and harmless to other casesrm #if 0. Previously kept for future work
Fix spelling errors in manpages and comments
add DMNetworkCreateIS() and DMNetworkCreateLocalIS()rm subdir 'wash'rename pipes1.c -> pipes.c
Merge branch 'hzhang/dmnetwork-smallcleanup' into 'main'small cleanup of dmnetwork codesSee merge request petsc/petsc!3969
rm configure option '-with-dmnetwork_maximum_components_per_point'; small cleanup of network.cadd options '-dmnetwork_view_xxx' to the manual pages.
Linter using libClang that checks PetscValidHeaderSpecifcType, PetscValidHeaderSpecific, PetscValidHeader, PetscValid[XXX]Pointer, PetscValidType, PetscCheckSameComm, PetscValidLogicalCollectiveXXX f
Linter using libClang that checks PetscValidHeaderSpecifcType, PetscValidHeaderSpecific, PetscValidHeader, PetscValid[XXX]Pointer, PetscValidType, PetscCheckSameComm, PetscValidLogicalCollectiveXXX for validity. Automatically generates diff files for problems with a known solution.
DMNetwork: Remove PETSC_DMNETWORK_COMPONENTS_PER_POINT
12345678910>>...13