keyword "table" appeared more than once -- restricted interpretation to header
This commit is contained in:
parent
892f33591c
commit
7bc27e02ca
|
@ -47,6 +47,7 @@
|
|||
integer(pInt), dimension(:,:,:,:), allocatable :: mesh_ipNeighborhood
|
||||
real(pReal), allocatable :: mesh_node (:,:)
|
||||
|
||||
integer(pInt) :: hypoelasticTableStyle = 0
|
||||
integer(pInt), parameter :: FE_Nelemtypes = 2
|
||||
integer(pInt), parameter :: FE_maxNnodes = 8
|
||||
integer(pInt), parameter :: FE_maxNips = 8
|
||||
|
@ -135,7 +136,6 @@
|
|||
implicit none
|
||||
|
||||
integer(pInt), parameter :: fileUnit = 222
|
||||
integer(pInt), parameter :: hypoelasticTableStyle = 0
|
||||
|
||||
mesh_Nelems = 0_pInt
|
||||
mesh_NcpElems = 0_pInt
|
||||
|
@ -293,12 +293,12 @@ candidate: do i=1,minN ! iterate over lonelyNode's shared elements
|
|||
|
||||
select case ( IO_lc(IO_Stringvalue(line,pos,1)))
|
||||
case('table')
|
||||
hypoelasticTableStyle = IO_IntValue (line,pos,5)
|
||||
if (pos(1) == 6) hypoelasticTableStyle = IO_IntValue (line,pos,5) ! only recognize header entry for "table"
|
||||
case('sizing')
|
||||
mesh_Nelems = IO_IntValue (line,pos,3)
|
||||
mesh_Nnodes = IO_IntValue (line,pos,4)
|
||||
case('hypoelastic')
|
||||
do i=1,4+hypoTableStyle
|
||||
do i=1,4+hypoelasticTableStyle
|
||||
read (unit,610,END=620) line
|
||||
end do
|
||||
pos = IO_stringPos(line,20)
|
||||
|
|
Loading…
Reference in New Issue