History log of /petsc/src/snes/tutorials/ex71.c (Results 26 – 48 of 48)
Revision Date Author Comments
# e00437b9 22-Mar-2022 Barry Smith <bsmith@mcs.anl.gov>

Remove some PetscCheckFalse() from examples in several packages vec, mat, ksp, sys, snes

Commit-type: error-checking, housekeeping
/spend 45m


# 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


# 1241a243 13-Feb-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-01-05/c99' into 'main'

Feature: C99 and C++11

See merge request petsc/petsc!4700


# 2c71b3e2 11-Feb-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

rename PetscAssert() -> PetscCheck() and PetscAssertDebug() -> PetscAssert()


# 9ace16cd 28-Jan-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

add PetscAssert() and PetscAssertFalse()


# 98921bda 28-Jan-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

SETERRQ[1-9]+ begone


# 15e7bcca 20-May-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-dm-aux-data-keys' into 'main'

Plex: Updates to declarative interface for FEM problems

See merge request petsc/petsc!3972


# 06ad1575 23-Apr-2021 Matthew G. Knepley <knepley@gmail.com>

DT: Changed key and WeakForm internals
- Changed name to PetscFormKey
- Added part member
- Now maps are referred to by PetscWeakFormKind
- Added PetscWeakFormClearIndex() and PetscWeakFormClear()

DT: Changed key and WeakForm internals
- Changed name to PetscFormKey
- Added part member
- Now maps are referred to by PetscWeakFormKind
- Added PetscWeakFormClearIndex() and PetscWeakFormClear()
- Passing NULL to SetIndex is now ignored
- Added tests

show more ...


# 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 ...


# caa22a8a 04-Aug-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'rlwalker/feature-plex-example-poroelasticity-cryer' into 'master'

Rlwalker/feature plex example poroelasticity cryer

See merge request petsc/petsc!3013


# 56cf3b9c 27-Jul-2020 Matthew G. Knepley <knepley@gmail.com>

Plex: Need to add BC for the solution time derivative in TS problems
- Added DMPlexInsertTimeDerivativeBoundaryValues()
- Added time derivative of the solution argument to DMAddBoundary(),
DMGetBou

Plex: Need to add BC for the solution time derivative in TS problems
- Added DMPlexInsertTimeDerivativeBoundaryValues()
- Added time derivative of the solution argument to DMAddBoundary(),
DMGetBoundary(), PetscDSAddBoundary(), PetscDSUpdateBoundary(),
PetscDSGetBoundary()

show more ...


# 1a6d42aa 04-Jul-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-dm-exact-solution' into 'master'

Knepley/feature dm exact solution

See merge request petsc/petsc!2940


# 348a1646 15-May-2020 Matthew G. Knepley <knepley@gmail.com>

DM+SNES: Update examples for DS functions


# 95c3f1f4 06-Apr-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-dm-addboundary-collective' into 'master'

Knepley/feature dm addboundary collective

See merge request petsc/petsc!2659


# 408cafa0 27-Mar-2020 Matthew G. Knepley <knepley@gmail.com>

DM: Change examples to use DMAddBoundary() instead of PetscDSAddBoundary()
- Now you have to call DMCopyDS() after labels have been established on the coarse DM
- Also, p4est setup has to have happen

DM: Change examples to use DMAddBoundary() instead of PetscDSAddBoundary()
- Now you have to call DMCopyDS() after labels have been established on the coarse DM
- Also, p4est setup has to have happened before label completion

show more ...


# 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