libceed: Add support for 64-bit indices
drop support for MED files
Fix PetscOptionsGetViewer() so it works in a thread-safe wayWhen PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is sharedby all threads that call PetscOptio
Fix PetscOptionsGetViewer() so it works in a thread-safe wayWhen PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is sharedby all threads that call PetscOptionsGetViewer(). In the previous code PetscObjectReference() anddereference (via PetscViewerDestroy() where called on the viewer by multiple threads after the viewerwas accessed thus corrupting the object.This branch introduces a PetscOptionsRestoreViewer() that allows not doing the referencing and dereferencingon persistant viewers, thus removing the specific race condition above.Other possible solutions includeUse a lock on each PetscObjectReference/Dereference() just in case they are shared. Could be time consuming so onecould mark each object as either threadshared or independent and only do the locks on threadshared objects. This lowersthe cost but would require more extensive changes to PETSc infrastructure. And I do not know if this shared/not shared modelis what we need in the long run, though it might be.
show more ...
plex: apply noop change to tests/ex3
Fix use of PetscViewerGetSubViewer() in DMPlexCheckInterfaceCones
Fix bugs in handling PetscViewerGetSubViewer() and tabing in ASCII viewersReported-by: Pierre Jolivet
Merge branch 'knepley/fix-exodusii-check' into 'main'Knepley/fix exodusii checkSee merge request petsc/petsc!6985
Merge remote-tracking branch 'origin/release'
Fix capitalization of fortranCommit-type: housekeeping
Plex+ExodusII: Remove bad check
Plex: Add in cirlce/disc
CI: migrate linux-opt-misc to ARMAnd disable gcov as it gives errors on linux/armFix BT viewer for:not ok diff-dm_impls_plex_tests-ex13_0 # Error code: 1
Merge branch 'knepley/feature-plex-high-order-view' into 'main'Plex: Enable high order viewingSee merge request petsc/petsc!6959
Plex: Enable high order viewing - Refinement recreates affine coordinates - Default for draw viewer - Replace DMProjectCoordinates() with DMSetCoordinateDisc() - Add argument to DMPlexCreateCoordinat
Plex: Enable high order viewing - Refinement recreates affine coordinates - Default for draw viewer - Replace DMProjectCoordinates() with DMSetCoordinateDisc() - Add argument to DMPlexCreateCoordinateSpace()
Plex: Updates for FVM- Add DMPlexInsertBoundaryValuesFVM()- Add -dm_plex_print_fvm- Fix copy of diagnostic flags
ExodusII; Fix check for reserved labels- Disable check for many tests
Remove first and last empty lines
Plex ex56: Fixed partitioning and boudary definition
PetscFE: add PETSCFEVECTORReductions in the cost of computing, storing, and applyinga Tabulation can be achieved for a finite element spacethat is a vector of "scalar" finite elements (the "scala
PetscFE: add PETSCFEVECTORReductions in the cost of computing, storing, and applyinga Tabulation can be achieved for a finite element spacethat is a vector of "scalar" finite elements (the "scalar"element itself could be vector-valued).Reductions in the cost of storing and applyinga Tabulation can't be realized until the PetscTabulation structureitself is changed, but at the very least reduction in the cost ofcomputing a tabulation is possible with a new PetscFEType,PETSCFEVECTOR.To complete the interface, we also add PETSCDUALSPACESUM,a dual space whose dual basis is the sum of other dual bases,that parallels PETSCSPACESUM (the space and dual space ofa PETSCFEVECTOR are a PETSCSPACESUM and PETSCDUALSPACESUM,respectively).To allow the user to specify whether thebasis vector and value components of the PETSCFEVECTORof blockwise or interleaved, we also have to make surePETSCSPACESUM and PETSCDUALSPACESUM can have blockwiseor interleaved behavior. We add both capabilities.PETSCFEVECTOR is now used by detecting compatiblevector-valued dual and primal spaces in PetscFECreateFromSpaces().
Fix missing new lines at the end of PetscInfo() calls
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
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.
Fix typos
12345678910>>...23