Fixes for annoying warnings from GNU (-Wmaybe-uninitialized)
examples: add compile target 'ex%: ex%.o' etc - and remove the corresponding dups
Remove ./configure --with-errorchecking modeThis simplifies code that previously depending on this configure option. For example a SETERRQ() before a PetscFunctionReturn(0);Commit-type: style-fix
Remove ./configure --with-errorchecking modeThis simplifies code that previously depending on this configure option. For example a SETERRQ() before a PetscFunctionReturn(0);Commit-type: style-fixReported-by: Lisandro Dalcin
show more ...
Merge remote-tracking branch 'origin/tisaac/feature-dmfield'* origin/tisaac/feature-dmfield: (56 commits) Plex: Updated test output for DMLabel change DMLabel: make empty ISs strides DMSwarm:
Merge remote-tracking branch 'origin/tisaac/feature-dmfield'* origin/tisaac/feature-dmfield: (56 commits) Plex: Updated test output for DMLabel change DMLabel: make empty ISs strides DMSwarm: silence static analyzer warning PetscFECreateDefault: fix custom Fortran interface to use MPI_Comm SNES ex69: Updated test output SNES ex69: Removed all mantle stuff and change fields to constants - Also use dsymutil for executables SNES ex69: Removed special partition SNES ex69: Fixed null space creation - Null space locks its vectors PetscFE: PetscFECreateDefault() now takes MPI_Comm instead of DM DMField: default initialization of variable PetscFE: fix integration for openCL PetscFEGeomComplete(): correct normal vector in 2D. DMField: c++/complex fixes DMField: empty processor protections DMField regression test fixes DMLabel: try to keep stride IS as stride IS as much as possible DMPlexRefine(): create depth before hybrid-bounded label DMField: documentation of interface DMField: implement shell DMPlex: rename newly created label ...Conflicts: src/dm/dt/interface/dtfe.c src/snes/examples/tutorials/ex69.c src/snes/utils/dmplexsnes.c
Deprecate DMSet/GetDefaultSection() for DMSet/GetSection()Revert manual page change per Matt's preferenceCommit-type: style-fixThanks-to: Matthew Knepley
Consistent handling of command line options -info_exclude and -log_exclude
Merge remote-tracking branch 'origin/knepley/fix-snes-ex69' into tisaac/feature-dmfield* origin/knepley/fix-snes-ex69: (311 commits) PetscFECreateDefault: fix custom Fortran interface to use MPI_
Merge remote-tracking branch 'origin/knepley/fix-snes-ex69' into tisaac/feature-dmfield* origin/knepley/fix-snes-ex69: (311 commits) PetscFECreateDefault: fix custom Fortran interface to use MPI_Comm SNES ex69: Updated test output SNES ex69: Removed all mantle stuff and change fields to constants - Also use dsymutil for executables SNES ex69: Removed special partition SNES ex69: Fixed null space creation - Null space locks its vectors PetscFE: PetscFECreateDefault() now takes MPI_Comm instead of DM cleanup very ugly PCGAMG manual page minor clarifications for VecScatterCreate() manual page gcov: PETSC_ARCH is required onlyfor -run_gcov - and not for -merge_gcov [where it doesn't exist] make clearer in help statements what --with-external-packages-dir is for. Website: Added news entry for PETSc User Meeting 2018 on main page. CUDA: Further test output fixes for mat_tests-ex2 Turn off elemental test for parmetis running since this does not work on batch systems. 3.8 Changes: KSPCHEBYSHEV CUDA: Fixed most test errors due to MatMultTranspose* website: update urls website: fix Jason's name to match pic. Also add Todd's pic Dev manual: copyedit DMPlexDistributeLabels: Propagate the output flag cuda/cusp: update minimum supported versions of cuda to 7.5 and cusp to 0.5.0 ...
DMLabel: try to keep stride IS as stride IS as much as possible
Make DMHasCreateInjection overrideable by subclassesDefault to PETSC_FALSE. It's only provided by Plex, Pforest, and DAin (if using DMDA_Q1 as interpolation type).
Updated output files, fixes for merge
p4est makefile: add missing pforest.c to SOURCEC
DMP4est: fix real typing for coordinates
DMForest: Fix typo
DMP4est: Added GLVis viewer
Merge remote-tracking branch 'origin/stefano_zampini/feature-gmsh-periodic'
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
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 ...
DM: Fixed problem with setting boundary conditions for selected components- The problem was that projection always set every component of a field, even when the BC was only for a certain component.
DM: Fixed problem with setting boundary conditions for selected components- The problem was that projection always set every component of a field, even when the BC was only for a certain component. Now you can pass in masking components.- Added masking components to projections over labels- Changed interface to boundary value insertion
p4est: Update to new API
DMPlex: allow uniform refinement for periodic meshes without maxCell/LNeeded an API change for DMSet/GetPeriodicity
DMP4est: c++ fixes
p4est: use official v2.0 release, update vtk api to match
Merge remote-tracking branch 'bb/tisaac/dmp4est-silence-unused' into jed/fix-wmaybe-initialized* bb/tisaac/dmp4est-silence-unused: DMP4EST: assertion macro that shows testval is unused
Appease -Wmaybe-initialized for gcc-6.2/6.3
DMP4EST: assertion macro that shows testval is unusedp4est's assertion is just a no-op for production builds. In p4est wesometimes put function calls inside of assertions, so this strategywouldn
DMP4EST: assertion macro that shows testval is unusedp4est's assertion is just a no-op for production builds. In p4est wesometimes put function calls inside of assertions, so this strategywouldn't work there, but here we're only calling assertions on variables,so it works.
12345678910>>...16