History log of /petsc/src/ts/tutorials/ex30.c (Results 1 – 21 of 21)
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 ...


# 8112c1cb 22-Sep-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-09-04/deprecate-mpiu-bool' into 'main'

Deprecate MPIU_BOOL which used to be for PETSc's enum Bool but now is just MPI_C_BOOL

See merge request petsc/petsc!8691


# 5440e5dc 04-Sep-2025 Barry Smith <bsmith@mcs.anl.gov>

Deprecate MPIU_BOOL which used to be for PETSc' enum Bool but now is just MPI_C_BOOL so no longer needs its own name


# 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


# ac530a7e 03-Jun-2025 Pierre Jolivet <pierre@joliv.et>

Remove unnecessary braces around one-liners

git grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\

Remove unnecessary braces around one-liners

git grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\) {([^;]*);([^;]*)}$#\1\2 \(\3\)\4;\5#'

show more ...


# f409f0aa 08-May-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/tsex30' into 'main'

TS ex30 improvements

See merge request petsc/petsc!7819


# 66edf50c 05-Sep-2024 Stefano Zampini <stefano.zampini@gmail.com>

TS ex30: update example

- fix for non-unit domains
- time varying sources
- 3D support
- operator splitting
- function domain error


# d8e47b63 17-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-09-02/rebased-fix-conversion-warnings' into 'main'

Compiler finds (and forbid) casts from higher precision integers to lower

See merge request petsc/petsc!7806


# 462c564d 14-Sep-2024 Barry Smith <bsmith@mcs.anl.gov>

Fix MPIU_* routines to always return MPI error codes and thus be usable with PetscCallMPI()

Introduce MPIU_Count to be used when MPI_Count is not available


# a4da37cc 27-Aug-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/dmplex-mass' into 'main'

Fixes/enhancements for mass matrix support

See merge request petsc/petsc!7649


# 204aa523 27-Jun-2024 Stefano Zampini <stefano.zampini@gmail.com>

TS tutorials ex30: support mass lumping


# 75c467b0 14-Aug-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-ubsan-Wtype-limits' into 'main'

Fix UBSan and -Wtype-limits

See merge request petsc/petsc!7758


# 55bffe1b 13-Aug-2024 Pierre Jolivet <pierre@joliv.et>

Fix UBSan and -Wtype-limits

src/dm/impls/plex/plexdistribute.c:953:22: warning: comparison is always false due to limited range of data type [-Wtype-limits]
953 | if ((PetscInt)ct < 0) {

Fix UBSan and -Wtype-limits

src/dm/impls/plex/plexdistribute.c:953:22: warning: comparison is always false due to limited range of data type [-Wtype-limits]
953 | if ((PetscInt)ct < 0) {
| ^
src/dm/impls/plex/plex.c:9258:29: warning: comparison is always true due to limited range of data type [-Wtype-limits]
9258 | PetscCheck((PetscInt)ct >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Cell %" PetscInt_FMT " has no cell type", c);
| ^~

show more ...


# a4cdeec6 09-Apr-2024 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 30d90a34 08-Apr-2024 Satish Balay <balay@mcs.anl.gov>

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

Typos

See merge request petsc/petsc!7445


# d8b4a066 07-Apr-2024 Pierre Jolivet <pierre@joliv.et>

Typos


# 2627a174 27-Mar-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/hypre-mfem-single' into 'main'

hypre mfem single

See merge request petsc/petsc!7414


# 910b42cb 27-Mar-2024 Stefano Zampini <stefano.zampini@gmail.com>

Tweak single precision tests for my configuration with packages


# 4163207f 21-Mar-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/biological-network' into 'main'

biological network example

See merge request petsc/petsc!7106


# 811d88ab 07-Dec-2023 Stefano Zampini <stefano.zampini@gmail.com>

TS tutorials ex30: biological network example