| #
8b668821
|
| 04-Aug-2017 |
Lisandro Dalcin <dalcinl@gmail.com> |
TS: Add command line option -ts_monitor_lg_timestep_log
|
| #
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>
|
| #
4f4e0956
|
| 03-Aug-2017 |
Lisandro Dalcin <dalcinl@gmail.com> |
TS: Deprecate TSGetTotalSteps()
|
| #
e193eaaf
|
| 02-Aug-2017 |
Lisandro Dalcin <dalcinl@gmail.com> |
Fix extra semicolon after function
|
| #
aaa6c58d
|
| 01-Aug-2017 |
Lisandro Dalcin <dalcinl@gmail.com> |
TS: Deprecate TSSetInitialTimeStep()
|
| #
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 ...
|
| #
5c5f5948
|
| 01-Aug-2017 |
Lisandro Dalcin <dalcinl@gmail.com> |
TS: Deprecate TSGetTimeStepNumber()
|
| #
19eac22c
|
| 01-Aug-2017 |
Lisandro Dalcin <dalcinl@gmail.com> |
TS: Deprecate TS{Set|Get}Duration()
|
| #
f6953c82
|
| 31-Jul-2017 |
Lisandro Dalcin <dalcinl@gmail.com> |
TS: Add TSGetExactFinalTime()
|
| #
75a94a0c
|
| 01-Aug-2017 |
Lisandro Dalcin <dalcinl@gmail.com> |
Merged in dalcinl/ts-solve (pull request #722)
Proper support for successive TSSolve() calls
Approved-by: BarryFSmith <bsmith@mcs.anl.gov>
|
| #
2808aa04
|
| 30-Jul-2017 |
Lisandro Dalcin <dalcinl@gmail.com> |
TS: Fix handling of step counter
* Proper support for successive calls to TSSolve() * Reset various counters only if ts->steps is zero (first step) * Merge ts->steps with ts->total_steps, remove the
TS: Fix handling of step counter
* Proper support for successive calls to TSSolve() * Reset various counters only if ts->steps is zero (first step) * Merge ts->steps with ts->total_steps, remove the second * Add ts->adjoint_steps to track steps in adjoint solve
show more ...
|
| #
80275a0a
|
| 28-Jul-2017 |
Lisandro Dalcin <dalcinl@gmail.com> |
TS: Add TSGetStepNumber() and TSSetStepNumber()
* Remove TSGetTotalSteps() * Remove TSGetTimeStepNumber()
|
| #
618ce8ba
|
| 27-Jul-2017 |
Lisandro Dalcin <dalcinl@gmail.com> |
TS: Add TS{Set|Get}MaxSteps() and TS{Set|Get}MaxTime()
|
| #
f17f0f60
|
| 26-Jul-2017 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/barry/fix-dead-variables'
|
| #
7f79407e
|
| 26-Jul-2017 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix many dead assignments, mostly due to missing CHKERRQ(ierr);
Commit-type: style-fix Reported-by: clang static analyzer
|
| #
0b9df78e
|
| 24-Jul-2017 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/hongzh/ts-direct-sa'
|
| #
afe7b317
|
| 06-Jul-2017 |
Hong Zhang <hongzhang@anl.gov> |
Fix memory leak for duplicate setup calls
TSSetCostIntegrand() creates new vecs. If called multiple times, there would be memory leak.
|
| #
022c081a
|
| 26-Jun-2017 |
Hong Zhang <hongzhang@anl.gov> |
Refactor forward SA
Renamed a TS public function (TSAdjointComputeCostIntegrand->TSComputeCostIntegrand); implementations have been simplifed.
|
| #
6f92202b
|
| 26-Jan-2016 |
Hong Zhang <hongzhang@anl.gov> |
Roll back forward sensitivities in TSRollBack
Without this fix, the forward sensitivity (FS) analysis may generate wrong results when a step is rolled back due to TSEvent. Note that we use one rollb
Roll back forward sensitivities in TSRollBack
Without this fix, the forward sensitivity (FS) analysis may generate wrong results when a step is rolled back due to TSEvent. Note that we use one rollback function for both TS and TSForward.
show more ...
|
| #
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 ...
|
| #
abc0d4ab
|
| 02-Jul-2017 |
Barry Smith <bsmith@mcs.anl.gov> |
Jacobians for adjoints for explicit methods and constant Jacobians never got initialized
Since this is the copy of the Jacobian used in the explicit methods it must be initialized with the Jacobian
Jacobians for adjoints for explicit methods and constant Jacobians never got initialized
Since this is the copy of the Jacobian used in the explicit methods it must be initialized with the Jacobian values since the values are never reset for the constant Jacobian case.
We really need to refactor the management of the Jacobians, it is overly convoluted with many corner cases and likely still buggy
Commit-type: bug-fix Funded-by: IMEX Project: adjoints Time: 8 hours Reported-by: Oana Marin <oanam@mcs.anl.gov> Development Tools: Emacs
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 ...
|