Man pages: add newlines after "Notes:"This allows for proper formatting from sowing.On OS X (using gsed, not the default BSD sed), from the PETSc root directory: find src include -type f \(
Man pages: add newlines after "Notes:"This allows for proper formatting from sowing.On OS X (using gsed, not the default BSD sed), from the PETSc root directory: find src include -type f \( -name "*.c" -or -name "*.h" -or -name "*.cxx" \) | xargs gsed -i 's/Notes\s*:\s*\(\w.*\)/Notes:\n \1/'This adds a newline and 4 spaces whenever "Notes:" is followed by any "word" character, in any .c, .h, or .cxx file in src/ or include/
show more ...
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
Minor cleanup, remove some outdated code, remove unneeded constructs, improve manual pages slightly, add missing test caseTime: 2.5 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>
Updated and simplified Fortran interfaceReduced from 4 distinct approaches to using PETSc from Fortran to 1No more .h90 files (Fortran 90 functionality is now always available)Parameters and func
Updated and simplified Fortran interfaceReduced from 4 distinct approaches to using PETSc from Fortran to 1No more .h90 files (Fortran 90 functionality is now always available)Parameters and function prototypes are now provide through Fortran modules, not includes;only #define are provided in the petscXXXdef.h filesPETSc objects can be declared as either type(tXXX) or XXX. For example type(tVec) or VecMoved now private Fortran include files out of public include directory since uses don't use them;they are only used to generate the Fortran modulesEasier to support and test; we can now easily add more function prototypesAlso had to rework generation of manual pages to consistently use MANSEC and SUBMANSECsince these variables also handle how the Fortran modules are generated.Time: 57 hours
Merge branch 'maint'
Some Fortran stubs that returned strings could produce garbageSome Fortran stubs that returned strings did not properly use FIXRETURNCHAR() to blank out the end of the Fortran string. Thus the Fort
Some Fortran stubs that returned strings could produce garbageSome Fortran stubs that returned strings did not properly use FIXRETURNCHAR() to blank out the end of the Fortran string. Thus the Fortran string would contain "garbage".Time: .2 hoursReported-by: Mark Filipiak <m.filipiak@epcc.ed.ac.uk>
PCShell: man page fixes
Merge branch 'stefano_zampini/fix-chebyshev-rhslocked'
Added PCPreSolveChangeRHS as suggested by Barry.the method is declared as intern in kspimpl.h to not introduce a new APIImplemented as a composable function to not change pcimpl.h
removed a bunch of unneeded inclusions of xxximpl.h which exposed private data where it did not have to be exposedalso made more systematic the inclusion of the base xxximpl.h in the derived yyyimp
removed a bunch of unneeded inclusions of xxximpl.h which exposed private data where it did not have to be exposedalso made more systematic the inclusion of the base xxximpl.h in the derived yyyimpl.hso the inclusion is done in the include file rather than in each source code that includes it
Add support for symmetric preconditioning with GMRES and PCSHELLContributed-by: Sylvain Mercier <sylvainmercier85@gmail.com>
removed extra PetscObjectStateIncrease() that was always called
Update the output vector state in PC and Mat shell routines when the user forgot to update them in their provided codeSuggested-by: Václav Hapla <vaclav.hapla@vsb.cz>
update manual pages for context set and get routines regarding use from Fortran and defining interface for them
Fix incorrect indices in PCShell Fortran wrappers.Some indices overlapped, and in some cases, the size of the allocatedfunction point array was too small.
updated PETSc directory layout to match standard packaging strategiesinclude/petsc finclude,private,mpiunilib/petsc confbin/petsc*
manual merge of conflict
Merge branch 'pcshell-fortran-wrappers'Conflicts: src/ksp/pc/impls/shell/ftn-custom/zshellpcf.c
Updated Vince's old Euler solver to work with the latest PETSc.
Add Fortran wrapper for View in PC Shell.
Add Fortran wrapper for ApplyBA in PC Shell.
Add Fortran wrappers for Pre/PostSolve in PC Shell.
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,@'
12345678