TS: add support for transient variables in BDFThis feature enables conservative time integration even when usingnonconservative state variables. The formulation, which requires onlythe definitio
TS: add support for transient variables in BDFThis feature enables conservative time integration even when usingnonconservative state variables. The formulation, which requires onlythe definition of transient (conservative) variables C(U) as afunction of the state variable U, is appropriate for linear multistepmethods for ODE and DAE.This technique could be extended to Runge-Kutta methods by creating anindex-1 DAE by augmentation with the equation C = C(U). The stageequations in diagonally implicit methods generally ask to solve for Y: F(Y, alpha Y + Z) = 0where Y = [C, U] and Z is known from prior stages. With the augmentedequation, this decouples to C - C(U) = 0 f(U, alpha C + C_z) = 0This commit includes an example demonstrating loss of conservation inchain rule primitive-variable IFunction, while preserving it forpure-conservative variables and the transient variable formulation.Resolves #547Requested-by: Gautam Bisht <gautam.bisht@pnnl.gov>Thanks-to: Hong Zhang <hongzhang@anl.gov>
show more ...
ESSL: reorganize code that handles PETSC_MISSING_LAPACK by using PetscMissingLapack()And sync the missing function list with missing functions in current ESSLIf we find more LAPACK symbols missin
ESSL: reorganize code that handles PETSC_MISSING_LAPACK by using PetscMissingLapack()And sync the missing function list with missing functions in current ESSLIf we find more LAPACK symbols missing in commonly used LAPACK impls,we can add them back in the new format.src/ksp/pc/impls/bddc/bddcprivate.c has alternate code forPETSC_MISSING_LAPACK_GESVD. This code is retained for now [in case weneed to add this flag back in]
Merge remote-tracking branch 'origin/maint'
fix memory leak in TSInterpolate_Sundials
Remove usage of PETSC_HAVE_FORTRAN_STDCALL, PETSC_BLASLAPACK_STDCALL, HAVE_FORTRAN_MIXED_STR_ARG flags - as Compaq f90 compiler is no longer supported
Fix more typos and add missing examples
added petsc maxord option
Merge remote-tracking branch 'origin/dalcinl/test-ts'Minor fix for TSStep and tests for TSRK typesSee merge request petsc/petsc!2462
TSRK: Add TSRKGetOrder()
TSRK: add tableau getter
TSRK: remove dead declaration
TSARKIMEX: add getter for fully implicit flagUpdate test outputs
TSAlpha: fix spelling "Algoritmic" -> "Algorithmic"
Double CHKERRQ
Recompute shift and stage time if the step is rejected Funded-by: Project: Time: Reported-by: Stefano Zampini Thanks-to:
Clean up the use of shiftThis commit is intended to improve the code readability.- Remove unnecessary changes to the shift field- Make it more obvious that a TLM step does not alter the shift fi
Clean up the use of shiftThis commit is intended to improve the code readability.- Remove unnecessary changes to the shift field- Make it more obvious that a TLM step does not alter the shift field when exit- Use local variables as much as possible
Merge branch 'knepley/fix-ts-theta-snes-eval' into 'master'TS: SNESTSFormFunction/Jacobian_Theta() needs to recalculate the shiftSee merge request petsc/petsc!2170
Replace use of 1 with appropriate error code; use PetscObjecComm() instead of PETSC_COMM_SELF for errors when appropriateCommit-type: error-checking, testing-fix, style-fix, examples
TS: SNESTSFormFunction/Jacobian_Theta() needs the shift to be set
Double semicolons
Make the adjoint info more informative Funded-by: Project: FASTMath adjoint Time: 0.5 hours Reported-by: Thanks-to:
Knepley/is separate section
Use the new API instead of a private function in adjoint RK Funded-by: Project: FASTMath adjoint Time: 0.5 hours Reported-by: Thanks-to: Barry Smith <bsmith@mcs.anl.gov>
1...<<11121314151617181920>>...54