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


# 9fc2013d 13-Jan-2026 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2026-01-06/ftn-add-argument-names' into 'main'

Use function argument names in generated Fortran interface and stub code

See merge request petsc/petsc!8944


# 81ee147a 07-Jan-2026 Barry Smith <bsmith@mcs.anl.gov>

fix some problematic function argument names in the C source


# a02648fd 23-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/cleanup-symbols' into 'main'

Do not expose unneeded symbols

See merge request petsc/petsc!8335


# d6acfc2d 21-Apr-2025 Pierre Jolivet <pierre@joliv.et>

Do not expose unneeded symbols


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


# a623e290 12-Jun-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-05-29/minor-fortran-stub-cleanup' into 'main'

More improvements to Fortran stubs and interfaces

See merge request petsc/petsc!7598


# 5d83a8b1 30-May-2024 Barry Smith <bsmith@mcs.anl.gov>

This requires some changes to user FORTRAN code

Pass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an array
Pass PETSC_NULL_ENUM when argument returns an enum instead of

This requires some changes to user FORTRAN code

Pass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an array
Pass PETSC_NULL_ENUM when argument returns an enum instead of PETSC_NULL_INTEGER
Pass arrays (and not scalar values) when the argument is expecting an array; this means replace, for example, the argument v with [v]
Use PetscObjectIsNull(obj) to check if the object is NULL, instead of obj == PETSC_NULL_XXX

The compiler will now automatically prevent you from using the wrong argument type for the first three bullets above
This will also require an update sowing with the new sowing branch this MR is using.

show more ...


# 1ed6e3ff 25-Apr-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-04-13/fix-sowing-strings' into 'main'

Update PETSc to use sowing bfort that handles string arguments and PETSC_NULL_INT

See merge request petsc/petsc!7480


# cc4c1da9 14-Apr-2024 Barry Smith <bsmith@mcs.anl.gov>

Update source code removing all unneeded /*@C and associated manual stubs and interfaces


# 970231d2 07-Mar-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/clang-format-18' into 'main'

clang-format version 18

See merge request petsc/petsc!6902


# f4f49eea 11-Feb-2024 Pierre Jolivet <pierre@joliv.et>

Remove multiple parentheses and extra semicolon

git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g

Remove multiple parentheses and extra semicolon

git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g'
git grep -l -E "Petsc(.)*\(\(\*[a-zA-Z0-9_]*\)," | xargs sed -r -i'' 's#Petsc([a-zA-Z0-9_]*)\(\(\*([a-zA-Z0-9_]*)\), #Petsc\1(*\2, #g'
git grep -l -E "([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)" | xargs sed -r -i'' 's#([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)#\1\2#g'

show more ...


# 5f6a2456 01-Mar-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/fix-subdm-interface' into 'main'

DM: Inching closer to an expanded subDM specification

See merge request petsc/petsc!7328


# dd072f5f 28-Feb-2024 Matthew G. Knepley <knepley@gmail.com>

DM: Inching closer to an expanded subDM specification


# 0dab3bd6 23-Jan-2024 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# b6e5bc89 23-Jan-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/minorfixes-release' into 'release'

minor fixes release

See merge request petsc/petsc!7222


# 164282b9 23-Jan-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/dmplexforest' into 'main'

Updates to DMPLEX and DMFOREST

See merge request petsc/petsc!7217


# d72c4dc2 22-Jan-2024 Stefano Zampini <stefano.zampini@gmail.com>

Minor fixes


# b42326f7 21-Jan-2024 Stefano Zampini <stefano.zampini@gmail.com>

DMCoarsen_Forest: allow MPI_COMM_NULL


# 97ca8683 11-Dec-2023 Stefano Zampini <stefano.zampini@gmail.com>

DMFOREST: functions need to be removed during DMDestroy_Forest


# 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


# 66976f2f 14-Aug-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Add static to internal functions


# 4979242e 09-Aug-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-08-08/lint-apply-dm' into 'main'

Manual DM Linter Fixes

See merge request petsc/petsc!6792


12345678910