History log of /petsc/src/snes/interface/snes.c (Results 101 – 125 of 2059)
Revision Date Author Comments
# 648c30bc 08-Jul-2024 Barry Smith <bsmith@mcs.anl.gov>

The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model

Hence the code needs to be refactored

Introduce PetscCallNull() and PetscCallMPINull() to simplify PETSC_VI

The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model

Hence the code needs to be refactored

Introduce PetscCallNull() and PetscCallMPINull() to simplify PETSC_VIEWER_XXXX_() routines

Reported-by: James Wright
Thanks-to: Jeremy L Thompson

show more ...


# bac74541 03-Jul-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-06-30/doc-vecsetinf' into 'main'

Refactor VecSetInf() into VecFlag() and deprecate VecSetInf()

See merge request petsc/petsc!7661


# f480ea8a 03-Jul-2024 Barry Smith <bsmith@mcs.anl.gov>

Refactor VecSetInf() into VecFlag() and deprecate VecSetInf()

Reported-by: Stefano Zampini


# fcbdf297 26-Jun-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-06-20/fix-options-left-xxx-converged-reason/release' into 'main'

-ksp_converged_reason can result in a unused option report if KSPSolve ends up not being called.

See merge

Merge branch 'barry/2024-06-20/fix-options-left-xxx-converged-reason/release' into 'main'

-ksp_converged_reason can result in a unused option report if KSPSolve ends up not being called.

See merge request petsc/petsc!7640

show more ...


# 36d43d94 20-Jun-2024 Barry Smith <bsmith@mcs.anl.gov>

-ksp_converged_reason can result in a unused option report if KSPSolve ends up not being called.

Thus bug fix moves the options database check to KSPSetFromOptions.

Also done for SNES

Reported-by:

-ksp_converged_reason can result in a unused option report if KSPSolve ends up not being called.

Thus bug fix moves the options database check to KSPSetFromOptions.

Also done for SNES

Reported-by: Alex Lindsay:

show more ...


# 14e7b07e 21-Jun-2024 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# fa1d25a6 18-Jun-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/snes-release' into 'release'

petsc4py missing API and minor SNES optimizations

See merge request petsc/petsc!7626


# e5cd489f 10-Jun-2024 Stefano Zampini <stefano.zampini@gmail.com>

SNES: expose Divergence tolerance API to petsc4py

align C API to the PETSc convention when using PETSC_DEFAULT


# a623e290 12-Jun-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-05-29/minor-fortran-stub-cleanup' into 'main'

More improvements to Fortran stubs and interfaces

See merge request petsc/petsc!7598


# 377f809a 07-Jun-2024 Barry Smith <bsmith@mcs.anl.gov>

All constructors should do PetscAssertPointer on output object

Reported-by: Blaise Bourdin

Constructors should not initialize the output to NULL upon entry, serves no purpose

Fix some formatting i

All constructors should do PetscAssertPointer on output object

Reported-by: Blaise Bourdin

Constructors should not initialize the output to NULL upon entry, serves no purpose

Fix some formatting in constructors

show more ...


# b60afdd0 10-Jun-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/unify-update' into 'main'

SNES and TAO update: clarify usage

See merge request petsc/petsc!7616


# 53e5d35b 05-Jun-2024 Stefano Zampini <stefano.zampini@gmail.com>

SNES: clarify update usage

fix TR and missing call in SNESPYTHON


# 43b137ca 06-Jun-2024 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# fb773b58 04-Jun-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/fix-dirk-dae-restart' into 'release'

Guarantee that SNES function is called before SNES jacobian in multilevel solvers

See merge request petsc/petsc!7563


# a4987ed7 29-May-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-05-17/fix-sowing-object-destroy' into 'main'

Sowing bfort generation of XXXDestroy

See merge request petsc/petsc!7559


# 0764c050 18-May-2024 Barry Smith <bsmith@mcs.anl.gov>

Update sowing bfort for automatic generation of XXXDestroy() code

Fix some Fortran stub code to work with generation of XXXDestroy()

Add some runtime tests for XXXCreate() calls

Also update sowing

Update sowing bfort for automatic generation of XXXDestroy() code

Fix some Fortran stub code to work with generation of XXXDestroy()

Add some runtime tests for XXXCreate() calls

Also update sowing and fortranimpl.h to use PETSC_NULLPTR instead of NULL

show more ...


# 309d62e6 22-May-2024 Stefano Zampini <stefano.zampini@gmail.com>

KSPComputeOperators_SNES: raise error if SNESVecSol is missin


# 97d931d1 20-May-2024 Stefano Zampini <stefano.zampini@gmail.com>

KSPComputeOperators_SNES: adhere to the SNES contract in multilevel solvers

The assumption everywhere in PETSc is that SNESComputeFunction
is always called before SNESComputeJacobian
This is particu

KSPComputeOperators_SNES: adhere to the SNES contract in multilevel solvers

The assumption everywhere in PETSc is that SNESComputeFunction
is always called before SNESComputeJacobian
This is particularly important for TS, where all callbacks have special treatment
for multilevel solvers.

show more ...


# cef0416b 15-May-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-04-26/fix-sowing-viewers' into 'main'

Remove manual Fortran stubs for PetscViewer and PetscObject arguments since now handled by sowing

See merge request petsc/petsc!7511


# ffeef943 28-Apr-2024 Barry Smith <bsmith@mcs.anl.gov>

Update to sowing version that supports PetscViewer and PetscObject

Remove manual Fortran stubs for PetscViewer and PetscObject arguments since now handled by sowing

Also handles the passing of null

Update to sowing version that supports PetscViewer and PetscObject

Remove manual Fortran stubs for PetscViewer and PetscObject arguments since now handled by sowing

Also handles the passing of null objects correctly

show more ...


# 1ed6e3ff 25-Apr-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-04-13/fix-sowing-strings' into 'main'

Update PETSc to use sowing bfort that handles string arguments and PETSC_NULL_INT

See merge request petsc/petsc!7480


# cc4c1da9 14-Apr-2024 Barry Smith <bsmith@mcs.anl.gov>

Update source code removing all unneeded /*@C and associated manual stubs and interfaces


# d57530f4 22-Apr-2024 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 4738586d 19-Apr-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-04-11/fix-converged-reason-indentation/release' into 'release'

Align KSP and SNES converged reason output with iteration count output

See merge request petsc/petsc!7462


# 65bf60d2 12-Apr-2024 Barry Smith <bsmith@mcs.anl.gov>

Align KSP and SNES converged reason output with iteration count output

This makes it clearer which level of solve the converged reason is associated with

Commit-type: usabilityFix amount of indenta

Align KSP and SNES converged reason output with iteration count output

This makes it clearer which level of solve the converged reason is associated with

Commit-type: usabilityFix amount of indentation used when printing out converged reasons

show more ...


12345678910>>...83