| #
81586c56
|
| 15-Aug-2017 |
Lisandro Dalcin <dalcinl@gmail.com> |
Merged in dalcinl/fix-plex-refinehex2d (pull request #735)
DMPlex: Fix REFINER_HEX_2D orientations
Approved-by: Matthew Knepley <knepley@gmail.com>
|
| #
efb27101
|
| 07-May-2017 |
Lisandro Dalcin <dalcinl@gmail.com> |
DMPlex: Fix REFINER_HEX_2D orientations
Orient the four subcells counter-clockwise in the parent cell cone
|
| #
451a39c7
|
| 30-Jul-2017 |
Stefano Zampini <stefano.zampini@gmail.com> |
Fixes from nightly static analysis
|
| #
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 ...
|
| #
1fdde456
|
| 30-Jun-2017 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/stefano_zampini/feature-gmsh-periodic'
|
| #
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 ...
|
| #
5292cab6
|
| 30-May-2017 |
Scott Kruger <scott.e.kruger@gmail.com> |
Merge branch 'scott/test-datafiles-fix' of https://bitbucket.org/petsc/petsc into scott/test-datafiles-fix
|
| #
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 ...
|
| #
f09ee9fb
|
| 12-May-2017 |
Stefano Zampini <stefano.zampini@gmail.com> |
Merge branch 'master' into stefano_zampini/feature-fetidp-ex69
|
| #
a0479788
|
| 07-May-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-boundary-values
* master: (487 commits) Bib: More refs Fixed errors in the manuals and ts_glee source code doc fix bug to enable '-xxx_via [alg]
Merge branch 'master' into knepley/feature-plex-boundary-values
* master: (487 commits) Bib: More refs Fixed errors in the manuals and ts_glee source code doc fix bug to enable '-xxx_via [alg]' to showup in '-help' Reported-by: Mark Adams <mfadams@lbl.gov> Plex: Remove dead code TS tutorials ex11: remove unused functions TSAdapt: Set TSADAPTNONE as default adapt type DMPlex: missed viewer change in synchronized output Revert "Merge branch 'hzhang/ts-ex9busdmnetwork'" TSAdapt: Update changes/dev.html TSAdapt: Set default type for TSGLEE TS tutorials ex11: make work with complex scalars Bib: Added ref TS ex18: Fix initializer TS ex11: Fix M_PI Plex ex1f90: FUCK FORTRAN f2cblaslapack: remove duplicate xerbla.o and xerbla_array.o from lapack [they are already in blas] TSAdapt: Refactor handling of default adapt type TSAdapt: Update changes/dev.html TSAdapt: Update manual TSAdapt: Refactor interface and implementations ...
show more ...
|
| #
46b3086c
|
| 03-May-2017 |
Toby Isaac <tisaac@uchicago.edu> |
Merge branch 'tisaac/feature-plex-tests-new'
This merge changes PetscSpace and PetscQuadrature to have a number of components, so that vector-valued functionals can be defined for non-Lagrange finit
Merge branch 'tisaac/feature-plex-tests-new'
This merge changes PetscSpace and PetscQuadrature to have a number of components, so that vector-valued functionals can be defined for non-Lagrange finite elements. Along the way, this branch also converts the regression tests related to DMPlex that were in config/builder.py to the new test harness, and makes lots of changes necessary for them to be portable tests.
* tisaac/feature-plex-tests-new: (263 commits) TS tutorials ex11: remove unused functions DMPlex: missed viewer change in synchronized output TS tutorials ex11: make work with complex scalars TS ex18: Fix initializer TS ex11: Fix M_PI Plex ex1f90: FUCK FORTRAN TS tutorials ex11: use a union when punning silence compiler warnings SNES tutorials ex56: set partitioner from options Plex: once again, MPI_Barrier() can't be used to synch output windows compile fixes balay@ps4 ~/petsc/src/ts/examples/tutorials $ make PETSC_DIR=$HOME/petsc ex11 /home/balay/petsc/bin/win32fe/win32fe cl -o ex11.o -c -MD -wd4996 -Z7 -I/home/balay/petsc/include -I/home/balay/petsc/arch-mswin-uni/include -I/home/balay/petsc/include/petsc/mpiuni `pwd`/ex11.c ex11.c C:\cygwin64\home\balay\petsc\src\ts\examples\TUTORI~1\ex11.c(300): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' C:\cygwin64\home\balay\petsc\src\ts\examples\TUTORI~1\ex11.c(301): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' C:\cygwin64\home\balay\petsc\src\ts\examples\TUTORI~1\ex11.c(370): error C2229: struct '<unnamed-tag>' has an illegal zero-sized array C:\cygwin64\home\balay\petsc\src\ts\examples\TUTORI~1\ex11.c(463): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' C:\cygwin64\home\balay\petsc\src\ts\examples\TUTORI~1\ex11.c(505): error C2229: struct '<unnamed-tag>' has an illegal zero-sized array C:\cygwin64\home\balay\petsc\src\ts\examples\TUTORI~1\ex11.c(724): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' C:\cygwin64\home\balay\petsc\src\ts\examples\TUTORI~1\ex11.c(728): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' C:\cygwin64\home\balay\petsc\src\ts\examples\TUTORI~1\ex11.c(1179): warning C4090: 'function': different 'const' qualifiers C:\cygwin64\home\balay\petsc\src\ts\examples\TUTORI~1\ex11.c(1184): warning C4090: 'function': different 'const' qualifiers C:\cygwin64\home\balay\petsc\src\ts\examples\TUTORI~1\ex11.c(1191): warning C4090: 'function': different 'const' qualifiers C:\cygwin64\home\balay\petsc\src\ts\examples\TUTORI~1\ex11.c(1194): warning C4090: 'function': different 'const' qualifiers C:\cygwin64\home\balay\petsc\src\ts\examples\TUTORI~1\ex11.c(1383): warning C4090: 'function': different 'const' qualifiers C:\cygwin64\home\balay\petsc\src\ts\examples\TUTORI~1\ex11.c(1521): warning C4090: 'function': different 'const' qualifiers C:\cygwin64\home\balay\petsc\src\ts\examples\TUTORI~1\ex11.c(1522): warning C4090: 'function': different 'const' qualifiers C:\cygwin64\home\balay\petsc\src\ts\examples\TUTORI~1\ex11.c(1523): warning C4090: 'function': different 'const' qualifiers PetscMath: check for math functions by function pointer resolvability another windows fix for log2() C:\cygwin64\home\petsc\PETSC~1.CLO\include\petscmath.h(28): warning C4273: 'log2': inconsistent dll linkage C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\../ucrt/math.h(506): note: see previous definition of 'log2' fix log2() compile error on windows /home/petsc/petsc.clone-4/include/petscmath.h:28:8: error: expected ‘)’ before ‘/’ token double log2(double); ^ SNES tutorials ex12: turn off complex for restart test Add empty file to silence warnings TS tutorials ex46: make output match floating point filter TS tutorials ex18: remove unused flags SNES tutorials ex69: use end of line anchor instead of word boundary SNES tutorials ex69: portable word boundary regex ...
show more ...
|
| #
0488a7f0
|
| 29-Apr-2017 |
Stefano Zampini <stefano.zampini@gmail.com> |
Merge remote-tracking branch 'origin/stefano_zampini/feature-plex-simplex-to-tensor'
|
| #
3548e9b6
|
| 12-Apr-2017 |
Stefano Zampini <stefano.zampini@gmail.com> |
Fix compiler warnings
|
| #
e5337592
|
| 26-Mar-2017 |
Stefano Zampini <stefano.zampini@gmail.com> |
DMPlex: add new refiner to split simplex meshes in tensor meshes
|
| #
dc0997dd
|
| 03-Apr-2017 |
Stefano Zampini <stefano.zampini@gmail.com> |
Merge branch 'knepley/feature-mantle-example' into stefano_zampini/feature-fetidp-ex69
|
| #
9fc2a3f3
|
| 23-Mar-2017 |
Stefano Zampini <stefano.zampini@gmail.com> |
DMPlex_refine: In master, coordinates are not localized on all cells, just on a subset
|
| #
1072f78b
|
| 20-Mar-2017 |
Stefano Zampini <stefano.zampini@gmail.com> |
DMPlex: use MAX reduction instead of SUM for missing vertex coordinates
|
| #
90b157c4
|
| 20-Mar-2017 |
Stefano Zampini <stefano.zampini@gmail.com> |
DMPlex: allow uniform refinement for periodic meshes without maxCell/L
Needed an API change for DMSet/GetPeriodicity
|
| #
8393f63d
|
| 14-Mar-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'knepley/feature-plex-tests-new' into knepley/feature-plex-pragmatic-parallel
* knepley/feature-plex-tests-new: (105 commits) SNES ex62: Make test 31 less sensitive Plex: Remove ext
Merge branch 'knepley/feature-plex-tests-new' into knepley/feature-plex-pragmatic-parallel
* knepley/feature-plex-tests-new: (105 commits) SNES ex62: Make test 31 less sensitive Plex: Remove extra semicolons Test: Reverted cherry pick Plex: Damn Absoft, Trying to get under the 132 character line limit for Absoft Testing: Cherry picked a fix Plex: Trying to get under the 132 character line limit for Absoft Plex: Fix small compiler warnings Plex ex2f90: Removed comment line Absoft does not like Plex: Turn off some tests for quad Plex ex6: Fix printing for quad Plex: Removed extra semicolon SNES ex12: Moved restart test to subtests Plex ex15: Switched to simple partitioning SNES ex12: Switched to simple partitioning SNES ex62: Updated output for small numerical diffs SNES ex62: Switched to simple partitioning Tests: Turned off some tests that do not very in single precision all requires need to go on the same line in test definition otherwise they are skipped TS ex47: Added test output replace numProcs with standard size ...
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 ...
|
| #
94f6b748
|
| 23-Feb-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'knepley/feature-plex-tests-new' into knepley/feature-mantle-example
* knepley/feature-plex-tests-new: (103 commits) Test: Reverted cherry pick Plex: Damn Absoft, Trying to get unde
Merge branch 'knepley/feature-plex-tests-new' into knepley/feature-mantle-example
* knepley/feature-plex-tests-new: (103 commits) Test: Reverted cherry pick Plex: Damn Absoft, Trying to get under the 132 character line limit for Absoft Testing: Cherry picked a fix Plex: Trying to get under the 132 character line limit for Absoft Plex: Fix small compiler warnings Plex ex2f90: Removed comment line Absoft does not like Plex: Turn off some tests for quad Plex ex6: Fix printing for quad Plex: Removed extra semicolon SNES ex12: Moved restart test to subtests Plex ex15: Switched to simple partitioning SNES ex12: Switched to simple partitioning SNES ex62: Updated output for small numerical diffs SNES ex62: Switched to simple partitioning Tests: Turned off some tests that do not very in single precision all requires need to go on the same line in test definition otherwise they are skipped TS ex47: Added test output replace numProcs with standard size Plex+Gmsh: Fix for complex fix accidently changed code ...
show more ...
|
| #
f3c897b4
|
| 20-Feb-2017 |
Toby Isaac <tisaac@uchicago.edu> |
Merge remote-tracking branch 'origin/knepley/feature-plex-tests-new' into tisaac/fix-pipeline-tests
* origin/knepley/feature-plex-tests-new: (101 commits) Plex: Fix small compiler warnings Plex
Merge remote-tracking branch 'origin/knepley/feature-plex-tests-new' into tisaac/fix-pipeline-tests
* origin/knepley/feature-plex-tests-new: (101 commits) Plex: Fix small compiler warnings Plex ex2f90: Removed comment line Absoft does not like Plex: Turn off some tests for quad Plex ex6: Fix printing for quad Plex: Removed extra semicolon SNES ex12: Moved restart test to subtests Plex ex15: Switched to simple partitioning SNES ex12: Switched to simple partitioning SNES ex62: Updated output for small numerical diffs SNES ex62: Switched to simple partitioning Tests: Turned off some tests that do not very in single precision all requires need to go on the same line in test definition otherwise they are skipped TS ex47: Added test output replace numProcs with standard size Plex+Gmsh: Fix for complex fix accidently changed code another fix for Plex for complex numbers fix for example that did not handle complex numbers correctly mark example tests that do not work with complex, fix warning about use of possibly uninitialized values Fix MPI type to match PetscReal ...
show more ...
|