Tests: cast PetscInt in case of 64 bits
This requires some changes to user FORTRAN codePass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an arrayPass PETSC_NULL_ENUM when argument returns an enum instead of
This requires some changes to user FORTRAN codePass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an arrayPass PETSC_NULL_ENUM when argument returns an enum instead of PETSC_NULL_INTEGERPass arrays (and not scalar values) when the argument is expecting an array; this means replace, for example, the argument v with [v]Use PetscObjectIsNull(obj) to check if the object is NULL, instead of obj == PETSC_NULL_XXXThe compiler will now automatically prevent you from using the wrong argument type for the first three bullets aboveThis will also require an update sowing with the new sowing branch this MR is using.
show more ...
Document that PetscViewerGetSubViewer() is collective on the outer viewer and fix bugs.Reported-by: Pierre Jolivet
Merge remote-tracking branch 'origin/release'
Fix bug when using DM_BOUNDARY_MIRROR with DMDA in 3d with local to global mapping.Also add error checking that mirrored value local in 2d and 3dReported-by: Gourav Kumbhojkar <gourav.kumbhojkar@
Fix bug when using DM_BOUNDARY_MIRROR with DMDA in 3d with local to global mapping.Also add error checking that mirrored value local in 2d and 3dReported-by: Gourav Kumbhojkar <gourav.kumbhojkar@gmail.com>
Vec: add missing collective checks for scalarsfix tests
Fix "Extra spaces in test harness rules" in checkbadSource
Minor fixes to website material
Remove MANSEC from makefiles it is not needed in, tutorials and tests
Fix bugs in handling PetscViewerGetSubViewer() and tabing in ASCII viewersReported-by: Pierre Jolivet
Spell matlab correctly as MATLABCommit-type: housekeeping
Remove first and last empty lines
Remove some unneeded whitespaces
Add convenience functions VecCreateFromOptions() and MatCreateFromOptions() to reduce the use of specialize creation routines in the examples and thus make it easier for people to use GPU based solve
Add convenience functions VecCreateFromOptions() and MatCreateFromOptions() to reduce the use of specialize creation routines in the examples and thus make it easier for people to use GPU based solvers
Remove uneeded blanks in test-harness rules since some reviewers fix them in GitLab
Add PetscCheck() and PetscCheckA() for FortranAlso fix incorrect use of " in Fortran examples that should be '
Fix PetscCallMPI(MPI_Allreduce()) with PETSc types
Remove need for seperate lib/petsc/conf/test file by merging with rules fileCommit-type: maintainability
Remove unneeded declarations of LOCDIR from all the makefilesCommit-type:documentation
Fix Typos
Make PetscErrorCode a non-discardable enum
ISLocalToGlobalMappingView: change output to clarify ranges for bs>1
Add VecCheckAssembled() and attempt to check for illegal usage of unassembled vectorsCommit-type: error-checking/spend 25mReported-by: <ksi2443@gmail.com>
12345