no need to exclude any geometry type from usage of nonlocal model
This commit is contained in:
parent
924d943edc
commit
5b508b5ee4
|
@ -1472,8 +1472,6 @@ subroutine IO_error(error_ID,e,i,g,ext_msg)
|
|||
|
||||
case (252_pInt)
|
||||
msg = 'nonlocal plasticity works only for direct CPFEM, i.e. one grain per integration point'
|
||||
case (253_pInt)
|
||||
msg = 'element type not supported for nonlocal plasticity'
|
||||
|
||||
!--------------------------------------------------------------------------------------------------
|
||||
! numerics error messages
|
||||
|
|
|
@ -385,12 +385,6 @@ subroutine constitutive_init
|
|||
|
||||
case (constitutive_nonlocal_label)
|
||||
if(myNgrains/=1_pInt) call IO_error(252_pInt, e,i,g)
|
||||
select case(FE_geomtype(mesh_element(2,e)))
|
||||
case (7_pInt,8_pInt,9_pInt,10_pInt)
|
||||
! all fine
|
||||
case default
|
||||
call IO_error(253_pInt,e,i,g)
|
||||
end select
|
||||
allocate(constitutive_state0(g,i,e)%p(constitutive_nonlocal_sizeState(myInstance)))
|
||||
allocate(constitutive_partionedState0(g,i,e)%p(constitutive_nonlocal_sizeState(myInstance)))
|
||||
allocate(constitutive_subState0(g,i,e)%p(constitutive_nonlocal_sizeState(myInstance)))
|
||||
|
|
Loading…
Reference in New Issue