History log of /petsc/src/snes/tutorials/ex20.c (Results 26 – 44 of 44)
Revision Date Author Comments
# d0609ced 02-Apr-2022 Barry Smith <bsmith@mcs.anl.gov>

Cleanup of introduction of PetscCall()

* remove bogus error flags from XXXBegin()/End() macros such as PetscOptionsBegin()/End()

* rename for consistency certain XXXBegin()/End() macros such as Mat

Cleanup of introduction of PetscCall()

* remove bogus error flags from XXXBegin()/End() macros such as PetscOptionsBegin()/End()

* rename for consistency certain XXXBegin()/End() macros such as MatPreallocateInitialize()/Finalize()

* fix many lingering ierr = XXX that arose from multiline function calls

* sync slepc/hpddm - to use snapshots with the same changes

Commit-type: error-checking, style-fix
/spend 8h

show more ...


# f882803c 26-Mar-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-02-23/variadic-chkerr' into 'main'

Variadic CHKERRQ()

See merge request petsc/petsc!4889


# 9566063d 25-Mar-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

The great renaming:

- CHKERRQ() -> PetscCall()
- CHKERRV() -> PetscCallVoid()
- CHKERRMPI() -> PetscCallMPI()
- CHKERRABORT() -> PetscCallAbort()
- CHKERRCONTINUE() -> PetscCallContinue()
- CHKERRXX

The great renaming:

- CHKERRQ() -> PetscCall()
- CHKERRV() -> PetscCallVoid()
- CHKERRMPI() -> PetscCallMPI()
- CHKERRABORT() -> PetscCallAbort()
- CHKERRCONTINUE() -> PetscCallContinue()
- CHKERRXX() -> PetscCallThrow()
- CHKERRCXX() -> PetscCallCXX()
- CHKERRCUDA() -> PetscCallCUDA()
- CHKERRCUBLAS() -> PetscCallCUBLAS()
- CHKERRCUSPARSE() -> PetscCallCUSPARSE()
- CHKERRCUSOLVER() -> PetscCallCUSOLVER()
- CHKERRCUFFT() -> PetscCallCUFFT()
- CHKERRCURAND() -> PetscCallCURAND()
- CHKERRHIP() -> PetscCallHIP()
- CHKERRHIPBLAS() -> PetscCallHIPBLAS()
- CHKERRHIPSOLVER() -> PetscCallHIPSOLVER()
- CHKERRQ_CEED() -> PetscCallCEED()
- CHKERR_FORTRAN_VOID_FUNCTION() -> PetscCallFortranVoidFunction()
- CHKERRMKL() -> PetscCallMKL()
- CHKERRMMG() -> PetscCallMMG()
- CHKERRMMG_NONSTANDARD() -> PetscCallMMG_NONSTANDARD()
- CHKERRCGNS() -> PetscCallCGNS()
- CHKERRPTSCOTCH() -> PetscCallPTSCOTCH()
- CHKERRSTR() -> PetscCallSTR()
- CHKERRTC() -> PetscCallTC()

show more ...


# b122ec5a 24-Mar-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

PetscInitialize() and PetscFinalize() wrapped:

- ierr = PetscInitialize();if (ierr) return ierr;
+ CHKERRQ(PetscInitialize());

- ierr = PetscFinalize();
- return ierr;
+ CHKERRQ(PetscFinalize());
+

PetscInitialize() and PetscFinalize() wrapped:

- ierr = PetscInitialize();if (ierr) return ierr;
+ CHKERRQ(PetscInitialize());

- ierr = PetscFinalize();
- return ierr;
+ CHKERRQ(PetscFinalize());
+ return 0;

show more ...


# 5f80ce2a 24-Feb-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

chkerr and friends wrapped


# 8318a85a 12-Mar-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jed/amg-symmetry' into 'main'

PCGAMG: skip symmetric non-SPD use of KSPCR for eigenvalues

See merge request petsc/petsc!4910


# 73f7197e 03-Mar-2022 Jed Brown <jed@jedbrown.org>

