History log of /petsc/include/petscdmadaptor.h (Results 1 – 25 of 39)
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 ...


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


# ad781fe3 21-Oct-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-09-29/fix-function-typedef-style' into 'main'

Unify handling of context destructors

See merge request petsc/petsc!7900


# 49abdd8a 29-Sep-2024 Barry Smith <bsmith@mcs.anl.gov>

Unifies all context destructors to have a form of PetscCtxDestroyFn == PetscErrorCode (*)(void **)

Changes the previous subset of destructor APIs that used PetscErrorCode (*)(void *) (mostly those t

Unifies all context destructors to have a form of PetscCtxDestroyFn == PetscErrorCode (*)(void **)

Changes the previous subset of destructor APIs that used PetscErrorCode (*)(void *) (mostly those that
used PetscContainer

- Now allows any context to be a PetscObject
- Will provide a cleaner mapping to bindings in other languages
- Simplifies the maintenance of PETSc source code; improves clarity

Not backward compatible, compiler warnings will tell users what functions need to be updated

show more ...


# 55053962 05-Aug-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-adaptor-multiple-loops' into 'main'

Add adaptor with multiple loops

See merge request petsc/petsc!7698


# e03fd340 15-Jul-2024 Matthew G. Knepley <knepley@gmail.com>

DMAdaptor: Fix multiple adaptations - Fix prefixes - Add DMAdaptorSetOptionsPrefix()


# ad00654a 15-Jul-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'nathawani/feature-amr-using-flux-norm' into 'main'

SNES ex27: Poisson problem using primal and mixed form for error estimator using flux norm

See merge request petsc/petsc!7674


# 8b724c91 13-Jul-2024 Matthew G. Knepley <knepley@gmail.com>

DMAdaptor: Add monitoring
- Add DMAdaptorMonitor(), DMAdaptorMonitorSet(), DMAdaptorMonitorCancel(), DMAdaptorMonitorSetFromOptions()
- Add DMAdaptorMonitorError(), DMAdaptorMonitorErrorDraw(), DMA

DMAdaptor: Add monitoring
- Add DMAdaptorMonitor(), DMAdaptorMonitorSet(), DMAdaptorMonitorCancel(), DMAdaptorMonitorSetFromOptions()
- Add DMAdaptorMonitorError(), DMAdaptorMonitorErrorDraw(), DMAdaptorMonitorErrorDrawLGCreate(), DMAdaptorMonitorErrorDrawLG()
- Add DMAdaptorMonitorRegister(), DMAdaptorMonitorRegisterAll(), DMAdaptorMonitorRegisterDestroy()

show more ...


# 3a336bb1 08-Jul-2024 Matthew G. Knepley <knepley@gmail.com>

DMAdaptor: Complete overhaul
- Add CLASSID and type registration
- Add error estimates based upon a mixed problem
- Add DMAdaptorSetType(), DMAdaptorGetType(), DMAdaptorRegister(), DMAdaptorRegisterA

DMAdaptor: Complete overhaul
- Add CLASSID and type registration
- Add error estimates based upon a mixed problem
- Add DMAdaptorSetType(), DMAdaptorGetType(), DMAdaptorRegister(), DMAdaptorRegisterAll(), DMAdaptorRegisterDestroy()
- Add DMAdaptorGetMixedSetupFunction() and DMAdaptorSetMixedSetupFunction()

show more ...


# b22c9ba6 08-Jan-2024 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 338bea87 08-Jan-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-01-04/fix-includes-man-pages/release' into 'release'

Barry/2024 01 04/fix includes man pages/release

See merge request petsc/petsc!7165


# af27ebaa 05-Jan-2024 Barry Smith <bsmith@mcs.anl.gov>

Fix manual page formating in include directory


# 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


# a663c1df 13-Apr-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 517f05f0 13-Apr-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-03-30/fix-include-man-pages/release' into 'release'

Fix manual pages in include files

See merge request petsc/petsc!6272


# 16a05f60 13-Apr-2023 Barry Smith <bsmith@mcs.anl.gov>

Fix manual pages in include files


# 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


# 32105407 17-Aug-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-08-13/fix-man-include' into 'main'

Fix up manual pages in include/ including adding tick marks

See merge request petsc/petsc!5528


# 87497f52 14-Aug-2022 Barry Smith <bsmith@mcs.anl.gov>

Fix up manual pages in include/ including adding tick marks

Commit-type: documentation
/spend 4h


# 6ffe77ea 12-May-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-05-03/cleanup-makefiles' into 'main'

remove unneeded stuff from makefiles

See merge request petsc/petsc!5211


# ac09b921 05-May-2022 Barry Smith <bsmith@mcs.anl.gov>

Get values of makefile SOURCE etc from the file system instead of makefiles

Use SUBMANSEC from include files for manual sections instead of the makefile

Unfortunately this has to be one large commi

Get values of makefile SOURCE etc from the file system instead of makefiles

Use SUBMANSEC from include files for manual sections instead of the makefile

Unfortunately this has to be one large commit since the changes all have to be done at once

Commit-type: docs
/spend 10m

show more ...


12