| #
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
|
| #
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
|
| #
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
|
| #
f882803c
|
| 26-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-02-23/variadic-chkerr' into 'main'
Variadic CHKERRQ()
See merge request petsc/petsc!4889
|
| #
9566063d
|
| 25-Mar-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
The great renaming:
- CHKERRQ() -> PetscCall() - CHKERRV() -> PetscCallVoid() - CHKERRMPI() -> PetscCallMPI() - CHKERRABORT() -> PetscCallAbort() - CHKERRCONTINUE() -> PetscCallContinue() - CHKERRXX
The great renaming:
- CHKERRQ() -> PetscCall() - CHKERRV() -> PetscCallVoid() - CHKERRMPI() -> PetscCallMPI() - CHKERRABORT() -> PetscCallAbort() - CHKERRCONTINUE() -> PetscCallContinue() - CHKERRXX() -> PetscCallThrow() - CHKERRCXX() -> PetscCallCXX() - CHKERRCUDA() -> PetscCallCUDA() - CHKERRCUBLAS() -> PetscCallCUBLAS() - CHKERRCUSPARSE() -> PetscCallCUSPARSE() - CHKERRCUSOLVER() -> PetscCallCUSOLVER() - CHKERRCUFFT() -> PetscCallCUFFT() - CHKERRCURAND() -> PetscCallCURAND() - CHKERRHIP() -> PetscCallHIP() - CHKERRHIPBLAS() -> PetscCallHIPBLAS() - CHKERRHIPSOLVER() -> PetscCallHIPSOLVER() - CHKERRQ_CEED() -> PetscCallCEED() - CHKERR_FORTRAN_VOID_FUNCTION() -> PetscCallFortranVoidFunction() - CHKERRMKL() -> PetscCallMKL() - CHKERRMMG() -> PetscCallMMG() - CHKERRMMG_NONSTANDARD() -> PetscCallMMG_NONSTANDARD() - CHKERRCGNS() -> PetscCallCGNS() - CHKERRPTSCOTCH() -> PetscCallPTSCOTCH() - CHKERRSTR() -> PetscCallSTR() - CHKERRTC() -> PetscCallTC()
show more ...
|
| #
5f80ce2a
|
| 24-Feb-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
chkerr and friends wrapped
|
| #
00618b71
|
| 24-Nov-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jwallwork23/preserve-tags' into 'main'
Preserve cell tags for metric-based adaptation
See merge request petsc/petsc!4578
|
| #
9fe9e680
|
| 22-Nov-2021 |
Joe Wallwork <j.wallwork16@imperial.ac.uk> |
dm adapt: preserve cell tags
|
| #
887dddf3
|
| 19-Nov-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jwallwork23/mmg-trim' into 'main'
Plex interface for Mmg and ParMmg
See merge request petsc/petsc!4431
|
| #
c0517cd5
|
| 11-Oct-2021 |
Matthew G. Knepley <knepley@gmail.com> |
DM: Take over management of mesh generators and adaptors from DMPlex - Change adaptLabel signature to match adaptMetric - Move mesh generator list from DMPlex to DM - DMAdaptLabel() and DMAdaptMetric
DM: Take over management of mesh generators and adaptors from DMPlex - Change adaptLabel signature to match adaptMetric - Move mesh generator list from DMPlex to DM - DMAdaptLabel() and DMAdaptMetric() now check this list - Register metric adaptation packages - Change -dm_plex_generator to -dm_generator - Change -dm_plex_adaptor to -dm_adaptor
show more ...
|
| #
e9494080
|
| 13-Apr-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-ds-residualbd-key' into 'main'
DS+FE+Doc: Make BdResidual take a key
See merge request petsc/petsc!3761
|
| #
45480ffe
|
| 06-Apr-2021 |
Matthew G. Knepley <knepley@gmail.com> |
DM+Plex: Boundary integration functions are now stored in a PetscWeakForm held in the Boundary object - Boundary residual/Jacobian functions now take a form key - Now store DMLabel in DSBoundary - Im
DM+Plex: Boundary integration functions are now stored in a PetscWeakForm held in the Boundary object - Boundary residual/Jacobian functions now take a form key - Now store DMLabel in DSBoundary - Improved Boundary, Weak Form, and DS viewers - Remove DMCopyBoundary(), DMCopyDisc() is sufficient - Need DMTransferDS_Internal() to create new DS with label in the correct DM - Correct all DMAddBoundary() in tests - Allow DMBoundary to hold just a label name if necessary since p4est is missing labels in a lot of places - Fix propagating coordinate dimension in DS
show more ...
|
| #
dd169d64
|
| 28-Jun-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into stefano_zampini/feature-gmsh-periodic
* master: (1016 commits) metis: setself.downloaddirnames for change in 6d90219d8fa4f8b2fd242cc6ff9008358d87c26f fix compile warni
Merge branch 'master' into stefano_zampini/feature-gmsh-periodic
* master: (1016 commits) metis: setself.downloaddirnames for change in 6d90219d8fa4f8b2fd242cc6ff9008358d87c26f fix compile warning: /sandbox/petsc/petsc.clone/src/snes/examples/tests/ex2.c:250:8: warning: ‘pointsAllProcs’ may be used uninitialized in this function [-Wmaybe-uninitialized] ierr = DMInterpolationSetUp(interpolator, dm, pointsAllProcs);CHKERRQ(ierr); migrate 'build requires: !mpiuni' to new format migrate 'build requires: !complex' to new format workarround 'division by zero' compiler warning on windows C:\cygwin64\home\petsc\PETSC~3.CLO\src\ts\examples\TUTORI~1\ex11.c(416): warning #39: division by zero if (uL->h < 0 || uR->h < 0) {for (i=0; i<1+dim; i++) flux[i] = 0./0.; return;} /* SETERRQ(PETSC_COMM_SELF,PETSC_ERR_ARG_OUTOFRANGE,"Reconstructed thickness is negative"); */ dos2unix to prevent warnings on opensolaris "/export/home/petsc/petsc.clone/src/ksp/ksp/examples/tests/ex53.c", line 6: warning: invalid white space character in directive fix output file - corresponding to code changes in efd4aadf157bf1ba2d80c2be092fcf4247860003 disable test on windows update log from opensolaris so that the diff is clean on linux aswell update grep in sync with change in efd4aadf157bf1ba2d80c2be092fcf4247860003 Fixed code that did not correctly set current color for block insertion Update output files that did not get fixed after previous merges Change MPIUni to not immediately abort on operations it cannot perform, instead return error code Add filter for example that can produce 1 different iteration count Example add system calloc, bad formating of %d in print, commented out code Always use (void) for functions that take no arguments, never () always need to caste PetscReal variables to (double) in print statements updates to manual page for clarity update help menu for MatRARt() -- MatRARt_mpiaij_mpiaij is supported now, but not efficient. fix nightlybuild error with c1cbb1def3f8ddca04c3998b9c06618fd1ffef35 on arch-linux-IPL64 src/ksp/pc/examples/tests ex5_1 ...
Conflicts: include/petscdm.h src/dm/impls/plex/plexcreate.c src/dm/impls/plex/plexgmsh.c src/dm/impls/plex/plexhdf5.c
show more ...
|
| #
c41d012e
|
| 27-Jun-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-dm-bc-components
* master: (320 commits) fix compile warning: /sandbox/petsc/petsc.clone/src/snes/examples/tests/ex2.c:250:8: warning: ‘pointsAllProcs’ m
Merge branch 'master' into knepley/feature-dm-bc-components
* master: (320 commits) fix compile warning: /sandbox/petsc/petsc.clone/src/snes/examples/tests/ex2.c:250:8: warning: ‘pointsAllProcs’ may be used uninitialized in this function [-Wmaybe-uninitialized] ierr = DMInterpolationSetUp(interpolator, dm, pointsAllProcs);CHKERRQ(ierr); migrate 'build requires: !mpiuni' to new format migrate 'build requires: !complex' to new format workarround 'division by zero' compiler warning on windows C:\cygwin64\home\petsc\PETSC~3.CLO\src\ts\examples\TUTORI~1\ex11.c(416): warning #39: division by zero if (uL->h < 0 || uR->h < 0) {for (i=0; i<1+dim; i++) flux[i] = 0./0.; return;} /* SETERRQ(PETSC_COMM_SELF,PETSC_ERR_ARG_OUTOFRANGE,"Reconstructed thickness is negative"); */ dos2unix to prevent warnings on opensolaris "/export/home/petsc/petsc.clone/src/ksp/ksp/examples/tests/ex53.c", line 6: warning: invalid white space character in directive fix output file - corresponding to code changes in efd4aadf157bf1ba2d80c2be092fcf4247860003 disable test on windows update log from opensolaris so that the diff is clean on linux aswell update grep in sync with change in efd4aadf157bf1ba2d80c2be092fcf4247860003 Fixed code that did not correctly set current color for block insertion Update output files that did not get fixed after previous merges Change MPIUni to not immediately abort on operations it cannot perform, instead return error code Add filter for example that can produce 1 different iteration count Example add system calloc, bad formating of %d in print, commented out code Always use (void) for functions that take no arguments, never () always need to caste PetscReal variables to (double) in print statements updates to manual page for clarity update help menu for MatRARt() -- MatRARt_mpiaij_mpiaij is supported now, but not efficient. fix nightlybuild error with c1cbb1def3f8ddca04c3998b9c06618fd1ffef35 on arch-linux-IPL64 src/ksp/pc/examples/tests ex5_1 output has changed with e6d0a238963c2a97dd04845ea512b529992c7cdb so update the output file ...
show more ...
|
| #
848a278c
|
| 20-Jun-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'knepley/feature-adapt-interface'
* knepley/feature-adapt-interface: Test: Can now use make test NP=<num procs> Forest: Updating to new point function interface Plex ex19: Updated
Merge branch 'knepley/feature-adapt-interface'
* knepley/feature-adapt-interface: Test: Can now use make test NP=<num procs> Forest: Updating to new point function interface Plex ex19: Updated to new API DM: Refactored mesh adaptivity into DMAdaptLabel() and DMAdaptMetric() - These are now DM functions, instead of composed functions - Refactor Plex refine and coarsen to feed through adaptivity - Added helper functions to convert Label to volume constraints and metric constraints - Got the label name out of the Metric interface
show more ...
|
| #
0d1cd5e0
|
| 05-Jun-2017 |
Matthew G. Knepley <knepley@gmail.com> |
DM: Refactored mesh adaptivity into DMAdaptLabel() and DMAdaptMetric() - These are now DM functions, instead of composed functions - Refactor Plex refine and coarsen to feed through adaptivity - Adde
DM: Refactored mesh adaptivity into DMAdaptLabel() and DMAdaptMetric() - These are now DM functions, instead of composed functions - Refactor Plex refine and coarsen to feed through adaptivity - Added helper functions to convert Label to volume constraints and metric constraints - Got the label name out of the Metric interface
show more ...
|
| #
ec14d8c8
|
| 27-May-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-sphere-mesh
* master: (2633 commits) Bib: Added ref SNES ex56: Update test output add a citation to petsc.bib Plex: Initialize variables ini
Merge branch 'master' into knepley/feature-plex-sphere-mesh
* master: (2633 commits) Bib: Added ref SNES ex56: Update test output add a citation to petsc.bib Plex: Initialize variables initialize ap as complained by the nightly tests Plex ex3: Update to new point function API initialize some variables as complained by nightly tests SNES ex12: Mix misnaming Nf --> Nc update tests add tests add MatView_SeqXAIJ_ASCII_structonly(); enable A->structure_only in MatSetValuesBlocked_SeqBAIJ typo fill-in some references Bib: Fixed ref Plex: Added PLY to file support Plex: Adding PLY support PetscDS: Turn off Fortran bindings for Constants Plex tests: Updated to new point function API SNES ex56: Moved tests to new format DM: Allow field projection functions to take an array of scalars - This will allow us to pass in user data to kernels without void *, more efficiency than aux fields ...
Conflicts: config/builder.py include/petscdmplex.h src/dm/impls/plex/examples/tests/ex1.c src/dm/impls/plex/plexcreate.c src/dm/impls/plex/plexgmsh.c src/snes/examples/tutorials/ex63.c
show more ...
|
| #
c90b701e
|
| 14-Mar-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-pragmatic-parallel
* master: (1379 commits) Minor fixes for tchem examples due to changes in PETSc infrastructure update webpage about API changes
Merge branch 'master' into knepley/feature-plex-pragmatic-parallel
* master: (1379 commits) Minor fixes for tchem examples due to changes in PETSc infrastructure update webpage about API changes add help menu for MatCreateSubMatricesMPI() rename struct Mat_SubMat -> Mat_SubSppt add a little information to the manual about using tchem rename MatCreateSubMatrixComposite -> MatCreateSubMatrixVirtual; Mat_SubMatrix -> Mat_SubVirtual need to protect the \ passed on the makefile on my Mac Bib: Updated ref update src/mat/examples/tests/output/ex23_#.out rename MatGetSubMat -> MatCreateSubMat Mark MatCreateMPIAIJWithSplitArrays() and MatMPIAIJSetPreallocationCSR() with MAT_NO_OFF_PROC_ENTRIES superlu: libray is installed in PREFIX/lib64 - fix this to use PREFIX/lib backport fixes cc105cc3 2b35c90a - required for 3bf428d - that was backported from master - 80c96bb 'echo -n' fails on opensolaris/osx - so avoid using it. fix diffs in nightlybuilds due to options in ~/.petscrc add Kelley03 to src/docs/tex/petsc.bib build: determine moudles, mpi.h used during buildtime and print in 'info' fix analyzer warnings fix build failure on opensolaris - where -lm from flibs is removed due to -lm in cxxlibs. But then - only flib gets used for some configure tests [blaslapack, parms] config: prefer __restrict over C99 restrict keyword ...
show more ...
|
| #
cffa9059
|
| 14-Feb-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-tests-new
* master: (94 commits) Plex: Fix overeager protection of function Travis-CI: Attempt to solve issues with gfortran Travis-CI: Use newe
Merge branch 'master' into knepley/feature-plex-tests-new
* master: (94 commits) Plex: Fix overeager protection of function Travis-CI: Attempt to solve issues with gfortran Travis-CI: Use newer macOS image clarify damping and other issues related to SNESLINESEARCHBASIC change example in new harness to use simple partitioner so gets consistent output on all systems remove unused function from test file cleanup formatting in example, plus myrank not rank missing - makes the manual page formatting wrong The developer manual clearly states that MPI_Comm_size() returns size it doesn't return numProcs or other nonsense. Pretty soon you'll start using mype instead of rank? fix typo and cut and paste error in docs bugfix for !HYPRE fix warning for ';;' may switch to scalable only when B->cmap->N > 100000 MatLRC: store in the context the parallel matrices rather than the sequential ones Bib: Add ref set default algorithm based on B->cmap->N for MatMatMult_MPIAIJ_MPIAIJ() Error in VecScatterView_MPI() had the meaning of from and to backwards fix build warning as reported by the nightly tests Update alquimia.py to use Glenn's branch that updates alquimia for pflotran xsdk fix divide by zero exposed by 8534686b5096cd4c91a8f3895408b386c0628431 - and produced by petsc4py testsuite ...
Conflicts: src/dm/impls/plex/examples/tests/ex13.c src/dm/impls/plex/plexgmsh.c src/snes/examples/tests/ex2.c src/snes/examples/tests/output/ex2_3.out src/snes/examples/tests/output/ex2_4.out src/snes/examples/tests/output/ex2_5.out
show more ...
|
| #
119f2cb4
|
| 27-Jan-2017 |
BarryFSmith <bsmith@mcs.anl.gov> |
Merged in jed/fix-wmaybe-initialized (pull request #623)
Appease -Wmaybe-initialized for gcc-6.2/6.3
|
| #
137d0469
|
| 24-Jan-2017 |
Jed Brown <jed@jedbrown.org> |
Appease -Wmaybe-initialized for gcc-6.2/6.3
|
| #
9137bce6
|
| 24-Dec-2016 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'barry/remove-funct'
|