| #
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 ...
|
| #
9dd11ecf
|
| 25-Aug-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-08-17/header-guard-check' into 'main'
Check header guards
See merge request petsc/petsc!6822
|
| #
a4963045
|
| 18-Aug-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Convert all header guards to pragma once
|
| #
3ea99036
|
| 17-Aug-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Fix some malformed if !defined() header guards
|
| #
061e922f
|
| 22-Sep-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-09-21/2-bike-2-shed' into 'main'
Feature: Bicycle Storage Facility 2
See merge request petsc/petsc!5661
|
| #
d71ae5a4
|
| 21-Sep-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
source code format changes due to .clang-format changes
|
| #
6524c165
|
| 21-Sep-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Transform all header-guards into ifndefs to make clang-format ignore them for preprocessor indentation
|
| #
58d68138
|
| 23-Aug-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-08-21/clang-format-source' into 'main'
format repository with clang-format
See merge request petsc/petsc!5541
|
| #
9371c9d4
|
| 22-Aug-2022 |
Satish Balay <balay@mcs.anl.gov> |
clang-format: convert PETSc sources to comply with clang-format
|
| #
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
|
| #
417c5e9a
|
| 05-Oct-2015 |
Toby Isaac <tisaac@ices.utexas.edu> |
Merge branch 'master' into tisaac/dmforest
Get 3.6.2 patches
* master: (1360 commits) remove nasty memory leak with CUDA code when using block Jacobi with multiple blocks per process print abs
Merge branch 'master' into tisaac/dmforest
Get 3.6.2 patches
* master: (1360 commits) remove nasty memory leak with CUDA code when using block Jacobi with multiple blocks per process print abs in Fortran test example in order to have same result with real and complex builds changed outdate mpirun and -np to mpiexec and -n force sqrt to be taken in the precision of PetscReal in fortran examples continuation line too soon for some compilers stop configure if user selected C++ clanguage, single precision, complex combination since we do not support it fixes for Fortran examples to compile cleanly in single precision that do not involve complex numbers fixes to Fortran examples to compile cleanly in single precision complex fix previous mistake must cast 1. to PetscScalar before dividing by a PetscScalar (C++ complex class is terrible) must cast 0.0 to PetscScalar before comparison with a PetscScalar changed order of suggested locations of downloadable PETSc to Barry's preference Increase patchlevel to 3.6.2 remove debug print statement from two commits before remove debug print statements I accidently left in the last commit PetscDraw: Fix dummy definition of PetscDrawCollective{Begin|End}() remove cleanupMumps flag from MatDestroy_Mumps() it should always free the memory it allocated Bug detected while adding features to libMesh improved viewing of fractional counts in xml nested log viewing fixed bug in output of doubles to xml nested log files chombo: build only libs - not examples fix typo. 'gcc-4.8 --with-cxx-dialect=C++11' gives a warning with this line - even though its in a #ifdef thats never enabled. ...
show more ...
|
| #
3646cfeb
|
| 22-Sep-2015 |
Fande Kong <fdkong.jd@gmail.com> |
To add a space to all comments I have made before. Barry pointed out that a comment without a space right after '/*' may cause bfort to crash
Merge remote-tracking branch 'petsc/master' into fixed-c
To add a space to all comments I have made before. Barry pointed out that a comment without a space right after '/*' may cause bfort to crash
Merge remote-tracking branch 'petsc/master' into fixed-comment-space
Conflicts: include/petsc/finclude/petscmat.h include/petscmat.h src/mat/examples/tests/makefile src/mat/impls/aij/mpi/mpiaij.h
show more ...
|
| #
c5e4d11f
|
| 16-Sep-2015 |
Dmitry Karpeev <karpeev@mcs.anl.gov> |
Merge branch 'pr329/master/Fande-Kong/matpartitioning-hierarch' into pr361/master/Fande-Kong/pcgasm-increaseoverlap: need hierarch to build GASM subdomains.
Conflicts: src/mat/examples/tests/makefi
Merge branch 'pr329/master/Fande-Kong/matpartitioning-hierarch' into pr361/master/Fande-Kong/pcgasm-increaseoverlap: need hierarch to build GASM subdomains.
Conflicts: src/mat/examples/tests/makefile src/mat/impls/aij/mpi/mpiaij.h
show more ...
|
| #
8d3c1932
|
| 29-Aug-2015 |
Toby Isaac <tisaac@ices.utexas.edu> |
Merge branch 'tisaac/dmplex-stable-tet-refinement' into tisaac/plex-feature-tree-fv
This feature branch also changed the topology of nonconforming examples: I am merging so that I can make the regre
Merge branch 'tisaac/dmplex-stable-tet-refinement' into tisaac/plex-feature-tree-fv
This feature branch also changed the topology of nonconforming examples: I am merging so that I can make the regression output that should be correct in master and next
* tisaac/dmplex-stable-tet-refinement: (594 commits) plex: added tet shape regression test plexrefine: remove replaced code plex: update test output for new tet refinement order plex: fix tet refinement for stable element shape DMPlex: added test of shape quality to ex1 Better to use the proper error handling version of PetscViewerASCIIGetStdout() instead of PETSC_VIEWER_STDOUT_() Generate a very useful error message if PetscLogView(), PetscLogEventGetPerfInfo() or PetscLogEventGetFlops() is called with a preceeding call to PetscLogBegin() and friends (also -log_summary which triggers a PetscLogBegin()) fix compile warnings Plex: Fix bug with bcComps initialization Turn off elemental shared libraries if --with-shared-libraries=0 is used Bib: Added refs Bib: Fixed a bunch of errors add warning/error flag for '-mat_superlu_dist_parsymbfact' when MatInputMode=GLOBAL makefile: fix format tests: add back ex6f, runex6f targets - that got removed in 2f1d3d565a6a43067e6df75b043e6343b05fcd1d accessing option that may never have been set typo in DMNetworkSetNumVariables() reported by Sean Shahkarami superlu_dist: update to using latest 4.1 version fix compile warnings Generate an error message when trying to overwrite default options of CN and BEULER ...
show more ...
|
| #
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 ...
|
| #
3e8c22cd
|
| 22-Jul-2015 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-snes-deflation
* master: (206 commits) Bib: Added ref fix the output file for the ts example ex20adj Bugfix: setting post-step function in ztsf.c f
Merge branch 'master' into knepley/feature-snes-deflation
* master: (206 commits) Bib: Added ref fix the output file for the ts example ex20adj Bugfix: setting post-step function in ztsf.c fix makefile format error with 'all-legacy' doc: handle missing dev.html in a release tarball doc: add in petscistypes.h to doc sourcefile list Increase patchlevel to 3.6.1 update some example output files Doc+Vec: Fixed VecSetValuesBlocked() Reported by: Shao-Ching Huang <huangsc@gmail.com> clarify that PETSc's "thread safe" code only works with OpenMP allow adjoint integration over split time intervals DT: Goddman it. Why are people stepping on my commits Bib: Added ref fix the bug in the endpoint version of discrete adjoint theta and correct the affected example outputs SNES: Added SNESQN types to Fortran Reported-by: Chris Bradley <c.bradley@auckland.ac.nz> fix: buggy change in 33da457b864643cfcac2768e47197c286471a5a4 updated petscthreads.html with information on thread per object model fix for ex56 removed the dead links to threads.html send petsc repository messages to Karl no longer from his mcs address ...
Conflicts: config/builder.py src/dm/impls/plex/examples/tests/ex3.c src/dm/impls/plex/examples/tests/makefile src/dm/impls/plex/makefile
show more ...
|
| #
123dfe75
|
| 22-Jul-2015 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-point-location
* master: (202 commits) Bib: Added ref fix makefile format error with 'all-legacy' Increase patchlevel to 3.6.1 update some exa
Merge branch 'master' into knepley/feature-plex-point-location
* master: (202 commits) Bib: Added ref fix makefile format error with 'all-legacy' Increase patchlevel to 3.6.1 update some example output files Doc+Vec: Fixed VecSetValuesBlocked() Reported by: Shao-Ching Huang <huangsc@gmail.com> clarify that PETSc's "thread safe" code only works with OpenMP allow adjoint integration over split time intervals DT: Goddman it. Why are people stepping on my commits Bib: Added ref fix the bug in the endpoint version of discrete adjoint theta and correct the affected example outputs SNES: Added SNESQN types to Fortran Reported-by: Chris Bradley <c.bradley@auckland.ac.nz> fix: buggy change in 33da457b864643cfcac2768e47197c286471a5a4 updated petscthreads.html with information on thread per object model fix for ex56 removed the dead links to threads.html send petsc repository messages to Karl no longer from his mcs address Plex: Fix for all the hidebound morons living with c89. Good luck doing computational science in the 80s! DT: Fix tanh-sinh - Removed wrong var SNES: Added SNESQN types to Fortran Reported-by: Chris Bradley <c.bradley@auckland.ac.nz> Bib: More refs ...
Conflicts: config/builder.py
show more ...
|
| #
5cdadb52
|
| 09-Jul-2015 |
Hong Zhang <hzhang@mcs.anl.gov> |
Merge branch 'master' of bitbucket.org:petsc/petsc
|
| #
db66d908
|
| 08-Jul-2015 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into mesgarnejad/feature-plex-globaltonatural
* master: (111 commits) add filters for website tests that removes warnings about MPI type tag mismatches due to const remove
Merge branch 'master' into mesgarnejad/feature-plex-globaltonatural
* master: (111 commits) add filters for website tests that removes warnings about MPI type tag mismatches due to const remove Peter from blame-email list. don't warn about MPI const long * versus long long * Configure: Added GMP an MPRF - These allow arbitrary precision arithmetic SNES ex69: SolCx finally works - Fixed order of parameters - Made different versions of pointwise functions SNES ex69: Fixed bug where SolKx and SolCx have different numbers of parameters SNES ex69: Small bug fixes - Initialize coordinates for SolCx - Fixed declaration length I believe this call on line 357: ierr = DMSetFromOptions(dau); should actually set `dak`. The DM `dau` is already set on line 349. SNESSolve_KSPOnly() did not compute function at new solution unless monitoring is turned on but SNESSolve_FAS() internals assume that each subsnes solve it calls does compute the new function value so broke when -fas_levels_snes_monitor was not turned on but -fas_levels_snes_type kspmonitor was used Have SNESVIGetInactiveSet return the *actual* current inactive set. One now passes the nullspace in the matrix for a linear system as the first Amat argument to KSPSetOperators, SNESSetOperators, TSSetIJacobian() not the second pmat argument Remove change documentation of Removed MatMFFDAddNullSpace() just use MatSetNullSpace() as it is now backported in maint (36.html) MatMFFD doesn't need to have its own null space management cherry-picked from 39601f4 (barry/remove-matmffdaddnullspace/master) Removed trailing '\\' in the authors line. add note to PetscOptionsInsertFile() that it should not be used for PETSc wide options Add Fortran stub for SNESSetUpdate() improve manual page slightly for clarity PCGASM. Basic PCGASM description added to manual. add DMDAVecGet/RestoreArrayReadF90() ...
show more ...
|
| #
e3b0d24e
|
| 03-Jul-2015 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'maint'
|
| #
b721191a
|
| 03-Jul-2015 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'maint' of bitbucket.org:petsc/petsc into maint
|
| #
dff85345
|
| 03-Jul-2015 |
BarryFSmith <bsmith@mcs.anl.gov> |
Merged in pefarrell/fix-snes-vi-get-inactive-set (pull request #344)
Have SNESVIGetInactiveSet return the *actual* current inactive set.
|
| #
f009fc93
|
| 03-Jul-2015 |
Patrick Farrell <patrick.farrell@maths.ox.ac.uk> |
Have SNESVIGetInactiveSet return the *actual* current inactive set.
Previously it returned the previous inactive set.
|