Skip to content

Commit

Permalink
Merge branch 'mesh_compile' into 'development'
Browse files Browse the repository at this point in the history
Petsc Destroy interfaces are not included in version<=3.16.x yet

See merge request damask/DAMASK!792
  • Loading branch information
MarDiehl committed Aug 4, 2023
2 parents d428024 + cc77d5c commit 7d1adeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mesh/discretization_mesh.f90
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ module discretization_mesh
real(pREAL), dimension(:,:,:), allocatable :: &
mesh_ipCoordinates !< IP x,y,z coordinates (after deformation!)

#ifdef PETSC_USE_64BIT_INDICES
#if defined(PETSC_USE_64BIT_INDICES) || PETSC_VERSION_MINOR < 17
external :: &
DMDestroy
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/mesh/mesh_mech_FEM.f90
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ module mesh_mechanical_FEM
real(pREAL), parameter :: eps = 1.0e-18_pREAL

external :: & ! ToDo: write interfaces
#ifdef PETSC_USE_64BIT_INDICES
#if defined(PETSC_USE_64BIT_INDICES) || PETSC_VERSION_MINOR < 17
ISDestroy, &
#endif
PetscSectionGetNumFields, &
Expand Down

0 comments on commit 7d1adeb

Please sign in to comment.