History log of /petsc/src/snes/utils/dm/dmadapt.c (Results 1 – 25 of 32)
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 ...


# e1998897 29-Sep-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-09-28/fix-petscerrorcodefn-cxx' into 'main'

Fix the definition of PetscErrorCodeFn; this reverts API change in !8615

See merge request petsc/petsc!8745


# 453a69bb 29-Sep-2025 Barry Smith <bsmith@mcs.anl.gov>

Fix the definition of PetscErrorCodeFn; this reverts API change in !8615

Co-authored-by: Pierre Jolivet <pierre@joliv.et>
Reported-by: Lisandro Dalcin <dalcinl@gmail.com>


# 834855d6 27-Aug-2025 Satish Balay <balay@mcs.anl.gov>

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

clang-format-21

See merge request petsc/petsc!8202


# 3a7d0413 12-May-2025 Pierre Jolivet <pierre@joliv.et>

One-liners from petsc/petsc!5344 and petsc/petsc!5557

Slightly reworked regular expression

git ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do
cat

One-liners from petsc/petsc!5344 and petsc/petsc!5557

Slightly reworked regular expression

git ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do
cat $file | tr '\n' '\r' | sed -E 's/\r([ ]*)(for|if|while|else) ([^\r]*)\{\r[ ]*Petsc([a-zA-Z]*)\(([^\r]*)\);\r[ ]*\}\r/\r\1\2 \3Petsc\4(\5);\r/g' | tr '\r' '\n' > ${file}.joe; mv ${file}.joe ${file}
done

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


# a982d554 16-Jan-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# b2d4ea15 15-Jan-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-docs' into 'release'

Docs: minor fixes

See merge request petsc/petsc!8073


# f8d70eaa 14-Jan-2025 Pierre Jolivet <pierre@joliv.et>

Docs: minor fixes


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

Merge branch 'stefanozampini/useless-cast' into 'main'

Remove useless cast

See merge request petsc/petsc!7894


# 835f2295 05-Oct-2024 Stefano Zampini <stefano.zampini@gmail.com>

Brain dead fixes for useless casts


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


# 0a78fc91 02-Oct-2024 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 160390d7 29-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/typos' into 'release'

Fix typos

See merge request petsc/petsc!7893


# d7c1f440 29-Sep-2024 Pierre Jolivet <pierre@joliv.et>

Fix typos


# d0e6bf2a 25-Sep-2024 Satish Balay <balay@mcs.anl.gov>

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

clang-format-19

See merge request petsc/petsc!7644


# 0d5ef98a 18-Sep-2024 Satish Balay <balay@mcs.anl.gov>

CI: update checkclangformat to use clang-format-19.1.0


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


12