cleaning
This commit is contained in:
parent
91ad5092f4
commit
7baf4e7f53
|
@ -46,7 +46,7 @@ contains
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
subroutine damage_local_init
|
subroutine damage_local_init
|
||||||
|
|
||||||
integer :: maxNinstance,homog,instance,i
|
integer :: maxNinstance,homog,i
|
||||||
integer :: sizeState
|
integer :: sizeState
|
||||||
integer :: NofMyHomog, h
|
integer :: NofMyHomog, h
|
||||||
integer(kind(undefined_ID)) :: &
|
integer(kind(undefined_ID)) :: &
|
||||||
|
@ -87,7 +87,6 @@ subroutine damage_local_init
|
||||||
homog = h
|
homog = h
|
||||||
|
|
||||||
NofMyHomog = count(material_homogenizationAt == homog)
|
NofMyHomog = count(material_homogenizationAt == homog)
|
||||||
instance = damage_typeInstance(homog)
|
|
||||||
|
|
||||||
|
|
||||||
! allocate state arrays
|
! allocate state arrays
|
||||||
|
@ -203,10 +202,9 @@ subroutine damage_local_results(homog,group)
|
||||||
|
|
||||||
integer, intent(in) :: homog
|
integer, intent(in) :: homog
|
||||||
character(len=*), intent(in) :: group
|
character(len=*), intent(in) :: group
|
||||||
integer :: o, instance
|
integer :: o
|
||||||
|
|
||||||
instance = damage_typeInstance(homog)
|
associate(prm => param(damage_typeInstance(homog)))
|
||||||
associate(prm => param(instance))
|
|
||||||
|
|
||||||
outputsLoop: do o = 1,size(prm%outputID)
|
outputsLoop: do o = 1,size(prm%outputID)
|
||||||
select case(prm%outputID(o))
|
select case(prm%outputID(o))
|
||||||
|
|
|
@ -49,7 +49,7 @@ contains
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
subroutine damage_nonlocal_init
|
subroutine damage_nonlocal_init
|
||||||
|
|
||||||
integer :: maxNinstance,homog,instance,i
|
integer :: maxNinstance,homog,i
|
||||||
integer :: sizeState
|
integer :: sizeState
|
||||||
integer :: NofMyHomog, h
|
integer :: NofMyHomog, h
|
||||||
integer(kind(undefined_ID)) :: &
|
integer(kind(undefined_ID)) :: &
|
||||||
|
@ -70,7 +70,6 @@ subroutine damage_nonlocal_init
|
||||||
associate(prm => param(damage_typeInstance(h)), &
|
associate(prm => param(damage_typeInstance(h)), &
|
||||||
config => config_homogenization(h))
|
config => config_homogenization(h))
|
||||||
|
|
||||||
instance = damage_typeInstance(h)
|
|
||||||
outputs = config%getStrings('(output)',defaultVal=emptyStringArray)
|
outputs = config%getStrings('(output)',defaultVal=emptyStringArray)
|
||||||
allocate(prm%outputID(0))
|
allocate(prm%outputID(0))
|
||||||
|
|
||||||
|
@ -86,7 +85,6 @@ subroutine damage_nonlocal_init
|
||||||
homog = h
|
homog = h
|
||||||
|
|
||||||
NofMyHomog = count(material_homogenizationAt == homog)
|
NofMyHomog = count(material_homogenizationAt == homog)
|
||||||
instance = damage_typeInstance(homog)
|
|
||||||
|
|
||||||
|
|
||||||
! allocate state arrays
|
! allocate state arrays
|
||||||
|
@ -237,10 +235,9 @@ subroutine damage_nonlocal_results(homog,group)
|
||||||
|
|
||||||
integer, intent(in) :: homog
|
integer, intent(in) :: homog
|
||||||
character(len=*), intent(in) :: group
|
character(len=*), intent(in) :: group
|
||||||
integer :: o, instance
|
integer :: o
|
||||||
|
|
||||||
instance = damage_typeInstance(homog)
|
associate(prm => param(damage_typeInstance(homog)))
|
||||||
associate(prm => param(instance))
|
|
||||||
|
|
||||||
outputsLoop: do o = 1,size(prm%outputID)
|
outputsLoop: do o = 1,size(prm%outputID)
|
||||||
select case(prm%outputID(o))
|
select case(prm%outputID(o))
|
||||||
|
|
Loading…
Reference in New Issue