| #
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 ...
|
| #
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
|
| #
5ebfa9e9
|
| 21-Sep-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Introduce PetscFortranCallbackFn to be used instead of PetscVoidFn for Fortran callback functions
Also fix incorrect use of SNESFunctionFn and SNESJacobianFn in SNES Fortran manual stub
|
| #
b0dcfd16
|
| 23-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-03-20/minor-fortran-cleanup' into 'main'
Minor cleanup of Fortran binding stuff to simplify future maintainance
See merge request petsc/petsc!8218
|
| #
6dd63270
|
| 20-Mar-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Minor cleanup of Fortran binding stuff to simplify future maintainance
There is no distinction between F90 and non-F90 code so combine ftn-custom and f90-custom directories and fortranimpl.h and f90
Minor cleanup of Fortran binding stuff to simplify future maintainance
There is no distinction between F90 and non-F90 code so combine ftn-custom and f90-custom directories and fortranimpl.h and f90impl.h files. Also move uses of f90 to ftn when simple
show more ...
|
| #
c7fbd2bd
|
| 02-Feb-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-01-19/typedef-snes-functions' into 'main'
add typedef for functions passed to SNESSetFunction() etc to match approach in TS
See merge request petsc/petsc!7206
|
| #
8434afd1
|
| 02-Feb-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Change the use of the _Fn suffix to indicate a typedef of a function to just Fn
As determined on a vote on GitLab
|
| #
5ddc805b
|
| 21-Jan-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Change PETSc sys typedef function names to use the new _Fn format
Commit-type: housekeeping, maintainance
|
| #
a663c1df
|
| 13-Apr-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
fafa7813
|
| 13-Apr-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-04-11/run-clang-format-on-ftn-custom/release' into 'release'
Format the ftn-custom files with clang-format. Apparently no particular reason we did not format them initially
Merge branch 'barry/2023-04-11/run-clang-format-on-ftn-custom/release' into 'release'
Format the ftn-custom files with clang-format. Apparently no particular reason we did not format them initially
See merge request petsc/petsc!6310
show more ...
|
| #
5975b3b6
|
| 11-Apr-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Format the ftn-custom files with clang-format. Apparently no particular reason we did not format them initially
|
| #
31d78bcd
|
| 02-Feb-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-12-10/petscerrorcode-nodiscard' into 'main'
Feature: Non-discardable PetscErrorCode
See merge request petsc/petsc!5923
|
| #
3ba16761
|
| 10-Dec-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Make PetscErrorCode a non-discardable enum
|
| #
a7bd641c
|
| 19-Oct-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2021-06-10/fix-chkerrq' into 'main'
Fix missing ierr =, removed incorrect CHKERRQ(), change CHKStringError
See merge request petsc/petsc!4078
|
| #
2f613bf5
|
| 10-Jun-2021 |
Barry Smith <bsmith@petsc.dev> |
Fix missing ierr =, removed incorrect CHKERRQ()
Commit-type: error-checking, style-fix \spend 45m
|
| #
f507b629
|
| 21-Feb-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'balay/remove-stdcall' into 'master'
Remove usage of PETSC_HAVE_FORTRAN_STDCALL, PETSC_BLASLAPACK_STDCALL,...
See merge request petsc/petsc!2546
|
| #
19caf8f3
|
| 21-Feb-2020 |
Satish Balay <balay@mcs.anl.gov> |
Remove usage of PETSC_HAVE_FORTRAN_STDCALL, PETSC_BLASLAPACK_STDCALL, HAVE_FORTRAN_MIXED_STR_ARG flags - as Compaq f90 compiler is no longer supported
|
| #
e366c154
|
| 15-Nov-2017 |
Jed Brown <jed@jedbrown.org> |
Merge commit 'd47bf9aaf1e5266cc3f0ff499f934c85788965a9' into jed/fix-matcreatempibaij/maint
Obtain changed (v3.5) handling of MatMPIBAIJSetPreallocationCSR to match documentation.
|
| #
1ceb14c0
|
| 23-Oct-2015 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'master' into pr263/PierreBdR/ts-domain-error-in-stage/master
|
| #
3aa2d9e3
|
| 15-Aug-2015 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'barry/fix-nonew-notcollective/maint' into jed/mat-assembly-perf
Jed this fucking 6+ month running thing in next that is not in master is a royal fucking pain in the ass and an abuse of
Merge branch 'barry/fix-nonew-notcollective/maint' into jed/mat-assembly-perf
Jed this fucking 6+ month running thing in next that is not in master is a royal fucking pain in the ass and an abuse of git. I think it is not justified to ever have anything in next for more than a few weeks at most. Either take it out of next if it is broken or put it in master if it is not broken. Hanging around in next but not master for ever is not a good policy.
show more ...
|
| #
e1b06f76
|
| 20-May-2015 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/solkx
* master: (6933 commits) Bib: Added reference Includegraph: Updated for compatibility with new folder layout. Add SNESLineSearchReason to fortran inclu
Merge branch 'master' into knepley/solkx
* master: (6933 commits) Bib: Added reference Includegraph: Updated for compatibility with new folder layout. Add SNESLineSearchReason to fortran includes Also truncate names to fit 32 char fortran limit fix compile warnings /usr/home/balay/petsc.clone-2/src/vec/vec/interface/vector.c:1944: warning: division by zero in '1.0e+0 / 0.' /usr/home/balay/petsc.clone-2/src/ksp/ksp/interface/itfunc.c:508: warning: 'vec_rhs' may be used uninitialized in this function updated output for new trust region initial size initial size of the trust region is set as a percent of the norm of the initial guess, it should not be related to the initial norm of the function (which is kind of nuts). The default bounds for SNESVISetVariableBounds() in the manual page were reversed from correct values Bib: Added refs Bib: Update MPICH webpage Plex: Forgot to close file removed nonexistent ex46f from makefile test rule Revert "fixed bad merge into master" fixed bad merge into master fix memory leak in mkl_pardiso fix some formatting in mkl_pardiso code mv runex111 from TESTEXAMPLES_C to TESTEXAMPLES_DATAFILESPATH Mat+Doc: More Fortran docs Plex ex3: Run tests with the correct number of field components Bib: Added TetGen cite parmetis: make sure 'ldd libparmetis.so' points to the correct libmetis.so that its linked with. small fix as reported by the nightly test ...
Conflicts: config/builder.py
show more ...
|
| #
fbbfd472
|
| 18-May-2015 |
Toby Isaac <tisaac@ices.utexas.edu> |
Merge branch 'master' into tisaac/dmforest
directory layout changed again: merging to switching branches back and forth doesn't cause reconfigure to have a hard time
* master: (357 commits) remov
Merge branch 'master' into tisaac/dmforest
directory layout changed again: merging to switching branches back and forth doesn't cause reconfigure to have a hard time
* master: (357 commits) removed nonexistent ex46f from makefile test rule Revert "fixed bad merge into master" fixed bad merge into master fix memory leak in mkl_pardiso fix some formatting in mkl_pardiso code mv runex111 from TESTEXAMPLES_C to TESTEXAMPLES_DATAFILESPATH Mat+Doc: More Fortran docs Bib: Added TetGen cite parmetis: make sure 'ldd libparmetis.so' points to the correct libmetis.so that its linked with. small fix as reported by the nightly test add a test for MatPtAP() small cleanup; add tests cleanup MatPtAPSymbolic_MPIAIJ_MPIAIJ() Fix nonzerostate tracking in all MATMPI types. update location of test matrices in faq.html file unused variable still declared Fix for MatLoad_MPIDense() from sparsely stored matrix also fix for MatLoad_MPIDense_DenseInFile() when matrix has not had its local sizes preset by user Preserve the B nonzerostate during disassembly. TSEvent: Fix arch-mswin nightly errors due to declaring variables in the middle of a function. Fix error in parallel loading of dense format matrix removed KSPSetNullSpace() since mat already carries that information and having two locations for it is confusing, unnecessary and prone to error added MatSetTransposeNullSpace() for providing the null space of the transpose of the matrix and added support in KSPSolve() to remove this null space from the right handside of the linear system thus making the system consistent. ...
show more ...
|
| #
c45870e7
|
| 04-May-2015 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-composable-callbacks
* master: (151 commits) PetscMalloc: Fix handling of zero-sized allocations add note to DMGetLocal/GlobalVector() about intended s
Merge branch 'master' into knepley/feature-composable-callbacks
* master: (151 commits) PetscMalloc: Fix handling of zero-sized allocations add note to DMGetLocal/GlobalVector() about intended short-time usage of the vectors. sf: use patched openmpi tarball that has a potential fix for sf example hang SNES problems that set VI bounds must use a VI solver since the other solvers ignore the bounds pounders viewer did not cast PetscReal to double in printf nor use %D instead of %d fix ts ex20adj fix ts theta fixed another variable declaration in the middle of a code block example main() had PetscInt return type and argument that should be int DMDAVTKWriteAll_VTS: Fix handling of higher-dimension coordinates fixed example that declared variables in the middle of a function C programs do not return PetscInt nor do they take an argument that is PetscInt, fixed example that did You cannot declare variables in the middle of functions in PETSc. add ierr checking to PetscOptionsBegin/End() in example configure: add error check if user specifies PETSC_ARCH=-dbg [i.e starts with a '-'] scale norm of vector difference by norm of vector to insure it is small enough to consider the two vectors equal missing PetscViewerDestroy() added MatNestGetISs: use custom fortranstub to handle PETSC_NULL_OBJECT update location of open-mx website on FAQ page If the user sets bounds and calls a solver that does not support them, throw an error. ...
show more ...
|
| #
af3d4eeb
|
| 16-Apr-2015 |
Fande Kong <fdkong.jd@gmail.com> |
Merge branch 'pr192/Fande-Kong/scalable-matincreaseoverlap/master' of https://bitbucket.org/petsc/petsc
|