mesh_element(1) has a size of 4

fixed sigsegv
This commit is contained in:
Martin Diehl 2018-10-02 22:54:44 +02:00
parent 014c7894bf
commit 97d2c2b353
1 changed files with 1 additions and 2 deletions

View File

@ -41,7 +41,7 @@ use PETScis
real(pReal), public, protected :: charLength
integer(pInt), dimension(:,:), allocatable, public, protected :: &
mesh_CPnodeID, &
!mesh_CPnodeID, &
mesh_element !DEPRECATED
real(pReal), dimension(:,:), allocatable, public :: &
@ -245,7 +245,6 @@ subroutine mesh_init()
! better name
mesh_homogenization = mesh_element(3,:)
mesh_microstructure = mesh_element(4,:)
mesh_CPnodeID = mesh_element(5:4+mesh_NipsPerElem,:)
!!!!!!!!!!!!!!!!!!!!!!!!
end subroutine mesh_init