fix some problematic function argument names in the C source
Remove unnecessary braces around one-linersgit grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\
Remove unnecessary braces around one-linersgit grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\) {([^;]*);([^;]*)}$#\1\2 \(\3\)\4;\5#'
show more ...
Plex: Fix orientation of boundary extrusion- Allow DMPlexExtrude() to take a label argument- Allow transforms to reorient the highest dimensional cells
Plex+Label: Fix DMLabel performance bug
Plex: Add missing log event end
Plex: Add events for transform
DMPlexTransform: Allow for plex meshes that do not use standard orderingDMPlexTransform assumed that the order of points would be cells->vertices->edges (in 2D).Some cases, such as a DMForest conv
DMPlexTransform: Allow for plex meshes that do not use standard orderingDMPlexTransform assumed that the order of points would be cells->vertices->edges (in 2D).Some cases, such as a DMForest converted to a DMPlex, might have cells->edges->vertices, which resultsin points being incorrectly flagged as out-of-range. The new cell type order function has been updated to order cell types by the ordering in the DMPlex.Added additional tests for DMForest->DMPlex during extrusion.
Merge branch 'knepley/feature-plex-transform-cohesive' into 'main'Plex: Fix cohesive cell integrationSee merge request petsc/petsc!8175
Plex: Fix bug with cohesive transform- Add member function ordersupports to DMPlexTransform- Add DMPlexTransformOrderSupports_Cohesive()
Plex: Add DMPlexTransformCohesiveExtrudeGetUnsplit()
Plex: Do not overwrite an active label with NULL in AdaptLabel()
Plex: Add ability to save a mesh transform
Fortran 90: fully embrace After 34 years!- deprecate use of 'F90' in Fortran function names- use Fortran pointers when appropriate- the new Fortran API is not backward compatible with previous ve
Fortran 90: fully embrace After 34 years!- deprecate use of 'F90' in Fortran function names- use Fortran pointers when appropriate- the new Fortran API is not backward compatible with previous versions!- also clean up inconsistent PETSc code detected by new Fortran generation tools- drop use of bfort- automatically generate all the Fortran PETSc objects, enums etc from the include files- generate most of the Fortran interface definitions and functions from the source code- simplify the number and organization of Fortran modulesCo-authored-by: Jose E. Roman <jroman@dsic.upv.es>
Merge branch 'knepley/feature-plextransform-typelabel' into 'main'Plex: Add accessor for transform types labelSee merge request petsc/petsc!8148
Plex: Add accessor for transform types label
Plex+PetscFE: Fixes to allow embedded manifolds- Add PetscFEGeomMode to describe geometry- Reorganized PetscFEGeom- PetscFEGeomCreate(), DMFieldCreateFEGeom() and DMSNESGetFEGeom() now take the Pe
Plex+PetscFE: Fixes to allow embedded manifolds- Add PetscFEGeomMode to describe geometry- Reorganized PetscFEGeom- PetscFEGeomCreate(), DMFieldCreateFEGeom() and DMSNESGetFEGeom() now take the PetscFEGeomMode- J and invJ have dE dimensions- f1, g1, g2, g3 have dE dimensions- FIX the dim argument of all point function is really dE because it is used to index the gradients- Clarified behavior of PetscFEGeomGetCellPoint()- Now -dm_plex_coordinate_dim can change the coordinate dimension of a mesh created by Plex- Implicit cell geometry must be used when dim != cdim
Brain dead fixes for useless casts
Plex: Add interface function for -dm_plex_transform_label_match_strata
Plex+Viewer: Added Python and PyVista viewers- Enable viewer filename interface for Python viewer- Add -viewer_python_filename to set the output filename- Add -dm_plex_transform_active_values to e
Plex+Viewer: Added Python and PyVista viewers- Enable viewer filename interface for Python viewer- Add -viewer_python_filename to set the output filename- Add -dm_plex_transform_active_values to explicitly set values in the label- Add -dm_plex_option_phases to control sequencing of setup from the command line
Plex: If the cell type changes, we need to recreate the coordinate discretization- Thus, now refinement always recreates it
Plex: Fix normal computation in parallel extrusion- Add -dm_plex_transform_active to set active label- Normal computation now happens in extrusion setup and can involve communication- Add PlexNorm
Plex: Fix normal computation in parallel extrusion- Add -dm_plex_transform_active to set active label- Normal computation now happens in extrusion setup and can involve communication- Add PlexNormalAlg to describe computation of normal- Create a normal field that can be completed
Change from deprecated PETSC_MAX/MIN_INT to PETSC_INT_MAX/MINCommit-type: i.e. error-checking, optimization, bug-fix, portability-fix, testing-fix, style-fix, feature, documentation, exampleFunded
Change from deprecated PETSC_MAX/MIN_INT to PETSC_INT_MAX/MINCommit-type: i.e. error-checking, optimization, bug-fix, portability-fix, testing-fix, style-fix, feature, documentation, exampleFunded-by:Project:Time: hoursReported-by:Thanks-to:Development Tools: Vim, Emacs, Eclipse
Plex: Fix FV_GHOST in transform and 1D affine maps
Plex: Fix parallel normal computation in extrusion\n- Add normal computation type to viewer
DMPlex: fix warning: 'pNew' may be used uninitializedDetected by rocm-5.4.0
12345