History log of /petsc/src/dm/dt/interface/dtprob.c (Results 1 – 25 of 55)
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 ...


# 1bafe4bb 20-May-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-05-15/fix-func-typedef-names' into 'main'

All typedef for functions are of the form (XXXXFn)(...) not (*XXXXyyyy)(....)

See merge request petsc/petsc!8408


# f8662bd6 15-May-2025 Barry Smith <bsmith@mcs.anl.gov>

Fix PetscProbFunc


# c97af49d 18-Mar-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-ex2-fft' into 'main'

TS Hamiltonian ex2 improvements

See merge request petsc/petsc!8197


# e3ce8211 14-Mar-2025 Matthew G. Knepley <knepley@gmail.com>

DT: Add different KS tests for distribution inputs
- Add PetscProbComputeKSStatisticWeighted() and PetscProbComputeKSStatisticMagnitude()
- Add KS test viewer


# 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


# fda22ce0 08-Jul-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-07-01/fix-petscoptionsgetviewer' into 'main'

The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model

See merge request petsc/petsc!7667


# 648c30bc 08-Jul-2024 Barry Smith <bsmith@mcs.anl.gov>

The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model

Hence the code needs to be refactored

Introduce PetscCallNull() and PetscCallMPINull() to simplify PETSC_VI

The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model

Hence the code needs to be refactored

Introduce PetscCallNull() and PetscCallMPINull() to simplify PETSC_VIEWER_XXXX_() routines

Reported-by: James Wright
Thanks-to: Jeremy L Thompson

show more ...


# b2e8165f 11-Jun-2024 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# d61ff78d 11-Jun-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-06-08/minor-docs-fixes/release' into 'release'

Minor docs fixes

See merge request petsc/petsc!7618


# f13dfd9e 11-Jun-2024 Barry Smith <bsmith@mcs.anl.gov>

Minor docs fixes


# 613ce9fe 17-Dec-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 08c30c10 17-Dec-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-12-04/fix-manpage-references/release' into 'release'

Update references in the manual pages to use Sphinx citation processing

See merge request petsc/petsc!7101


# 1d27aa22 04-Dec-2023 Barry Smith <bsmith@mcs.anl.gov>

Update references in the manual pages to use Sphinx citation processing


# e6053022 02-Dec-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-11-21/fix-thread-safety-petscoptionsgetviewer' into 'main'

Fix PetscOptionsGetViewer() so it works in a thread-safe way

See merge request petsc/petsc!7047


# cd791dc2 21-Nov-2023 Barry Smith <bsmith@mcs.anl.gov>

Fix PetscOptionsGetViewer() so it works in a thread-safe way

When PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is shared
by all threads that call PetscOptio

Fix PetscOptionsGetViewer() so it works in a thread-safe way

When PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is shared
by all threads that call PetscOptionsGetViewer(). In the previous code PetscObjectReference() and
dereference (via PetscViewerDestroy() where called on the viewer by multiple threads after the viewer
was accessed thus corrupting the object.

This branch introduces a PetscOptionsRestoreViewer() that allows not doing the referencing and dereferencing
on persistant viewers, thus removing the specific race condition above.

Other possible solutions include

Use a lock on each PetscObjectReference/Dereference() just in case they are shared. Could be time consuming so one
could mark each object as either threadshared or independent and only do the locks on threadshared objects. This lowers
the cost but would require more extensive changes to PETSc infrastructure. And I do not know if this shared/not shared model
is what we need in the long run, though it might be.

show more ...


# ad4c700a 04-Oct-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 4c755a4e 04-Oct-2023 Satish Balay <balay@mcs.anl.gov>

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

Fix typos

See merge request petsc/petsc!6908


# baca6076 04-Oct-2023 Pierre Jolivet <pierre@joliv.et>

Fix typos


# 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


# a4e35b19 08-Aug-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Manual linter fixes: dm


# cfd92c66 22-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'tisaac/feature-type-generic-petsc-valid-pointer' into 'main'

Implement a type generic PetscValidPointer

See merge request petsc/petsc!6693


123