something is wrong with interfaces for 64 bit
This commit is contained in:
parent
61dc14e0b9
commit
60e097a04e
|
@ -69,7 +69,7 @@ module FEM_utilities
|
||||||
type(tComponentBC), allocatable, dimension(:) :: componentBC
|
type(tComponentBC), allocatable, dimension(:) :: componentBC
|
||||||
end type tFieldBC
|
end type tFieldBC
|
||||||
|
|
||||||
external :: &
|
external :: & ! ToDo: write interfaces
|
||||||
PetscSectionGetFieldComponents, &
|
PetscSectionGetFieldComponents, &
|
||||||
PetscSectionGetFieldDof, &
|
PetscSectionGetFieldDof, &
|
||||||
PetscSectionGetFieldOffset
|
PetscSectionGetFieldOffset
|
||||||
|
|
|
@ -57,6 +57,9 @@ module discretization_mesh
|
||||||
mesh_ipCoordinates !< IP x,y,z coordinates (after deformation!)
|
mesh_ipCoordinates !< IP x,y,z coordinates (after deformation!)
|
||||||
|
|
||||||
external :: &
|
external :: &
|
||||||
|
#ifdef PETSC_USE_64BIT_INDICES
|
||||||
|
DMDestroy, &
|
||||||
|
#endif
|
||||||
DMView ! ToDo: write interface
|
DMView ! ToDo: write interface
|
||||||
public :: &
|
public :: &
|
||||||
discretization_mesh_init, &
|
discretization_mesh_init, &
|
||||||
|
@ -248,10 +251,10 @@ subroutine mesh_FEM_build_ipCoordinates(dimPlex,qPoints)
|
||||||
call DMPlexComputeCellGeometryAffineFEM(geomMesh,cell,pV0,pCellJ,pInvcellJ,detJ,err_PETSc)
|
call DMPlexComputeCellGeometryAffineFEM(geomMesh,cell,pV0,pCellJ,pInvcellJ,detJ,err_PETSc)
|
||||||
CHKERRQ(err_PETSc)
|
CHKERRQ(err_PETSc)
|
||||||
qOffset = 0
|
qOffset = 0
|
||||||
do qPt = 1, mesh_maxNips
|
do qPt = 1_pPETSCINT, mesh_maxNips
|
||||||
do dirI = 1, dimPlex
|
do dirI = 1_pPETSCINT, dimPlex
|
||||||
mesh_ipCoordinates(dirI,qPt,cell+1) = pV0(dirI)
|
mesh_ipCoordinates(dirI,qPt,cell+1) = pV0(dirI)
|
||||||
do dirJ = 1, dimPlex
|
do dirJ = 1_pPETSCINT, dimPlex
|
||||||
mesh_ipCoordinates(dirI,qPt,cell+1) = mesh_ipCoordinates(dirI,qPt,cell+1) + &
|
mesh_ipCoordinates(dirI,qPt,cell+1) = mesh_ipCoordinates(dirI,qPt,cell+1) + &
|
||||||
pCellJ((dirI-1)*dimPlex+dirJ)*(qPoints(qOffset+dirJ) + 1.0_pReal)
|
pCellJ((dirI-1)*dimPlex+dirJ)*(qPoints(qOffset+dirJ) + 1.0_pReal)
|
||||||
enddo
|
enddo
|
||||||
|
|
|
@ -71,7 +71,7 @@ module mesh_mechanical_FEM
|
||||||
logical :: ForwardData
|
logical :: ForwardData
|
||||||
real(pReal), parameter :: eps = 1.0e-18_pReal
|
real(pReal), parameter :: eps = 1.0e-18_pReal
|
||||||
|
|
||||||
external :: &
|
external :: & ! ToDo: write interfaces
|
||||||
PetscSectionGetNumFields, &
|
PetscSectionGetNumFields, &
|
||||||
PetscFESetQuadrature, &
|
PetscFESetQuadrature, &
|
||||||
PetscFEGetDimension, &
|
PetscFEGetDimension, &
|
||||||
|
|
Loading…
Reference in New Issue