History log of /petsc/src/dm/impls/plex/tutorials/ex2.c (Results 1 – 22 of 22)
Revision Date Author Comments
# 609caa7c 19-Jul-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/rm-explicit-empty-output_file' into 'main'

Remove 535 empty .out and consolidate the use of output/empty.out

See merge request petsc/petsc!8538


# 3886731f 09-Jul-2025 Pierre Jolivet <pierre@joliv.et>

Remove explicitly listed empty files and switch to output/empty.out


# 32eed818 09-Jul-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-plex-stl' into 'main'

Plex: Add STL reader

See merge request petsc/petsc!8494


# cf4936a9 25-Jun-2025 Matthew G. Knepley <knepley@gmail.com>

Plex ex2: Mesh creation tutorial


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

Merge branch 'knepley/feature-plex-io-tests' into 'main'

Cleaning up some Plex I/O

See merge request petsc/petsc!5013


# e826b96e 23-Mar-2022 Matthew G. Knepley <knepley@gmail.com>

Plex: tutorials ex2 subsumed by tests ex1


# 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


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


# 89a04001 10-Mar-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'dalcinl/plex-cgns' into 'main'

DMPlex: Some fixes to the CGNS reader

See merge request petsc/petsc!3698


# c261946b 10-Mar-2021 Lisandro Dalcin <dalcinl@gmail.com>

DMPlex: Some fixes to the CGNS reader


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


# 7a32ffbe 14-Jun-2020 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/barry/2020-05-30/trivial-sizeof-fixes'

Updated the use of sizeof() when possible instead of using hardwired sizes for...

See merge request petsc/petsc!2827


# 589a23ca 02-Jun-2020 Barry Smith <bsmith@mcs.anl.gov>

Updated the use of sizeof() when possible instead of using hardwired sizes for functions whose string arguments
need sizes. In particular done for PetscOptionsGetString(), PetscOptionsString(), and a

Updated the use of sizeof() when possible instead of using hardwired sizes for functions whose string arguments
need sizes. In particular done for PetscOptionsGetString(), PetscOptionsString(), and a few other utilities

Commit-type: style-fix

Development Tools: Vim, Emacs, Eclipse

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