| #
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 ...
|
| #
7e8837e9
|
| 09-Sep-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/fix-superdm-is
* master: (123 commits) Fix a few more Fortran objects to have their NULL value match the C NULL value remove dead code Add variable point blo
Merge branch 'master' into knepley/fix-superdm-is
* master: (123 commits) Fix a few more Fortran objects to have their NULL value match the C NULL value remove dead code Add variable point block Jacobi for MPIAIJ matrix. should not pass user contexts through CHKFORTRANNULLOBJECT in Fortran stubs fix mpiuni test Remove CHKFORTRANNULLOBJECTDEREFERENCE since it is no longer needed with Fortran null equal to C null PETSCFEOPENCL: declare PetscFEGetTabulation_Basic as external PETSCFEOPENCL: declare PetscFESetUp_Basic as external Change Fortran null pointer to match C null pointer one more fix jenkins: run 'cleantest' after examples are run - to recover diskspace logical order bug in diagbrdn update fixed, tests updated again replace new -petscspace_order instances with -petscspace_degree PETSCSPACETENSOR: clear up naming confusion of subspaces regression.py: remove configure code related to old test suite - now that SLEPc no longer needs it PetscSpaceSetup_Poly(): make idempotent Plex ex3: update tests Lift changes to defunct dtfe.c from [PR #1074] PetscSpace_Tensor: clarification of vector-valued PetscSpace_Tensor: allow height subspaces, fixes tabulation initialization ...
show more ...
|
| #
7489efa5
|
| 07-Sep-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-pc-patch
* master: (131 commits) fix mpiuni test PETSCFEOPENCL: declare PetscFEGetTabulation_Basic as external PETSCFEOPENCL: declare PetscFESetUp_Ba
Merge branch 'master' into knepley/feature-pc-patch
* master: (131 commits) fix mpiuni test PETSCFEOPENCL: declare PetscFEGetTabulation_Basic as external PETSCFEOPENCL: declare PetscFESetUp_Basic as external one more fix jenkins: run 'cleantest' after examples are run - to recover diskspace logical order bug in diagbrdn update fixed, tests updated again replace new -petscspace_order instances with -petscspace_degree PETSCSPACETENSOR: clear up naming confusion of subspaces regression.py: remove configure code related to old test suite - now that SLEPc no longer needs it PetscSpaceSetup_Poly(): make idempotent Plex ex3: update tests Lift changes to defunct dtfe.c from [PR #1074] PetscSpace_Tensor: clarification of vector-valued PetscSpace_Tensor: allow height subspaces, fixes tabulation initialization PetscSpace: add a dimension member PetscSpaceSetDegree(): now take maxDegree argument -petscspacepoly_tensor -> -petscspace_type tensor PetscSpaceEvaluate_Polynomial(): fix temp array dependencies PETSCSPACETENSOR: A generic tensor product of spaces. PetscSpace: -petscspace_order -> -petscspace_degree ...
Conflicts: src/dm/dt/interface/dtfe.c src/snes/examples/tutorials/ex13.c src/snes/examples/tutorials/ex17.c src/snes/examples/tutorials/ex62.c src/snes/examples/tutorials/output/ex62_bddc_quad.out src/snes/examples/tutorials/output/ex62_fetidp_2d_quad.out src/snes/examples/tutorials/output/ex62_fetidp_2d_tri.out src/snes/examples/tutorials/output/ex62_fetidp_3d_hex.out src/snes/examples/tutorials/output/ex62_fetidp_3d_tet.out
show more ...
|
| #
c86da64b
|
| 06-Sep-2018 |
Joseph Pusztay <josephpu@buffalo.edu> |
Merged petsc/petsc into master
|
| #
d0187f8a
|
| 04-Sep-2018 |
Karl Rupp <me@karlrupp.net> |
Merge branch 'hongzh/symplectic-integrator' [PR #1049]
* hongzh/symplectic-integrator: This branch implements symplectic time integrators.
We should come up with a unifying framework that works for
Merge branch 'hongzh/symplectic-integrator' [PR #1049]
* hongzh/symplectic-integrator: This branch implements symplectic time integrators.
We should come up with a unifying framework that works for all multi- methods such as multirate methods (see PR #1043). The idea of this branch is to ask users to provide a two-way splitting of the separable Hamiltonian system.
TSGetRHSFunctionSplit2w(TS ts,Vec *r,TSRHSFunctionSplit2w *fun1,TSRHSFunctionSplit2w *fun2,void **ctx) TSSetRHSFunctionSplit2w(TS ts,Vec r,TSRHSFunctionSplit2w fun1,TSRHSFunctionSplit2w fun2,void *ctx)
The split/partitioned functions typically have an output vector that has lower DOF. For example, RHSFunction() represents a mapping Rn → Rn , but RHSFunctionSplit2w() provides a mapping Rn → Rn/2 since the subvector is always half of the combined vector. This is also why I use nested vectors for simplicity.
Using IS is a more general way to support multi-way splitting. I am not sure if we should use IS instead of nested vectors for symplectic integrators. Perhaps we can keep both approaches.
show more ...
|
| #
87f4e208
|
| 20-Aug-2018 |
Hong Zhang <hongzhang@anl.gov> |
Redesign TS API for split methods
Some explanation of the description on the wikipedia: - It is correct, but different from the implementations in common codes - The general framework for the repres
Redesign TS API for split methods
Some explanation of the description on the wikipedia: - It is correct, but different from the implementations in common codes - The general framework for the representation orginates from Ronald Ruth's paper on 3rd- and 4th-order symplectic methods - The order in which velocity and position get updated does not matter; it only leads to variants of the same algorithm
Funded-by: Project: PETSc time integration Time: 4.0 hours Reported-by: Thanks-to:
show more ...
|
| #
78945fca
|
| 17-Aug-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-functionals
* master: (984 commits) netcdf: set zlib as optional dependency corretly [wrt --enable-netcdf-4] - otherwise netcdf configure errors out
Merge branch 'master' into knepley/feature-plex-functionals
* master: (984 commits) netcdf: set zlib as optional dependency corretly [wrt --enable-netcdf-4] - otherwise netcdf configure errors out fix gcov obj path -options_table was changed to options_view in 2014 but documentation was not updated to reflect it configure: fix F2003 test Dev manual: remove duplicate entry Plex test ex5: Removed "future" test, as it resulted in issues in the nightly tests. Some minor typos in TS Add ADIOS2.py which I forgot to git add in the past Plex ex5: Disable test Doc: Added note for interface change KSPLSQRMonitorDefault fixed for quad precision Tao: Added alternative output for chwirut2 test. TS ex45,ex46: Removed overly refined tests for faster nightly tests. KSP ex72: Fixed needlessly long-running PCTFS tests. SNES ex56: Reduced test size to speed up nightly test suite. KSPSolve_LSQR: don't compute unused norm of rhs SNES ex13: Reduced problem sizes for nightly tests. PetscOptionsDeprecated(): fix for NULL prefix PetscOptionsDeprecated(): add option to print additional info SNES ex12: Reduced sizes for BDDC tests. ...
show more ...
|
| #
13a035b1
|
| 13-Aug-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-elasticity-test
* master: (1553 commits) -options_table was changed to options_view in 2014 but documentation was not updated to reflect it config
Merge branch 'master' into knepley/feature-plex-elasticity-test
* master: (1553 commits) -options_table was changed to options_view in 2014 but documentation was not updated to reflect it configure: fix F2003 test Plex test ex5: Removed "future" test, as it resulted in issues in the nightly tests. Some minor typos in TS Add ADIOS2.py which I forgot to git add in the past Plex ex5: Disable test Doc: Added note for interface change KSPLSQRMonitorDefault fixed for quad precision Tao: Added alternative output for chwirut2 test. TS ex45,ex46: Removed overly refined tests for faster nightly tests. KSP ex72: Fixed needlessly long-running PCTFS tests. SNES ex56: Reduced test size to speed up nightly test suite. KSPSolve_LSQR: don't compute unused norm of rhs SNES ex13: Reduced problem sizes for nightly tests. PetscOptionsDeprecated(): fix for NULL prefix PetscOptionsDeprecated(): add option to print additional info SNES ex12: Reduced sizes for BDDC tests. PetscFileRetrieve(): Suppress output to STDERR when downloading a file. MatMatMult: Fixed unused variable pN. DMDestroy: Guard call to dm->ops->destroy * Similar guards are in place in many other methods (IS,Vec,Mat) and permit the DM to be destroyed even if DMSetType() was never called. ...
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 ...
|
| #
2cf2a403
|
| 11-Jun-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-pc-patch
* master: (562 commits) fix clang-analyzer warning Developers manual never use system randomizers in PETSc and example source code. missing
Merge branch 'master' into knepley/feature-pc-patch
* master: (562 commits) fix clang-analyzer warning Developers manual never use system randomizers in PETSc and example source code. missing CHKERRQ() DT: Reverting the tgamma change broke MPFR - I guess we need a nightly build with it in Add a test for ex21 Fix error in ex21 Add missing fortran interface that handles null objects DMComposite: add missing guards MatPreallocate: fix overpreallocation of local rows style fixes MatView_MPI_DA: do not print twice the class prefix MatSetOperation: stash the original MatView_XXX in the viewnative function pointer DMCreateInterpolation_DA gracefully error instead of catching FPE signals MatIncreaseOverlap: preserve communicator of index sets MatMPIAIJ: fix indentation and missing CHKERRQ ISBuildTwoSided: remove tabs and fix style Fix documentation PetscViewerDraw: fix unininitialized warning from valgrind MatConvert_SeqAIJ_SeqBAIJ: remove error for non square matrices and add MAT_REUSE_MATRIX case Mat: MAT_INPLACE_MATRIX can be used for transposition with rectangular matrices ...
Conflicts: src/dm/dt/interface/dtfe.c src/dm/impls/plex/plex.c src/dm/impls/plex/plexfem.c src/snes/examples/tutorials/ex13.c src/snes/examples/tutorials/ex62.c src/snes/examples/tutorials/makefile src/snes/examples/tutorials/output/ex62_18.out src/snes/examples/tutorials/output/ex62_19.out src/snes/examples/tutorials/output/ex62_20.out src/snes/examples/tutorials/output/ex62_20_parmetis.out src/snes/examples/tutorials/output/ex62_21.out src/snes/examples/tutorials/output/ex62_22.out src/snes/examples/tutorials/output/ex62_23.out src/snes/examples/tutorials/output/ex62_24.out src/snes/examples/tutorials/output/ex62_25.out src/snes/examples/tutorials/output/ex62_26.out src/snes/examples/tutorials/output/ex62_27.out src/snes/examples/tutorials/output/ex62_28.out src/snes/examples/tutorials/output/ex62_29.out src/snes/examples/tutorials/output/ex62_2d_p3_1.out src/snes/examples/tutorials/output/ex62_30.out src/snes/examples/tutorials/output/ex62_31.out src/snes/examples/tutorials/output/ex62_32.out src/snes/examples/tutorials/output/ex62_33.out src/snes/examples/tutorials/output/ex62_34.out src/snes/examples/tutorials/output/ex62_35.out src/snes/examples/tutorials/output/ex62_36.out src/snes/examples/tutorials/output/ex62_pc_simple.out src/snes/examples/tutorials/output/ex62_pc_simplec.out src/snes/examples/tutorials/output/ex62_quad_q2p1_full.out src/snes/examples/tutorials/output/ex62_quad_q2q1_full.out src/snes/utils/dmplexsnes.c
show more ...
|
| #
d1b71f57
|
| 19-Apr-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-error-logging
* master: (221 commits) dashboard: count and list example compile failures like: fix fix-pr879-jczhang-optimize-vecscatter-multi-copy a
Merge branch 'master' into knepley/feature-error-logging
* master: (221 commits) dashboard: count and list example compile failures like: fix fix-pr879-jczhang-optimize-vecscatter-multi-copy add manual page cross links for SNESLineSearchSetPostCheck() and related routines fix help manual of MatCreateSubmatrices() Reported-by: Tim Steinhoff <kandanovian@gmail.com> Add manual pages for PetscRealPart() and PetscImaginaryPart() fix compile error with missing MPI_C_DOBULE_COMPLEX fix typo Reported-by: Febrian Setianto <febrian.setianto@gmail.com> plex tutorial ex5: updated test requirements DMPlexLoad_HDF5_Xdmf_Internal: fix for complex PetscScalar. DMPlexLoad_HDF5_Xdmf_Internal: fix for 64-bit PetscInt. DMPlexBuildFromCellList_Internal: use DMPlexInvertCell_Internal (with PetscInt* arg) petscviewer.h: removed notice which is no longer relevant DMPlexCreateFromFile: document option check only if PETSC_USE_DEBUG DMPlexBuildFromCellList_Internal optionally inverts cells. ex5: new test 4 with -compare without repartitioning ex5: new test 3 using -compare ex5: HDF5 write+read moved to separate function ex5: option -format processed in ProcessOptions() ex5: added missing hdf5 requirement ...
Conflicts: include/petsclog.h
show more ...
|
| #
850224f6
|
| 19-Apr-2018 |
Karl Rupp <me@karlrupp.net> |
Merge branch 'psanan/manpages-notes-newlines' [PR #932]
* psanan/manpages-notes-newlines: A large number of man pages are improperly formatted because of the lack of a newline after "Notes:", "Fortr
Merge branch 'psanan/manpages-notes-newlines' [PR #932]
* psanan/manpages-notes-newlines: A large number of man pages are improperly formatted because of the lack of a newline after "Notes:", "Fortran Notes:", or "Developer Notes:". This batch adds those newlines, with 4 spaces of indentation afterwards. The uniform indentation arguably makes the man pages a little less readable in the source itself, but overall this hopefully has a large positive impact on the readability of the HTML pages.
show more ...
|
| #
95452b02
|
| 16-Apr-2018 |
Patrick Sanan <patrick.sanan@gmail.com> |
Man pages: add newlines after "Notes:"
This allows for proper formatting from sowing.
On OS X (using gsed, not the default BSD sed), from the PETSc root directory:
find src include -type f \(
Man pages: add newlines after "Notes:"
This allows for proper formatting from sowing.
On OS X (using gsed, not the default BSD sed), from the PETSc root directory:
find src include -type f \( -name "*.c" -or -name "*.h" -or -name "*.cxx" \) | xargs gsed -i 's/Notes\s*:\s*\(\w.*\)/Notes:\n \1/'
This adds a newline and 4 spaces whenever "Notes:" is followed by any "word" character, in any .c, .h, or .cxx file in src/ or include/
show more ...
|
| #
e366c154
|
| 15-Nov-2017 |
Jed Brown <jed@jedbrown.org> |
Merge commit 'd47bf9aaf1e5266cc3f0ff499f934c85788965a9' into jed/fix-matcreatempibaij/maint
Obtain changed (v3.5) handling of MatMPIBAIJSetPreallocationCSR to match documentation.
|
| #
8a8e4123
|
| 03-Aug-2017 |
Lisandro Dalcin <dalcinl@gmail.com> |
Merged in dalcinl/ts-fixes (pull request #725)
TS: Various fixes
Approved-by: BarryFSmith <bsmith@mcs.anl.gov>
|
| #
ef85077e
|
| 01-Aug-2017 |
Lisandro Dalcin <dalcinl@gmail.com> |
TS: Change default maximum time and steps to unlimited
* Error if users do not specify either final time or max steps * Remove unnecessary "zero" initializations in TSCreate() * Add command line opt
TS: Change default maximum time and steps to unlimited
* Error if users do not specify either final time or max steps * Remove unnecessary "zero" initializations in TSCreate() * Add command line option -ts_max_time (but keep -ts_final_time)
show more ...
|
| #
0b9df78e
|
| 24-Jul-2017 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/hongzh/ts-direct-sa'
|
| #
715f1b00
|
| 14-Jun-2017 |
Hong Zhang <hongzhang@anl.gov> |
add the forward SA capability for Theta methods
-Support the calculation of the gradients of integrals. -The integrals are treated as additional differential equations. -Trajectory sensitivities
add the forward SA capability for Theta methods
-Support the calculation of the gradients of integrals. -The integrals are treated as additional differential equations. -Trajectory sensitivities to parameters and initial values are handled separatedly. -Two examples are included: van der Pol and a power grid problem. -The forward SA modle is implemented in a separate file because ts.c is already a monster and it is still growing. -TSAdjointComputeDRDYFunction is always required.
show more ...
|
| #
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 ...
|
| #
561bb3f4
|
| 30-Jun-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-rigid-bodies
* master: (204 commits) windows fixes revert this change as a relavent fix is already in origin/knepley/fix-ex-types regenerate output l
Merge branch 'master' into knepley/feature-rigid-bodies
* master: (204 commits) windows fixes revert this change as a relavent fix is already in origin/knepley/fix-ex-types regenerate output log for snes_tutorials-ex62_fetidp_3d_tet that got corrupted in 188e10d6f1cffa866ec0197053a0e55fa4e7da41 fix opensolaris build error with --with-log=0 Undefined first referenced symbol in file PetscLogEventGetPerfInfo arch-opensolaris-misc/tests/src/dm/impls/plex/examples/tests/ex9.o fix warnings on windows C:\cygwin64\home\petsc\PETSC~1.CLO\src\tao\examples\TUTORI~1\ex1.c(217): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' disable example with absoft (due to fixed/free form limit) c89 fixes metis: setself.downloaddirnames for change in 6d90219d8fa4f8b2fd242cc6ff9008358d87c26f Plex ex19: Remove unneeded code Plex: Fix projection when we have a dmAux which is a domain boundary - If we are projecting on a lower dimension thing (effectiveHeight > 0), then we need to get the space and dual space on this subcell - The tabulation needs to be in the right dimension for both dm and dmAux PetscFE: Added height subspaces to PetscFE - Added PetscFEGetHeightSubspace() - Added array in struct PetscDualSpace: Small cleanup of parameter name PetscSpace: Added height subspaces for PetscSpace - Added PetscSapceGetHeightSubspace() and member function - Added subspaces array 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 some minor style issues Extend AMS/ADS to support high-order element. ...
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 ...
|
| #
78cf9a39
|
| 25-Jun-2017 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/barry/consistent-formating-ascii-solver-viewers'
|
| #
efd4aadf
|
| 30-Apr-2017 |
Barry Smith <bsmith@mcs.anl.gov> |
Make ASCII PC/KSP/SNES/TSView() code and output in a standard style
The code that prints the ASCII view for solvers was occasionally inconsistent: 1) TSView printed the type specific information aft
Make ASCII PC/KSP/SNES/TSView() code and output in a standard style
The code that prints the ASCII view for solvers was occasionally inconsistent: 1) TSView printed the type specific information after the general info while all other solvers printed it before (right after the name of the type is printed) 2) KSPView consistently printed the name of the subtype on EACH line of the subtypes output as did a few of the PC and SNES viewers. Since they are all printed indented directly below the subtype name there is no reason to print this information on each line 3) TSView printed output about number of linear solvers and SNES even for explicit methods, which is goofy. 4) a few other minor formatting and consistency issues where fix.
Commit-type: style-fix, feature Time: 16 hours
show more ...
|