History log of /petsc/src/dm/impls/da/grglvis.c (Results 1 – 25 of 96)
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 ...


# b31b2f82 10-Nov-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-10-24/fix-dmshellsetdestroyctx' into 'main'

Finish converting the function prototypes of destroy for contexts to use PetscCtxDestroyFn

See merge request petsc/petsc!8810


# e6aa7a3b 24-Oct-2025 Barry Smith <bsmith@mcs.anl.gov>

The goal of all the commits in this MR is to unify the destruction of "application" contexts.

This will help with supporting language bindings. For example, for Fortran the application context
would

The goal of all the commits in this MR is to unify the destruction of "application" contexts.

This will help with supporting language bindings. For example, for Fortran the application context
would be a user derived type

Fix prototype of DMShellSetDestroyCtx function argument to use PETSc standard way of doing it with PetscCtxDestroyF.

Also fix PetscViewerGLVisSetFields prototype of destroy function

These two locations were missed when PetscCtxDestroyFn was introduced as the universal function prototype for context destruction in 3.23

Reported-by: Victor Eijkhout

show more ...


# 4f037aad 27-Mar-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/bs' into 'main'

PetscLayout: set default block size to 1

See merge request petsc/petsc!8226


# 58b7e2c1 23-Mar-2025 Stefano Zampini <stefano.zampini@gmail.com>

PetscLayout: default block size 1


# 9c5460f9 17-Aug-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-08-09/linter-detect-static-function-candidates' into 'main'

Linter detect possible static functions

See merge request petsc/petsc!6796


# ba38deed 15-Aug-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Delete unused code


# bd5f20c3 15-Mar-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-03-14/fixup-use-petscstrncpy-strlcat-memcpy' into 'main'

Fixup !6115

See merge request petsc/petsc!6187


# 363da2dc 14-Mar-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Fix SLEPc pipelines


# 5a7a9864 14-Mar-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jeremy/less-strcpy-strcat' into 'main'

Use Petsc[Strncpy,Strlcat,Memcpy] over Petsc[Strcpy,Strcat]

Closes #1332

See merge request petsc/petsc!6115


# c6a7a370 24-Feb-2023 Jeremy L Thompson <jeremy@jeremylt.org>

Clean up PETSc str ops to use more secure implementations where possible. These include:

- Use PetscStrncpy()/PetscStrlcat()/PetscMemcpy() over PetscStrcpy()/PetscStrcat()
- Use PetscArraycpy() over

Clean up PETSc str ops to use more secure implementations where possible. These include:

- Use PetscStrncpy()/PetscStrlcat()/PetscMemcpy() over PetscStrcpy()/PetscStrcat()
- Use PetscArraycpy() over PetscMemcpy() as appropriate for string buffer copying
- Use built in string from name over hardcoding
- Use sizeof over hardcoded length
- Replace some Strlcat with Strncpy when offset is known

show more ...


# 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


# 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


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

source code format changes due to .clang-format changes


# 38f67375 27-Aug-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-style-one-liners' into 'main'

Remove braces from one-liners

See merge request petsc/petsc!5557


# 48a46eb9 27-Aug-2022 Pierre Jolivet <pierre@joliv.et>

Remove braces from one-liners


# 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


# 145e6476 23-Jun-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-06-13/make-one-line-if-call' into 'main'

Change if () { PetscCall() } three liner to one liner

See merge request petsc/petsc!5344


# 1baa6e33 14-Jun-2022 Barry Smith <bsmith@mcs.anl.gov>

Change if () { PetscCall() } three liner and friends to one liners

for i in `git ls-files | grep "\.[ch]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ ]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\

Change if () { PetscCall() } three liner and friends to one liners

for i in `git ls-files | grep "\.[ch]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ ]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\$[ ]*PetscCall(\([- ._+=a-z0-9A-Z>*,()]*);\)\$[ ]*}\$?\1if (\2) PetscCall(\3$?g' | tr '$' '\n' | sed 's?ZZZ?$?g' > $i.joe ; mv $i.joe $i ; done

for i in `git ls-files | grep "\.[hc]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ }else]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\$[ ]*PetscCall(\([- ._+=a-z0-9A-Z>*,()]*);\)\$\([ ]*\)} \([- ._+=a-z0-9A-Z>*,()]*);\)\$?\1if (\2) PetscCall(\3$\4\5$?g' | tr '$' '\n' | sed 's?ZZZ?$?g' > $i.joe ; mv $i.joe $i ; done

Yes, really ugly but Barry still cannot master awk

Commit-type: housekeeping

show more ...


# 71075aaf 20-May-2022 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 57e3f0c7 20-May-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jose/codespell-fixes' into 'release'

A few codespell fixes

See merge request petsc/petsc!5259


# 6aad120c 19-May-2022 Jose E. Roman <jroman@dsic.upv.es>

A few codespell fixes


1234