| #
6766dcbc
|
| 11-Jan-2019 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/pr1206/arcowie-rem/feature-error-logging/master'
|
| #
e5e52638
|
| 04-Jan-2019 |
Matthew G. Knepley <knepley@gmail.com> |
DM+DS: Reorganized DS handling completely do that multiple regions can be supported - A region is labeled portion of the mesh which has the same approximation space for the solution. Note that this i
DM+DS: Reorganized DS handling completely do that multiple regions can be supported - A region is labeled portion of the mesh which has the same approximation space for the solution. Note that this is NOT the same as the label indicating the support of a field. Regions are the refinement of the field supports into unique approximation space pieces. Right now, we only support a single strategy, namely one space on the regular mesh and one on the hybrid cells, but we only have to change DMCreateDS() to extend the capability. - Now instead of using PetscDSSetDiscretization() and DMSetDS(), you use DMSetField() and DMCreateDS(). Also, you now must use DMCopyDisc(), instead of DMSetDS(), which copies both the field and DS structure to another DM. These changes have been made in all examples. - DMGetCellDS() returns the approximation space for that cell - DMGetDS() return the default space since most people will not use regions. There is still a lot of work left t generalize all methods to multiple DSes, but all old code still functions. - DMGetRegion/RegionNumDS() gets spaces by label and region number - DMCreateDS() is the setup method which makes the regions and corresponding DSes. With some work, this could be converted to a lazy initialization. - Cleaned up access to DS since now we can have more than one - Projection was improved to extract the DS for the particular cells it is iterating over - The DS are set from options during Section creation. The idea is that people using DS would also use automatic Section creation, or they would manage things themselves and call SetFromOptions manually. - I updated the subDM and superDM constructors, but they only work for a single region
show more ...
|
| #
5f9b3039
|
| 08-Nov-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Convest: Flags should come directly after the % in a format string
|
| #
2de30d34
|
| 01-Nov-2018 |
Matthew G. Knepley <knepley@gmail.com> |
ConvEst: Always print a decimal point
|
| #
a5a49157
|
| 25-Oct-2018 |
Joseph Pusztay <josephpusztay@Josephs-MacBook-Pro.local> |
Merge branch 'master' into jpusztay/feature-swarm-symplectic-example
|
| #
e901d7f7
|
| 25-Oct-2018 |
Joseph Pusztay <josephpusztay@Josephs-MacBook-Pro.local> |
Merge branch 'master' into jpustay/feature-swarm-example
|
| #
baeaa64e
|
| 25-Oct-2018 |
Joseph Pusztay <josephpu@buffalo.edu> |
Merged petsc/petsc into master
|
| #
73269098
|
| 27-Sep-2018 |
Matthew G. Knepley <knepley@gmail.com> |
ConvEst: Fix cruft from PCMG when you use PCReset()
|
| #
32cdfb21
|
| 27-Sep-2018 |
Matthew G. Knepley <knepley@gmail.com> |
ConvEst: Fixed unused variable
|
| #
5a5264e3
|
| 19-Sep-2018 |
Pierre Jolivet <pierre.jolivet@enseeiht.fr> |
Merged petsc/petsc into master
|
| #
1861c7ec
|
| 18-Sep-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-dm-nearnullspace
* master: (219 commits) petsc4py: update with VecScatter API changes remove duplicate code petsc4py: update to version 3.10.0 fixe
Merge branch 'master' into knepley/feature-dm-nearnullspace
* master: (219 commits) petsc4py: update with VecScatter API changes remove duplicate code petsc4py: update to version 3.10.0 fixed typos in documentation fixed typos in documentation Fix some remaining Register()s to call InitializePackage() Remove memory leaks of XXXRegister() is called but XXX object is never used Add to PCTFS manual page that it does not work for complex numbers Stray , in manual page that should be . Only register MPI3 VecScatter if they are built clarification of KSPSetComputeInitialGuess() Add missing makefiles for VecScatter implementations Changed VecScatterCreate() to take a communicator and return scatter as other first class PETSc objects do. Changed old VecScatterCreate() to VecScatterCreateWithData() Added VecScatterSetUp() and converted implementations to use it to compute scatter information Pull "MPI1" and "MPI3" specific code out of common VecScatter impls code This allows future implementations to use the common code also without changing the common code Seperate VecScatter implementation code into three subdirectories seq, mpi1, and mpi3 doc: fix author list in manual wrt 6402aee doc: fix LOCDIR wrt broken URL from MatHYPRESetPreallocation.html ifort: ifx compile error with --with-mpi=0 changes/310.html: merged two TAO sections ...
Conflicts: src/dm/interface/dm.c
show more ...
|
| #
e11ba9d6
|
| 18-Sep-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-ksp-ex10-transpose
* master: (219 commits) petsc4py: update with VecScatter API changes remove duplicate code petsc4py: update to version 3.10.0 fi
Merge branch 'master' into knepley/feature-ksp-ex10-transpose
* master: (219 commits) petsc4py: update with VecScatter API changes remove duplicate code petsc4py: update to version 3.10.0 fixed typos in documentation fixed typos in documentation Fix some remaining Register()s to call InitializePackage() Remove memory leaks of XXXRegister() is called but XXX object is never used Add to PCTFS manual page that it does not work for complex numbers Stray , in manual page that should be . Only register MPI3 VecScatter if they are built clarification of KSPSetComputeInitialGuess() Add missing makefiles for VecScatter implementations Changed VecScatterCreate() to take a communicator and return scatter as other first class PETSc objects do. Changed old VecScatterCreate() to VecScatterCreateWithData() Added VecScatterSetUp() and converted implementations to use it to compute scatter information Pull "MPI1" and "MPI3" specific code out of common VecScatter impls code This allows future implementations to use the common code also without changing the common code Seperate VecScatter implementation code into three subdirectories seq, mpi1, and mpi3 doc: fix author list in manual wrt 6402aee doc: fix LOCDIR wrt broken URL from MatHYPRESetPreallocation.html ifort: ifx compile error with --with-mpi=0 changes/310.html: merged two TAO sections ...
Conflicts: src/ksp/ksp/interface/itfunc.c
show more ...
|
| #
4a1557b5
|
| 12-Sep-2018 |
Andreas Selinger <andreasselinger@gmail.com> |
Merged petsc/petsc into master
|
| #
d49c3730
|
| 11-Sep-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into arcowie-rem/feature-error-logging
* master: (345 commits) Update dev notes for the coming release Increase patchlevel to 3.9.4 doc fixes Added some AIJSELL tests t
Merge branch 'master' into arcowie-rem/feature-error-logging
* master: (345 commits) Update dev notes for the coming release Increase patchlevel to 3.9.4 doc fixes Added some AIJSELL tests that mirror the SELL tests. Bib: More refs Removed use of hardwired -1 to represent PETSC_NULL_XXX object, since the null value is now 0. fix memleaks flagged by valgrind ex62: disable long running test and workaround differences in iteration counts on various builds. Add FAQ we can point to when users get error messages such as: "PETSc was configured with one OpenMPI mpi.h version but now appears to be compiling using a different OpenMPI mpi.h version" swith test from mpich to openmpi as mpich ch3:sock is unuserable per PetscShmCommGet() DM: Forgot to move include statement fix nightlybuild issues - disable hypre [for openmp] and fix uninitialized variables tests: enable openmp and hwloc with one of the mumps tests Default BoomerAMG smoothers Configure: Revert changes from debb90c, so that we are back to the original Libmesh Configure: Reverted change for Libmesh from 83cd5d7 Split vecimpl.h into vecimpl.h and vecscatterimpl.h SNES ex62: Turned off some tests for other precisions and shortened output of sensitive tests Use mmap to allocate the shared pthread barrier if available Add configure test for functional mmap ...
Conflicts: include/petscconvest.h src/snes/examples/tutorials/ex13.c src/snes/interface/snes.c src/snes/utils/convest.c
show more ...
|
| #
94dfa42b
|
| 10-Sep-2018 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-pc-patch'
|
| #
0b755f55
|
| 03-Sep-2018 |
Matthew G. Knepley <knepley@gmail.com> |
ConvEst: Better output and way to get number of fields
|
| #
adfa7136
|
| 30-Aug-2018 |
Matthew G. Knepley <knepley@gmail.com> |
ConvEst: Fixed some regressions with output - Also brought us closer to the forthcoming branch from Albert
|
| #
a56d3bf6
|
| 24-Aug-2018 |
Matthew G. Knepley <knepley@gmail.com> |
ConvEst: Separately fit convergence rate for each field
|
| #
8f892730
|
| 08-Apr-2018 |
Matthew G. Knepley <knepley@gmail.com> |
ConvEst: Have to propagate nullspace constructors - Can remove this when they move to DS
|
| #
5d68e14c
|
| 06-Apr-2018 |
Matthew G. Knepley <knepley@gmail.com> |
PetscLog: Added ability to put dog and error information in an event - This allows convergence monitoring along with performance - Report this info in the Python module - Record the data in ConvEst
|
| #
46079b62
|
| 04-Apr-2018 |
Matthew G. Knepley <knepley@gmail.com> |
ConvEst: Now estimate rates for each field - Option -num_refine --> -convest_num_refine - Added -convest_monitor
|
| #
603303d3
|
| 12-Jul-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/fix-fe-default
* master: (297 commits) Bib: Added refs and fixed one Doc: Fixed formatting problems for MatCreateAIJ() manual page. Add to PCSOR manual page
Merge branch 'master' into knepley/fix-fe-default
* master: (297 commits) Bib: Added refs and fixed one Doc: Fixed formatting problems for MatCreateAIJ() manual page. Add to PCSOR manual page information about convergence testing when using KSPRICHARDSON SNES ex5: Restore old output since this breaks an example I have Noted that some Cray XC systems will use 'aprun' instead of 'srun'. Thanks to Herr Doktor Hong Zhang for this suggestion. Added example configure script for Cray XC40 with KNL processors (e.g., NERSC Cori). Fix possible sprintf -Wformat-overflow PetscMalloc2-7: fix -Wint-in-bool-context for GCC 7 SNES ex5: make boundary condition handling consistent for symmetry SNES ex5: use L2 norm and *_monitor_short for output SNES ex5: the L^2 norm scales with the l^2 norm over sqrt(N) SNES ex5: refactor MMS capability to avoid extreme code duplication Documentation fix: typo in PetscLogStageRegister manual page. nodes -> vertices rename DMNetworkGetComponentTypeOffset -> DMNetworkGetComponentKeyOffset rename DMNetworkGetConnectedNodes() -> DMNetworkGetConnectedVertices() Jacobians for adjoints for explicit methods and constant Jacobians never got initialized fix complex build error fix build failure with fortran interface fix compile error with cdc753b64c658d532d7813e942002e67025667a6 ...
Conflicts: src/snes/examples/tutorials/ex13.c src/snes/examples/tutorials/ex62.c src/snes/examples/tutorials/ex69.c
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 ...
|
| #
8dfade3b
|
| 24-Jun-2017 |
Barry Smith <bsmith@mcs.anl.gov> |
always need to caste PetscReal variables to (double) in print statements
Commit-type: portability-fix
|