History log of /petsc/include/petscfe.h (Results 1 – 25 of 374)
Revision Date Author Comments
# 9d47de49 18-Feb-2026 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2026-02-14/fix-defined-missing-braces' into 'main'

Fix the inconsistent usage of #if defined XXX compared to defined(XXX)

See merge request petsc/petsc!9040


# beceaeb6 15-Feb-2026 Barry Smith <bsmith@mcs.anl.gov>

Fix the inconsistent usage of #if [!]defined XXX compared to defined(XXX)

Thanks-to: Pierre Jolivet

An LLM Claude detected the incosnsitency it was not used to remove the inconsistency


# 4e8208cb 31-Jan-2026 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2026-01-13/ftn-generation-for-context-functions' into 'main'

Fortran generation of interface definitions for functions that take and return context variables (void *ctx and PetC

Merge branch 'barry/2026-01-13/ftn-generation-for-context-functions' into 'main'

Fortran generation of interface definitions for functions that take and return context variables (void *ctx and PetCtx ctx)

See merge request petsc/petsc!8956

show more ...


# 2a8381b2 13-Jan-2026 Barry Smith <bsmith@mcs.anl.gov>

Add automatic generated fortran support for setting and returning contexts

Major cleanup of the code for setting and returning application (previously called user) contexts
- PetscCtx ctx is now t

Add automatic generated fortran support for setting and returning contexts

Major cleanup of the code for setting and returning application (previously called user) contexts
- PetscCtx ctx is now the standard for passing in contexts
- PetscCtxRt ctx is the standard for passing out contexts, including context destroy routines based on PetscCtxDestroyFn

Both of these are typedef to void*

Also removed most use of user and userctx for context arguments now consistently named ctx

Improved documentation on PetscCtx and PetscCtxRt and on how to use contexts (including getting them) from Fortran

show more ...


# 287d9e58 23-Jul-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-ts-landau-moments' into 'main'

TS Hamiltonian ex4: Preliminary moment equations

See merge request petsc/petsc!8573


# 4561e6c9 22-Jul-2025 Matthew G. Knepley <knepley@gmail.com>

FE: Changed signature of PetscFEIntegrateJacobian() to allow rectangular operators


# 3f5a071c 20-Jun-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'ksagiyam/fix_submesh_coordinates' into 'main'

Ksagiyam/fix submesh coordinates

See merge request petsc/petsc!8353


# 4c712d99 27-Apr-2025 ksagiyam <k.sagiyama@imperial.ac.uk>

plexsubmesh: make submesh inherit CG/DG coordinate elements


# 49777e52 22-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-plex-transform-cohesive' into 'main'

Plex: Fix cohesive cell integration

See merge request petsc/petsc!8175


# 989fa639 15-Apr-2025 Brad Aagaard <baagaard@usgs.gov>

Plex: Fix hybrid integration
- Add DMFieldCreateDefaultFaceQuadrature() and PetscFEExpandFaceQuadrature()
- Add neighbor geometry to PetscFEIntegrateHybridResidual_Basic(), PetscFEIntegrateHybridJaco

Plex: Fix hybrid integration
- Add DMFieldCreateDefaultFaceQuadrature() and PetscFEExpandFaceQuadrature()
- Add neighbor geometry to PetscFEIntegrateHybridResidual_Basic(), PetscFEIntegrateHybridJacobian_Basic() and PetscFEEvaluateFieldJets_Hybrid_Internal()
- Add cell geometry to PetscFEIntegrateHybridResidual() and PetscFEIntegrateHybridJacobian()

show more ...


# 6d8694c4 20-Mar-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-04-29/add-fortran-enums' into 'main'

Major updates to Fortran interface

See merge request petsc/petsc!7517


# ce78bad3 20-Feb-2025 Barry Smith <bsmith@petsc.dev>

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 modules

Co-authored-by: Jose E. Roman <jroman@dsic.upv.es>

show more ...


# 99a90a72 04-Mar-2025 Satish Balay <balay@mcs.anl.gov>

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

Plex+PyVista: Added transforms

See merge request petsc/petsc!8174


# 41fc7085 03-Mar-2025 Matthew G. Knepley <knepley@gmail.com>

PetscFE: Move PetscFEGeomMode to types header


# 20ac1e9e 19-Feb-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-embedded-manifold' into 'main'

Plex+PetscFE: Fixes to allow embedded manifolds

See merge request petsc/petsc!8141


# ac9d17c7 17-Feb-2025 Matthew G. Knepley <knepley@gmail.com>

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

show more ...


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

Merge branch 'knepley/feature-1d-affine-map' into 'main'

Fixes for submesh handling

See merge request petsc/petsc!7823


# bb4b53ef 23-Aug-2024 Matthew G. Knepley <knepley@gmail.com>

DM+DS: Create FE with degree bounds
- Add degree bounds to DMCopyFields(), DMCopyDS(), PetscDSCopy(), and PetscDSSelectDiscretizations()
- Add PetscFELimitDegree()


# a623e290 12-Jun-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-05-29/minor-fortran-stub-cleanup' into 'main'

More improvements to Fortran stubs and interfaces

See merge request petsc/petsc!7598


# 5d83a8b1 30-May-2024 Barry Smith <bsmith@mcs.anl.gov>

This requires some changes to user FORTRAN code

Pass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an array
Pass PETSC_NULL_ENUM when argument returns an enum instead of

This requires some changes to user FORTRAN code

Pass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an array
Pass PETSC_NULL_ENUM when argument returns an enum instead of PETSC_NULL_INTEGER
Pass arrays (and not scalar values) when the argument is expecting an array; this means replace, for example, the argument v with [v]
Use PetscObjectIsNull(obj) to check if the object is NULL, instead of obj == PETSC_NULL_XXX

The compiler will now automatically prevent you from using the wrong argument type for the first three bullets above
This will also require an update sowing with the new sowing branch this MR is using.

show more ...


# 970231d2 07-Mar-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/clang-format-18' into 'main'

clang-format version 18

See merge request petsc/petsc!6902


# e2fbb1ba 15-Jan-2024 Pierre Jolivet <pierre@joliv.et>

Minor formatting fixes


# fbccb6d4 18-Nov-2023 Pierre Jolivet <pierre@joliv.et>

CI: update to clang-format-18


# b22c9ba6 08-Jan-2024 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 338bea87 08-Jan-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-01-04/fix-includes-man-pages/release' into 'release'

Barry/2024 01 04/fix includes man pages/release

See merge request petsc/petsc!7165


12345678910>>...15