reverted back to r 3644 to get rid of buggy behavior
This commit is contained in:
parent
ad4bd86fd2
commit
629ff8bdef
|
@ -1261,9 +1261,8 @@ subroutine material_populateGrains
|
||||||
textureOfGrain = 0_pInt
|
textureOfGrain = 0_pInt
|
||||||
orientationOfGrain = 0.0_pReal
|
orientationOfGrain = 0.0_pReal
|
||||||
|
|
||||||
grain = 0_pInt
|
|
||||||
texture: do i = 1_pInt,myNconstituents ! loop over constituents
|
texture: do i = 1_pInt,myNconstituents ! loop over constituents
|
||||||
grain = grain + NgrainsOfConstituent(i-1_pInt) ! set microstructure grain index of current constituent
|
grain = sum(NgrainsOfConstituent(1_pInt:i-1_pInt)) ! set microstructure grain index of current constituent
|
||||||
! "grain" points to start of this constituent's grain population
|
! "grain" points to start of this constituent's grain population
|
||||||
constituentGrain = 0_pInt ! constituent grain index
|
constituentGrain = 0_pInt ! constituent grain index
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue