| #
580bdb30
|
| 07-Jun-2019 |
Barry Smith <bsmith@mcs.anl.gov> |
Add PetscArraycmp(), PetscArraycpy(), PetscArrayzero(), PetscArraymove(), update code to use new forms
Replace a couple multi-mallocs with a single malloc Replace backwards loops in MatSetValues_*()
Add PetscArraycmp(), PetscArraycpy(), PetscArrayzero(), PetscArraymove(), update code to use new forms
Replace a couple multi-mallocs with a single malloc Replace backwards loops in MatSetValues_*() with PetscArraymove()
Commit-type: style-fix, feature
show more ...
|
| #
613bfe33
|
| 02-Jun-2019 |
BarryFSmith <bsmith@mcs.anl.gov> |
Merged in barry/update-collective-on (pull request #1744)
Update the use of Collective on in the manual pages to reflect the new style
|
| #
d083f849
|
| 01-Jun-2019 |
Barry Smith <bsmith@mcs.anl.gov> |
Update the use of Collective on in the manual pages to reflect the new style
Commit-type: style-fix, documentation Thanks-to: Patrick Sanan <patrick.sanan@gmail.com>
|
| #
fa54792a
|
| 29-May-2019 |
Patrick Sanan <patrick.sanan@gmail.com> |
Merged in psanan/man-pages-remove-keywords (pull request #1717)
Man pages: Remove .keywords fields
Approved-by: BarryFSmith <bsmith@mcs.anl.gov>
|
| #
bfcb38ea
|
| 27-May-2019 |
Patrick Sanan <patrick.sanan@gmail.com> |
Man pages: remove .keywords: fields
This field is recognized by doctext from Sowing (http://wgropp.cs.illinois.edu/projects/software/sowing/doctext/node20.htm#Node20), but it doesn't seem to be unif
Man pages: remove .keywords: fields
This field is recognized by doctext from Sowing (http://wgropp.cs.illinois.edu/projects/software/sowing/doctext/node20.htm#Node20), but it doesn't seem to be uniformly used or maintained.
Thus, remove all .keywords: fields, and a following blank line, if present.
This is accomplished with GNU sed (gsed on OS X), with the following commands. *Warning* that this type of command can corrupt a .git directory, so be cautious in reusing or modifying these commands. They first look for and delete matching lines with a following line consisting of only whitespace, and then delete any remaining matching lines.
find src/ -type f -exec gsed -i '/keywords:/ {N; /\n\s*$/d}' {} + find src/ -type f -exec gsed -i '/keywords:/d' {} + find include/ -type f -exec gsed -i '/keywords:/ {N; /\n\s*$/d}' {} + find include/ -type f -exec gsed -i '/keywords:/d' {} +
Hints on the sed command obtained from: https://unix.stackexchange.com/questions/100754/how-to-delete-a-specific-line-and-the-following-blank-line-using-gnu-sed
show more ...
|
| #
b72fa766
|
| 16-May-2019 |
Lisandro Dalcin <dalcinl@gmail.com> |
Merged in dalcinl/fix-io-gmsh (pull request #1660)
Binary I/O And Gmsh DMPlex Reader
Approved-by: Matthew Knepley <knepley@gmail.com> Approved-by: BarryFSmith <bsmith@mcs.anl.gov>
|
| #
9860990e
|
| 03-May-2019 |
Lisandro Dalcin <dalcinl@gmail.com> |
Binary I/O: Various fixes and enhancements
* Change PetscBinary[Synchronized]Read() to allow for reading items up to EOF without erroring * Fix PetscViewerBinaryRead() to properly return the numbe
Binary I/O: Various fixes and enhancements
* Change PetscBinary[Synchronized]Read() to allow for reading items up to EOF without erroring * Fix PetscViewerBinaryRead() to properly return the number of items read * Fix PetscViewerRead() to prevent infinite loops at EOF * Various fixes for PetscDataType PETSC_COMPLEX
show more ...
|
| #
59e7829c
|
| 07-Aug-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-parallel-submesh
* master: (2931 commits) remove N in docs for SNESQN replaced test tolerance with PETSC_SQRT_MACHINE_EPSILON fortran: PetscComp
Merge branch 'master' into knepley/feature-plex-parallel-submesh
* master: (2931 commits) remove N in docs for SNESQN replaced test tolerance with PETSC_SQRT_MACHINE_EPSILON fortran: PetscComplex type is missing from fortran initialize variables so that static analyzer doesn't mistakenly think they are used uninitialized. Move access of prefix until it is actually used Remove DMDASplitComm2d(), used in one example that was not tested Functions that do not return PetscErrorCode should not use PetscFunctionBegin/End paradgm remove unneeded reassignment of same value Missing CHKERRQ(); Mostly in Tao code Remove clang static analyser warning about passing NULL variable to strncat() missing newline in -ts_monitor_extreme minor fixes for integer counters Configure: Deal with '__func__' in C89 builds with newer Clang and GCC. Jenkinsfile: Increased timeout for tests to 5 minutes. 3.9 changes: further clarify removal of -pc_factor_mat_solver_package Options deprecations: add "PETSc" to inline warning removing unused variable MatShift support added to MATSUBMAT. Mimics MATSHELL functionality. Needed for matrix-free Hessians in TAO Newton-Line-Search methods. Add -ts_monitor_extreme Dev manual: add note on deprecating options database keys ...
Conflicts: src/dm/impls/plex/examples/tests/ex4.c
show more ...
|
| #
2f07c833
|
| 14-Apr-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-snes-ex13-spectral
* master: (2350 commits) migrate warning fix from next-tmp Revert "Remove dead code." clarifying comment in the code Remove dead
Merge branch 'master' into knepley/feature-snes-ex13-spectral
* master: (2350 commits) migrate warning fix from next-tmp Revert "Remove dead code." clarifying comment in the code Remove dead code. Add JuMP citation Copyedits and updates to developers manual Add more protection to intrinsics MPI: protect arguments in MPI macros Add the missing conditionals for 64-bit build Plex+VTK: Fix field type determination Fix bug in name cleanup Bib: Added ref Plex+VTK: Fix field type determination Plex: Updated test output - I am now hating this shit forgot to save file after moving prototypes to petscsys.h update Apple example project settings per Xcode Two functions should actually be public, used, for example from Apple MacOS and iOS programs includes should always be included relative to include directory Apple removed old locations of docsets SNES ex12: Updated test output ...
Conflicts: src/snes/examples/tutorials/ex13.c
show more ...
|
| #
0039db0d
|
| 06-Feb-2018 |
Barry Smith <bsmith@mcs.anl.gov> |
cleanup PETSC_DESIRE_FEATURE_TEST_MACROS
Commit-type: style-fix
|
| #
f72e1d79
|
| 06-Feb-2018 |
Barry Smith <bsmith@mcs.anl.gov> |
Add required PETSC_DESIRE_FEATURE_TEST_MACROS for certain system calls
|
| #
7cd3fc30
|
| 02-Jan-2018 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'barry/tao-to-new-test-harness' into barry/all-new-test-harness-branches
|
| #
b6ca5466
|
| 12-Dec-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-adjoint-prelim
* master: (60 commits) petsc4py: update to use latest 3.8 snapshot petsc4py: update to snapshot that syncs with 276c550 fix warni
Merge branch 'master' into knepley/feature-plex-adjoint-prelim
* master: (60 commits) petsc4py: update to use latest 3.8 snapshot petsc4py: update to snapshot that syncs with 276c550 fix warning Plex ex26: Protect ExodusII stuff DM: DMCreateSubDM() field argument should be const TS ex46: Newlines and some numerical jitter TS ex45: Newlines and some numerical jitter TS ex11: Fixed indentation and time step numbering SNES ex12: Update for DM view changes Plex tests: Update to new DM output Plex ex23: Use Nc not dim for vector fields Plex: Default section now ignores cells hanging off boundary meshes Plex: Viewer now reports the cell Height Increase patchlevel to 3.8.3 Plex: Fixed DMPlexInterpolate() bugs - Do not copy associated data if we are not interpolating - Do not interpolate if we already have full depth fix valgrind errors with using PetscObjectGetName()/SetName() with the same object - resulting in a free() before copy. ex4: fix compile warning and update makefile Minor fixes Improving report_tests PetscDS: Must initialize the default adjacency ...
Conflicts: include/petsc/private/dmimpl.h include/petscdm.h include/petscis.h src/dm/impls/plex/plexcreate.c
show more ...
|
| #
6495784d
|
| 10-Dec-2017 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/knepley/fix-plex-interpolation-consistency'
|
| #
5fd9971a
|
| 05-Dec-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Plex: Update to new Interpolate interface
|
| #
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 ...
|
| #
171f813e
|
| 15-Feb-2017 |
Toby Isaac <tisaac@uchicago.edu> |
Merge remote-tracking branch 'origin/knepley/feature-fe-dual-apply' into tisaac/feature-fe-dual-apply
* origin/knepley/feature-fe-dual-apply: (75 commits) Plex: Screwed up last fix Plex: Fix ove
Merge remote-tracking branch 'origin/knepley/feature-fe-dual-apply' into tisaac/feature-fe-dual-apply
* origin/knepley/feature-fe-dual-apply: (75 commits) Plex: Screwed up last fix Plex: Fix overeager protection of function PetscFE: Fixed declaration 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 all requires need to go on the same line in test definition otherwise they are skipped 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 ...
show more ...
|
| #
c5eaf5f0
|
| 14-Feb-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'knepley/feature-plex-tests-new' into knepley/feature-fe-dual-apply
* knepley/feature-plex-tests-new: (73 commits) Plex: Fix overeager protection of function Travis-CI: Attempt to s
Merge branch 'knepley/feature-plex-tests-new' into knepley/feature-fe-dual-apply
* knepley/feature-plex-tests-new: (73 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 all requires need to go on the same line in test definition otherwise they are skipped 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 ...
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 ...
|
| #
7363b948
|
| 11-Feb-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'knepley/fix-plex-docs'
* knepley/fix-plex-docs: Plex: Fix the fix fix -Wmaybe-uninitialized Doc+Plex: Add PetscUnit to Fortran Doc+Plex: Fix function name Plex: Fix declarati
Merge branch 'knepley/fix-plex-docs'
* knepley/fix-plex-docs: Plex: Fix the fix fix -Wmaybe-uninitialized Doc+Plex: Add PetscUnit to Fortran Doc+Plex: Fix function name Plex: Fix declaration Doc+Plex: Added function docs Doc+Plex: More function docs - Make functions static - Move internal declarations Doc+Plex: More function docs Doc+Plex: Document DMPlexGetOrientedFace() and DMPlexSetSubpointMap() - Make functions static Doc+Plex: Document DMPlexCreateOverlapMigrationSF() - Make functions static Plex: Make functions static - Move internal declarations to private header Plex: Make functions internal Plex+HDF5: Make functions internal Plex: Make functions static Plex: Make functions static Doc+Plex: Document DMPlexCreateNeighborCSR() - Make functions static Doc+Plex: Document DMPlexPreallocateOperator() - Make functions static Plex: Make function static Plex+VTK: Make functions static Plex+VTK: Make DMPlexVTKGetCellType() internal
Conflicts: src/dm/impls/plex/plexvtk.c
show more ...
|
| #
9dad6f3f
|
| 02-Feb-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Plex: Make functions static
|
| #
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
|
| #
ac97b6c4
|
| 31-Dec-2016 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'master' of bitbucket.org:petsc/petsc
|