rename PetscAssert() -> PetscCheck() and PetscAssertDebug() -> PetscAssert()
add PetscAssert() and PetscAssertFalse()
make PetscInfo() variadic
SETERRQ[1-9]+ begone
Update badsource rules- Zero or more spaces are not allowed for more returning types- zero spaces not allowed for for|if|while
TSAdapt: no need to keep a working vector in the structjust use DM accessors.Not sure if we can move the glee->Y stuff up to the TSGLEE method.
Allow user to control the number of timesteps before an increase in timestep is allowed after failed solveThe default use to be hardwired at 4, now the default is 0 but under user controlCommit-t
Allow user to control the number of timesteps before an increase in timestep is allowed after failed solveThe default use to be hardwired at 4, now the default is 0 but under user controlCommit-type: featureReported-by: Sophie Blondel <sblondel@utk.edu>
show more ...
Fix typos and whitespaces already fixed in stefano_zampini/feature-continuousadjoint
Merge remote-tracking branch 'origin/barry/update-petscfileretrieve'
TSAdapt: Refactor interface and implementations* Move the handling of step limits, clipping factors, and safety factors to the base TSAdapt type to simplify implementation of subtypes.* Add TSAd
TSAdapt: Refactor interface and implementations* Move the handling of step limits, clipping factors, and safety factors to the base TSAdapt type to simplify implementation of subtypes.* Add TSAdapt{Set|Get}Clip() and remove TSAdaptBasic{Set|Get}Clip().* Add TSAdapt{Set|Get}Safety() to set safety factors.* Add TSAdaptGetStepLimits().
Merge branch 'dalcinl/fix-bdf-adapt' into barry/update-petscfileretrieve
Allow timestep to be cut by adaptor after it is cut by failed solve;Commit-type: bug-fixFunded-by: IMEXProject: chemistryThanks-to: Emil Constantinescu <emconsta@mcs.anl.gov>
TSAdapt: Refactor handling of the always_accept flag* Add TSAdaptSetAlwaysAccept()* Store the always_accept flag in the base TSAdapt type* Fix/refactor bad printf args in TSAdaptView()* Fix TSAd
TSAdapt: Refactor handling of the always_accept flag* Add TSAdaptSetAlwaysAccept()* Store the always_accept flag in the base TSAdapt type* Fix/refactor bad printf args in TSAdaptView()* Fix TSAdaptSetFromOptions() to use TSAdaptSetXXX()
Very crude TSAdaptBasic change to prevent it from decreasing time-step immediately after it has increased itStill not completely satisfactory behavior for tchem behavior on gasoline model from Open
Very crude TSAdaptBasic change to prevent it from decreasing time-step immediately after it has increased itStill not completely satisfactory behavior for tchem behavior on gasoline model from OpenFoamTSAdapt monitor now always shows SNES failure reasonCommit-type: featureFunded-by: IMEXProject: ChemistryTime: 4 hours
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>
Extended the parameter list for the TS error norms to return the norms with respect to atol and rtol
extended the TS weighted error norm to compute the norms relative to absolute and relative tolerances separatelly
TSAdapt: Improve error checking
TSAdapt: Add TSAdaptBasic{Set|Get}Clip()
TSAdapt: Rework implementation* Simplify handling of TSAdapt in TSALPHA* Remove broken adaptivity in TSTHETA and use the same backward difference aproach from TSALPHA* Update TSEULER to use TSA
TSAdapt: Rework implementation* Simplify handling of TSAdapt in TSALPHA* Remove broken adaptivity in TSTHETA and use the same backward difference aproach from TSALPHA* Update TSEULER to use TSAdapt (TODO: rejections and adaptivity)* Update TSSSP to use TSAdapt (TODO: rejections and adaptivity)
TSAdapt: Add and alternative API for weighted LTE evaluationLTE evaluation based on TSEvaluateStep() makes sense as long as themethod contains a lower/higher-order embedded scheme. However, for so
TSAdapt: Add and alternative API for weighted LTE evaluationLTE evaluation based on TSEvaluateStep() makes sense as long as themethod contains a lower/higher-order embedded scheme. However, for someother methods (e.g. BDF schemes), LTE evaluation is kind of more direct(based on history rather than difference of two solutions with differentorder). I'm adding an alternative API for TSAdapt to ask the TS subtypefor the weighted LTE. For now, this API is not exposed to users, howeverit would make sense to do so, as TSEvaluateWLTE() would be useful formonitoring error when running with fixed time step size.
Begin renaming the PetscOptions objects for the future where PetscOptions will not be a singleton
on solaris in TSAdaptChoose_Basic() negative root for zero could produce -infinity thuscausing time step to be decreased even though the error estimate was zero
fix: ex40,ex41 errors in src/ts/examples/tutorials/ on bsd with c++/complexPerhaps this code nees a separate section when 'enorm == 0) - as pow(0,-0.33) = inf.
updated PETSc directory layout to match standard packaging strategiesinclude/petsc finclude,private,mpiunilib/petsc confbin/petsc*
123