History log of /petsc/src/snes/interface/snes.c (Results 151 – 175 of 2059)
Revision Date Author Comments
# e6053022 02-Dec-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-11-21/fix-thread-safety-petscoptionsgetviewer' into 'main'

Fix PetscOptionsGetViewer() so it works in a thread-safe way

See merge request petsc/petsc!7047


# cd791dc2 21-Nov-2023 Barry Smith <bsmith@mcs.anl.gov>

Fix PetscOptionsGetViewer() so it works in a thread-safe way

When PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is shared
by all threads that call PetscOptio

Fix PetscOptionsGetViewer() so it works in a thread-safe way

When PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is shared
by all threads that call PetscOptionsGetViewer(). In the previous code PetscObjectReference() and
dereference (via PetscViewerDestroy() where called on the viewer by multiple threads after the viewer
was accessed thus corrupting the object.

This branch introduces a PetscOptionsRestoreViewer() that allows not doing the referencing and dereferencing
on persistant viewers, thus removing the specific race condition above.

Other possible solutions include

Use a lock on each PetscObjectReference/Dereference() just in case they are shared. Could be time consuming so one
could mark each object as either threadshared or independent and only do the locks on threadshared objects. This lowers
the cost but would require more extensive changes to PETSc infrastructure. And I do not know if this shared/not shared model
is what we need in the long run, though it might be.

show more ...


# 1bd63e3e 30-Nov-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 50935e0a 30-Nov-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-11-22/fix-some-manualpages/release' into 'release'

Improve SNES manual pages

See merge request petsc/petsc!7049


# 420bcc1b 23-Nov-2023 Barry Smith <bsmith@mcs.anl.gov>

Fix some manual pages focusing on SNES


# 345114b4 09-Nov-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 43de91f2 07-Nov-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-11-05/housekeep-some-manualpages/release' into 'release'

Some manual page housekeeping

See merge request petsc/petsc!6998


# 8847d985 05-Nov-2023 Barry Smith <bsmith@mcs.anl.gov>

Fixes for use of Calling Sequence of ... in the manual page


# 2bb3e1ad 25-Aug-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-ubsan' into 'main'

Lazy fixing of UBSan

See merge request petsc/petsc!6836


# 5c0db29a 24-Aug-2023 Pierre Jolivet <pierre@joliv.et>

Minor fixes


# 28d6ac1d 24-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-07-17/linter-fixes-snes' into 'main'

Manual Linter fixes: SNES

See merge request petsc/petsc!6719


# 222ba94b 24-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-07-18/fix-snes-error-handling-slightly' into 'main'

SNES error handling fixes

See merge request petsc/petsc!6732


# 43661681 24-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-07-17/used-petsc-static-array-lenght' into 'main'

Fix the places that should be using PETSC_STATIC_ARRAY_LENGTH

See merge request petsc/petsc!6724


# ceaaa498 17-Jul-2023 Barry Smith <bsmith@mcs.anl.gov>

Manual linter fixes: snes


# 400f6f02 18-Jul-2023 Barry Smith <bsmith@mcs.anl.gov>

Fix the places that should be using PETSC_STATIC_ARRAY_LENGTH


# 186cd71f 24-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-07-19/lint-apply-ts' into 'main'

Manual linter fixes: ts

See merge request petsc/petsc!6736


# 42747ad1 21-Jul-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

... and apply it


# cfd92c66 22-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'tisaac/feature-type-generic-petsc-valid-pointer' into 'main'

Implement a type generic PetscValidPointer

See merge request petsc/petsc!6693


# 4f572ea9 18-Jul-2023 Toby Isaac <toby.isaac@gmail.com>

Rename PetscValidPointer -> PetscAssertPointer


# 7a2f837d 06-Jul-2023 Toby Isaac <toby.isaac@gmail.com>

Deploy new PetscValidPointer, remove PetscValidXXXPointer


# 5f3c5e7a 18-Jul-2023 Barry Smith <bsmith@mcs.anl.gov>

SNES error handling fixes

Added missing error checking in SNES for inf and nan norms

Add missing handling for if (snes->errorifnotconverged)


# e6ea2180 18-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-07-17/fix-matrix-free' into 'main'

matrix free in docs and comments should be matrix-free

See merge request petsc/petsc!6725


# 01c1178e 18-Jul-2023 Barry Smith <bsmith@mcs.anl.gov>

matrix free in docs and comments should be matrix-free


# 02477ebb 15-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-06-30/enable-doc-lint' into 'main'

Enable docs linting

See merge request petsc/petsc!6667


# 0b4db180 12-Jul-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Manual linter fixes: snes


12345678910>>...83