Changed VecScatterCreate() to take a communicator and return scatter as other first class PETSc objects do.Changed old VecScatterCreate() to VecScatterCreateWithData()Completed basic refactorizati
Changed VecScatterCreate() to take a communicator and return scatter as other first class PETSc objects do.Changed old VecScatterCreate() to VecScatterCreateWithData()Completed basic refactorization of VecScatter code, ready for new implementations to be added.(There is still some code duplication between the VecScatter MPI1 and MPI3 code but it can be fixed at anytime without requiring changes to the VecScatter API.Part 5 of a refactorization of VecScatter to be treated as a first class PETSc objectCommit-type: style-fix
show more ...
SNESVI: Reset KSP from options
SNES: Fix 'extern' declarations
Make DMHasCreateInjection overrideable by subclassesDefault to PETSC_FALSE. It's only provided by Plex, Pforest, and DAin (if using DMDA_Q1 as interpolation type).
VIRS: wipe out getinjectionA subspace DMCreateInjection_SNESVI needs to be written.
change MatSolverType to be a const char* typedef to match other XXTypeCommit-type: style-fixReported-by: Franck Houssen <franck.houssen@inria.fr>
Fix name MatSolverPackage since it is better to be consistent and use the terminology Type.Commit-type: style-fix, documentation
Merge branch 'barry/all-new-test-harness-branches'
Fixed formatting problem in SNESVINEWTONRSLS manual page.Commit-type: documentation
Convert tutorials directory over to new test harnessCommit-type: testing-fix
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
rename MatGetSubMat -> MatCreateSubMat
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>
PCMGSetGalerkin() and -pc_mg_galerkin now take PC_MG_GALERKIN_BOTH,PC_MG_GALERKIN_PMAT,PC_MG_GALERKIN_MAT, PC_MG_GALERKIN_NONE as arguments instead of PetscBoolThis allows computing either mat, or
PCMGSetGalerkin() and -pc_mg_galerkin now take PC_MG_GALERKIN_BOTH,PC_MG_GALERKIN_PMAT,PC_MG_GALERKIN_MAT, PC_MG_GALERKIN_NONE as arguments instead of PetscBoolThis allows computing either mat, or pmat or both via the Galerkin processTime: 16 hoursReported-by: domenico lahaye <domenico_lahaye@yahoo.com>Thanks-to: Lawrence Mitchell <lawrence.mitchell@imperial.ac.uk>
Print warning about using debugging code THREE times in PetscLogView_Default() output so won't be missedIssue #138 Now if Jed and Satish would only let me write it in redReported-by: Patrick Sana
Print warning about using debugging code THREE times in PetscLogView_Default() output so won't be missedIssue #138 Now if Jed and Satish would only let me write it in redReported-by: Patrick Sanan <patrick.sanan@gmail.com>Fix incorrect function name in manual pagesAdd ex9.c to makefile so that .html version gets generated
SNES: Add flag indicating if final residual is always computedAlthough SNESSolve_XXX always updates the solution variable, it may notbe the case that the residual in vec_func is the residual at th
SNES: Add flag indicating if final residual is always computedAlthough SNESSolve_XXX always updates the solution variable, it may notbe the case that the residual in vec_func is the residual at the newsolution. Track this behaviour explicitly for all concreteimplementations. We will use this in SNESSolve_FAS to determine if theresidual must be computed before transferring it between levels.
Updated script for detecting visible symbolsRemoved unneeded visibility of some symbolsFixed some namespacingRemoved the use of unneeded implementation includes in the TAO code
Merge branch 'pr401/tferma/virs-pcfieldsplit-fix/master'
When SNES VI fails with a divered linear solve destroy all the objects before breaking from the iteration loop.
A fix for fieldsplit pcs when using snes virs.When reset pc fieldsplit saves a copy of the original IS. SNES VIRS then calls a new function, PCFieldSplitRestrictIS, and suppliesthe inactive set t
A fix for fieldsplit pcs when using snes virs.When reset pc fieldsplit saves a copy of the original IS. SNES VIRS then calls a new function, PCFieldSplitRestrictIS, and suppliesthe inactive set to create new ISs for the fieldsplit. This is then reindexed and passed down to any nested fieldsplits.
fixed up formatting of references in manualpages to consistent styleReferences:+ 1. - ref1. 2. - ref2- 3. - ref3previously the formatting was varied and ugly
Have SNESVIGetInactiveSet return the *actual* current inactive set.Previously it returned the previous inactive set.
Infrastructure that allows failures in PCSetUp(), PCApply(), MatMult() etc due to, for example a zero pivot or function evaluation outside its domain, to propagate up and become a KSP_DIVERGED inste
Infrastructure that allows failures in PCSetUp(), PCApply(), MatMult() etc due to, for example a zero pivot or function evaluation outside its domain, to propagate up and become a KSP_DIVERGED instead of generating an error that stops the program. In response to Issue 96. This includes failures in MatCreateSNESMF() applications due to domain errors. The mechanism to propagate some errors is by setting Info or Nan into the output vector and using the norm or inner product reductions in SNES or KSP to propagate the error condition to all processes and then handling them immediately after the norm or inner product.This allows, for example, ODE integrators to try again with a smaller time-step if the PCSetUp failed instead of requiring a complete restart of the run with other options.Currently some error conditions, such as function domain error in a line search may not get progated up using the correct SNESConvergedReasonSee src/snes/examples/tests/ex69.c for the handling of several conditions
updated PETSc directory layout to match standard packaging strategiesinclude/petsc finclude,private,mpiunilib/petsc confbin/petsc*
Fix obviously-wrong aspects of documentation on SNESVINEWTONRSLS and SNESVINEWTONSSLS.
1234567