History log of /petsc/src/dm/impls/plex/tests/ex18.c (Results 1 – 25 of 110)
Revision Date Author Comments
# 8112c1cb 22-Sep-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-09-04/deprecate-mpiu-bool' into 'main'

Deprecate MPIU_BOOL which used to be for PETSc's enum Bool but now is just MPI_C_BOOL

See merge request petsc/petsc!8691


# 5440e5dc 04-Sep-2025 Barry Smith <bsmith@mcs.anl.gov>

Deprecate MPIU_BOOL which used to be for PETSc' enum Bool but now is just MPI_C_BOOL so no longer needs its own name


# d8e47b63 17-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-09-02/rebased-fix-conversion-warnings' into 'main'

Compiler finds (and forbid) casts from higher precision integers to lower

See merge request petsc/petsc!7806


# 462c564d 14-Sep-2024 Barry Smith <bsmith@mcs.anl.gov>

Fix MPIU_* routines to always return MPI error codes and thus be usable with PetscCallMPI()

Introduce MPIU_Count to be used when MPI_Count is not available


# 1690c2ae 10-Sep-2024 Barry Smith <bsmith@mcs.anl.gov>

Change from deprecated PETSC_MAX/MIN_INT to PETSC_INT_MAX/MIN

Commit-type: i.e. error-checking, optimization, bug-fix, portability-fix, testing-fix, style-fix, feature, documentation, example
Funded

Change from deprecated PETSC_MAX/MIN_INT to PETSC_INT_MAX/MIN

Commit-type: i.e. error-checking, optimization, bug-fix, portability-fix, testing-fix, style-fix, feature, documentation, example
Funded-by:
Project:
Time: hours
Reported-by:
Thanks-to:
Development Tools: Vim, Emacs, Eclipse

show more ...


# 6497c311 25-Aug-2024 Barry Smith <bsmith@mcs.anl.gov>

Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']

Also fix the code to repository to compile cleanly with these flags in th

Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']

Also fix the code to repository to compile cleanly with these flags in the CI

show more ...


# aee58fc6 13-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'ksagiyam/add_sparseLocalize_option' into 'main'

plexcreate: add localizationHeight and sparseLocalize args to DMPlexCreateBoxMesh()

See merge request petsc/petsc!7677


# 42108689 05-Jul-2024 ksagiyam <k.sagiyama@imperial.ac.uk>

plexcreate: add localizationHeight and sparseLocalize args to DMPlexCreateBoxMesh()


# fda22ce0 08-Jul-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-07-01/fix-petscoptionsgetviewer' into 'main'

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

See merge request petsc/petsc!7667


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


# 61d8dfa2 09-Jan-2024 Satish Balay <balay@mcs.anl.gov>

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

Improve checkbadSource

See merge request petsc/petsc!7168


# 53df731d 08-Jan-2024 Pierre Jolivet <pierre@joliv.et>

Fix "Extra spaces in test harness rules" in checkbadSource


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


# 7b506345 14-Nov-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-10-19/fix-pcview-redundant/release' into 'main'

Fix bugs in handling PetscViewerGetSubViewer() and tabing in ASCII viewers

See merge request petsc/petsc!6948


# fe8fb074 19-Oct-2023 Barry Smith <bsmith@mcs.anl.gov>

Fix bugs in handling PetscViewerGetSubViewer() and tabing in ASCII viewers

Reported-by: Pierre Jolivet


# d3c48830 06-Nov-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/fix-exodusii-check' into 'main'

Knepley/fix exodusii check

See merge request petsc/petsc!6985


# 46ac1a18 01-Nov-2023 Matthew G. Knepley <knepley@gmail.com>

Plex+ExodusII: Remove bad check


# 5e8c9ebd 26-Oct-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/fix-plex-setup' into 'main'

Plex: Fix setup for RDycore

See merge request petsc/petsc!6877


# c14a7e84 19-Sep-2023 Matthew G. Knepley <knepley@gmail.com>

ExodusII; Fix check for reserved labels
- Disable check for many tests


# aa01dc31 27-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-07-15/add-mat-vec-createfromoptions' into 'main'

Add convenience functions VecCreateFromOptions() and MatCreateFromOptions() to...

See merge request petsc/petsc!6711


# 77433607 15-Jul-2023 Barry Smith <bsmith@mcs.anl.gov>

Add convenience functions VecCreateFromOptions() and MatCreateFromOptions() to reduce the use of specialize creation routines in the examples and thus make it easier for people to use GPU based solve

Add convenience functions VecCreateFromOptions() and MatCreateFromOptions() to reduce the use of specialize creation routines in the examples and thus make it easier for people to use GPU based solvers

show more ...


# 6c37f76f 27-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'tisaac/feature-log-handler' into 'main'

Deglobalize logging into PetscLogHandler and PetscLogState

See merge request petsc/petsc!6709


# 2611ad71 14-Jul-2023 Toby Isaac <toby.isaac@gmail.com>

Profiling: Improve !defined(PETSC_USE_LOG) #defines

- If we cast macro arguments to void, we can avoid unused errors that have
forced lots of conditionally included code like this:

```c
#if def

Profiling: Improve !defined(PETSC_USE_LOG) #defines

- If we cast macro arguments to void, we can avoid unused errors that have
forced lots of conditionally included code like this:

```c
#if defined(PETSC_USE_LOG)
PetscLogEvent event;
#endif
```

- Having global counters like petsc_TotalFlops externed event
if !PetscDefined(USE_LOG) helps to remove a lot of needless
`#ifdef`s around code that can instead be placed in
`if (PetscDefined(USE_LOG)) {}` blocks.

show more ...


# 49154744 22-Apr-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


12345