just adopting naming convention
This commit is contained in:
parent
49ae38d0f9
commit
6800a5a6f6
|
@ -33,26 +33,24 @@ subroutine homogenization_none_init()
|
||||||
|
|
||||||
implicit none
|
implicit none
|
||||||
integer(pInt) :: &
|
integer(pInt) :: &
|
||||||
homog, &
|
h, &
|
||||||
NofMyHomog
|
NofMyHomog
|
||||||
|
|
||||||
write(6,'(/,a)') ' <<<+- homogenization_'//HOMOGENIZATION_NONE_label//' init -+>>>'
|
write(6,'(/,a)') ' <<<+- homogenization_'//HOMOGENIZATION_NONE_label//' init -+>>>'
|
||||||
write(6,'(a15,a)') ' Current time: ',IO_timeStamp()
|
write(6,'(a15,a)') ' Current time: ',IO_timeStamp()
|
||||||
#include "compilation_info.f90"
|
#include "compilation_info.f90"
|
||||||
|
|
||||||
initializeInstances: do homog = 1_pInt, material_Nhomogenization
|
do h = 1_pInt, size(homogenization_type)
|
||||||
|
if (homogenization_type(h) /= HOMOGENIZATION_NONE_ID) cycle
|
||||||
|
|
||||||
myhomog: if (homogenization_type(homog) == HOMOGENIZATION_none_ID) then
|
NofMyHomog = count(material_homog == h)
|
||||||
NofMyHomog = count(material_homog == homog)
|
homogState(h)%sizeState = 0_pInt
|
||||||
homogState(homog)%sizeState = 0_pInt
|
homogState(h)%sizePostResults = 0_pInt
|
||||||
homogState(homog)%sizePostResults = 0_pInt
|
allocate(homogState(h)%state0 (0_pInt,NofMyHomog), source=0.0_pReal)
|
||||||
allocate(homogState(homog)%state0 (0_pInt,NofMyHomog), source=0.0_pReal)
|
allocate(homogState(h)%subState0(0_pInt,NofMyHomog), source=0.0_pReal)
|
||||||
allocate(homogState(homog)%subState0(0_pInt,NofMyHomog), source=0.0_pReal)
|
allocate(homogState(h)%state (0_pInt,NofMyHomog), source=0.0_pReal)
|
||||||
allocate(homogState(homog)%state (0_pInt,NofMyHomog), source=0.0_pReal)
|
|
||||||
|
|
||||||
endif myhomog
|
|
||||||
enddo initializeInstances
|
|
||||||
|
|
||||||
|
enddo
|
||||||
|
|
||||||
end subroutine homogenization_none_init
|
end subroutine homogenization_none_init
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue