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


# 2a1887a7 11-Dec-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-11-30/fix-bad-ts' into 'main'

Fix bad decisions made in writing TS.

See merge request petsc/petsc!8877


# 188af4bf 01-Dec-2025 Barry Smith <bsmith@mcs.anl.gov>

Fix bad decisions made in writing TS.

Fix -ts_dt to -ts_time_step and add initial time step to TSView output

commit a5a92c11fa9681148df375b257eda4e09909b74e
Author: Barry Smith <bsmith@petsc.de

Fix bad decisions made in writing TS.

Fix -ts_dt to -ts_time_step and add initial time step to TSView output

commit a5a92c11fa9681148df375b257eda4e09909b74e
Author: Barry Smith <bsmith@petsc.dev>
Date: Mon Dec 1 14:51:27 2025 -0500

add max_snes_failures to TSView

commit 32d3e79f6fa743930b1bbf32d03b9181b5b5418a
Author: Barry Smith <bsmith@petsc.dev>
Fix wrongly named options and add to TSView

Wrong name for options database key -ts_max_reject should be -ts_max_step_rejections!

Add max_reject value to TSView

Add max_snes_failures to TSView

Add initial timestep to TSView

show more ...


# 2286efdd 25-Sep-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-07-30/fix-matshellsetoperationarg' into 'main'

Complete usage of PetscVoidFn and PetscErrorCodeFn and introduce PetscFortranCallbackFn

See merge request petsc/petsc!8615


# 57d50842 31-Jul-2025 Barry Smith <bsmith@mcs.anl.gov>

Change use of void (*)(void) and void (**)(void) in the PETSc API to PetscVoidFn * and PetscVoidFn ** or PetscErrorCodeFn * or PetscErrorCodeFn **


# 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


# 4dc7d032 30-Sep-2024 Barry Smith <bsmith@mcs.anl.gov>

Fix example use of typedef with function pointer naming


# 732aec7a 22-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/remove-cast' into 'main'

Use NULL or nullptr instead of casted 0

See merge request petsc/petsc!7857


# c8025a54 21-Sep-2024 Pierre Jolivet <pierre@joliv.et>

Use NULL or nullptr instead of casted 0


# 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


# 6497c311 25-Aug-2024 Barry Smith <bsmith@mcs.anl.gov>

Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']

Also fix the code to repository to compile cleanly with these flags in th

Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']

Also fix the code to repository to compile cleanly with these flags in the CI

show more ...


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


# 4d86920d 10-Feb-2024 Pierre Jolivet <pierre@joliv.et>

checkbadSource: rules for PetscFunctionBegin and derivatives


# 61d8dfa2 09-Jan-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-checkbadSource' into 'main'

Improve checkbadSource

See merge request petsc/petsc!7168


# 53df731d 08-Jan-2024 Pierre Jolivet <pierre@joliv.et>

Fix "Extra spaces in test harness rules" in checkbadSource


# cb92de99 08-Nov-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/pc-housekeeping' into 'main'

Some housekeeping on default PC

See merge request petsc/petsc!6997


# b4f8a55a 05-Nov-2023 Stefano Zampini <stefano.zampini@gmail.com>

PCMAT: use MatSolve as default operation if available


# 49154744 22-Apr-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# d7849d59 20-Apr-2023 Satish Balay <balay@mcs.anl.gov>

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

Fix PetscCallMPI(MPI_Allreduce()) with PETSc types

See merge request petsc/petsc!6348


# 712fec58 19-Apr-2023 Pierre Jolivet <pierre@joliv.et>

Fix PetscCallMPI(MPI_Allreduce()) with PETSc types


# b7dab1a6 24-Mar-2023 Satish Balay <balay@mcs.anl.gov>

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

Switch to clang-format 16

See merge request petsc/petsc!6203


# 6c5826a2 20-Mar-2023 Pierre Jolivet <pierre@joliv.et>

Switch to clang-format 16


1234