Make ASCII PC/KSP/SNES/TSView() code and output in a standard styleThe 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 styleThe 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 line3) 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, featureTime: 16 hours
show more ...
TSAdapt: Refactor handling of default adapt type* Let TS subtypes state its preference for adaptivity* Methods without embedded error estimators prefer TSADAPTNONE* If not set, use TS_EXACTFINALT
TSAdapt: Refactor handling of default adapt type* Let TS subtypes state its preference for adaptivity* Methods without embedded error estimators prefer TSADAPTNONE* If not set, use TS_EXACTFINALTIME_MATCHSTEP when using adaptivity* Remove command line option -ts_theta_adapt* Use `-ts_adapt_type basic` to turn on adaptivity in TSTHETA* Remove command line option -ts_alpha_adapt* Remove routine TSAlphaUseAdapt() and TSAlpha2UseAdapt()* Use `-ts_adapt_type basic` to turn on adaptivity in TSALPHA/TSALPHA2
Remove the use and definition of __FUNCT__ throughout the codeSince all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETScTime: 1.5 hoursThanks-t
Remove the use and definition of __FUNCT__ throughout the codeSince all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETScTime: 1.5 hoursThanks-to: Andreas Mang <andreas@ices.utexas.edu>
Merge branch 'emil/ts-glee'
minor fixes to manual pages due to bad formatting; a few Tao routines that can use const for arrays
extended the TS weighted error norm to compute the norms relative to absolute and relative tolerances separatelly
TSEIMEX: doc fix
TS: Refactor TSStep() and TSRollBack()* TSStep() handles the step counter increment, and not TSStep_XXX().* TSRollBack() handles the step counter decrement.* Removed ``time_step_prev`` from the T
TS: Refactor TSStep() and TSRollBack()* TSStep() handles the step counter increment, and not TSStep_XXX().* TSRollBack() handles the step counter decrement.* Removed ``time_step_prev`` from the TS structure. New code should use ts->ptime - ts->ptime_prev to determine the previous time step size.* Removed unused ``time_step_orig`` from the TS structure.* Removed unused ``time_step_since_decrease`` from the TS structure.* Minor update bouncing ball test examples.* Regenerate some test examples output.
Begin renaming the PetscOptions objects for the future where PetscOptions will not be a singleton
Merge branch 'master' into pr263/PierreBdR/ts-domain-error-in-stage/master
Simplified arguments of the main function call.Before only the user interface had been made simpler.
TS: Remove call to SNESSetFromOptions() in subtypes
fixed missing CHKERRQ() detected by clang's --analyze
updated PETSc directory layout to match standard packaging strategiesinclude/petsc finclude,private,mpiunilib/petsc confbin/petsc*
Added domain error checks at each stageThis patch adds two functions:1 - TSSetFunctionDomainError2 - TSFunctionDomainErrorThe first one to set a user function, the second one to call it.It als
Added domain error checks at each stageThis patch adds two functions:1 - TSSetFunctionDomainError2 - TSFunctionDomainErrorThe first one to set a user function, the second one to call it.It also adds the calls to TSFunctionDomainError in all implementations calling TSPostStage.
TSErrorWeightedNorm[2|Infinity]: API changes* Accept two arguments U,Y instead of always using ts->vec_sol* Accept argument wnormtype intead of use ts->adapt->wnormtype
Merge branch 'master' into shri/ts-is-for-differential-variablesConflicts: include/petsc-private/tsimpl.h src/ts/impls/eimex/eimex.c src/ts/interface/ts.c
simplify option object names
moved PetscOptionsObject from global variable to local variable in functions
manual merge of conflict
-ksp_richardson_scale was ignored when PCApplyRichardson() was usedFix: turn off PCApplyRichardson() when scale is not 1 and print PetscInfo warningReported-by: Mark Adams <mfadams@lbl.gov>Fixed
-ksp_richardson_scale was ignored when PCApplyRichardson() was usedFix: turn off PCApplyRichardson() when scale is not 1 and print PetscInfo warningReported-by: Mark Adams <mfadams@lbl.gov>Fixed missing carriage return in uses of PetscInfo() and missing ierr CHKERRQ() usage
cleanup of use of PetscOptionsInt and friends including use of flag final argument
the compute Jacobian functions for SNES and TS now do not take a MatStructure flag
completed cleanup of removal of matrix pointers to compute jacobian routinesupdate changes filefixed tao examples to no longer use Mat* arguments for Jacobian/Hessian etc computations
Sys: drop explicit type arguments from PetscNew() and PetscNewLog()git grep -l 'PetscNew\(Log\)\?(' -- $1 | xargs perl -pi -e 's@PetscNew\([^,;()]+ *, *@PetscNew(@;s@PetscNewLog\(([^,;()]+) *,[^,
Sys: drop explicit type arguments from PetscNew() and PetscNewLog()git grep -l 'PetscNew\(Log\)\?(' -- $1 | xargs perl -pi -e 's@PetscNew\([^,;()]+ *, *@PetscNew(@;s@PetscNewLog\(([^,;()]+) *,[^,;()]+, *@PetscNewLog($1,@'
1234