PCGAMG: update tests

* formatting of Chebyshev information
* use of GAMG SA eigenvalue estimates


# 91d0f61b 04-Aug-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/feature-qr-normal' into 'main'

PCQR for MATNORMAL

See merge request petsc/petsc!4182


# dcc276dd 04-Aug-2021 Pierre Jolivet <pierre@joliv.et>

snes_tutorials-ex20_2d_p1_gmg_vcycle_cr: broken


# 82a6ae78 28-Jul-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-some-missing-chkerr' into 'main'

Some missing CHKERR[Q|MPI]

See merge request petsc/petsc!4190


# 1e1ea65d 27-Jul-2021 Pierre Jolivet <pierre@joliv.et>

Some missing CHKERR[Q|MPI]


# 68ce86a1 18-May-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-plex-ceed-integration' into 'main'

Plex: Initial CEED integration

See merge request petsc/petsc!3918


# 30602db0 14-May-2021 Matthew G. Knepley <knepley@gmail.com>

Plex: Update examples to use new creation interface


# e9494080 13-Apr-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-ds-residualbd-key' into 'main'

DS+FE+Doc: Make BdResidual take a key

See merge request petsc/petsc!3761


# 45480ffe 06-Apr-2021 Matthew G. Knepley <knepley@gmail.com>

DM+Plex: Boundary integration functions are now stored in a PetscWeakForm held in the Boundary object
- Boundary residual/Jacobian functions now take a form key
- Now store DMLabel in DSBoundary
- Im

DM+Plex: Boundary integration functions are now stored in a PetscWeakForm held in the Boundary object
- Boundary residual/Jacobian functions now take a form key
- Now store DMLabel in DSBoundary
- Improved Boundary, Weak Form, and DS viewers
- Remove DMCopyBoundary(), DMCopyDisc() is sufficient
- Need DMTransferDS_Internal() to create new DS with label in the correct DM
- Correct all DMAddBoundary() in tests
- Allow DMBoundary to hold just a label name if necessary since p4est is missing labels in a lot of places
- Fix propagating coordinate dimension in DS

show more ...


# a02893cc 21-Dec-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-ksp-convergence-rate' into 'master'

Knepley/feature ksp convergence rate

See merge request petsc/petsc!3489


# efeeb221 21-Sep-2020 Matthew G. Knepley <knepley@gmail.com>

SNES ex20: Monitoring and improving multigrid convergence


# c20d7725 22-Mar-2020 Jed Brown <jed@jedbrown.org>

Merge branch 'jed/promote-examples-tests-tutorials' [petsc/petsc!2610]

* jed/promote-examples-tests-tutorials:
Promote examples/{tests,tutorials}/ to {tests,tutorials}/


# c4762a1b 18-Mar-2020 Jed Brown <jed@jedbrown.org>

Promote examples/{tests,tutorials}/ to {tests,tutorials}/

This shortens paths and improves consistency between test target names
and paths to the source and output files. Most of the work was
compl

Promote examples/{tests,tutorials}/ to {tests,tutorials}/

This shortens paths and improves consistency between test target names
and paths to the source and output files. Most of the work was
completed by this script, followed by mild cleanup of nonconforming
cases.

for makefile in `git ls-files 'src/*makefile'`; do
if rg -q 'DIRS.*\bexamples\b' $makefile; then
base=$(dirname $makefile)
dirs=$(cd $base/examples && ls -d tests tutorials 2>/dev/null | xargs echo)
perl -pi -e "s#^(DIRS.*)\bexamples\b#\1${dirs}#" $makefile
git rm $base/examples/makefile
for t in $dirs; do
git mv $base/examples/$t $base/
perl -pi -e "s#^(LOCDIR[[:space:]]*=).*#\1 $base/$t/#" $base/$t
done
fi
done

git grep -l -E -z 'examples/(tutorials|tests)' | xargs -0 perl -pi -e 's#examples/(tutorials|tests)#\1#g'
git checkout @ \
src/docs/website/documentation/changes/ \
src/benchmarks/results/

show more ...


12