correct name

This commit is contained in:
Martin Diehl 2019-09-19 16:42:33 -07:00
parent f330d647a1
commit e48059d6f1
2 changed files with 9 additions and 9 deletions

@ -1 +1 @@
Subproject commit e99b424f9275505e40ef82615b56ff4b67684dfd
Subproject commit 33d1fc10bc23ccc97e65af023e2105249340805f

View File

@ -170,7 +170,7 @@ module material
microstructure_texture !< texture IDs of each microstructure
real(pReal), dimension(:,:), allocatable, private :: &
texture_Gauss, & !< data of each Gauss component
texture_Eulers, & !< Euler angles in material.config (possibly rotated for alignment)
microstructure_fraction !< vol fraction of each constituent in microstructure
logical, dimension(:), allocatable, private :: &
@ -322,7 +322,7 @@ subroutine material_init
do c = 1, homogenization_Ngrains(discretization_homogenizationAt(e))
material_phaseAt(c,e) = microstructure_phase(c,myMicro)
material_texture(c,i,e) = microstructure_texture(c,myMicro)
material_EulerAngles(1:3,c,i,e) = texture_Gauss(1:3,material_texture(c,i,e)) ! this is a copy of crystallite_orientation0
material_EulerAngles(1:3,c,i,e) = texture_Eulers(1:3,material_texture(c,i,e)) ! this is a copy of crystallite_orientation0
enddo
enddo
enddo
@ -700,7 +700,7 @@ subroutine material_parseTexture
if (config_texture(t)%keyExists('(fiber)')) call IO_error(147,ext_msg='(fiber)')
enddo
allocate(texture_Gauss (3,size(config_texture)), source=0.0_pReal)
allocate(texture_Eulers (3,size(config_texture)), source=0.0_pReal)
do t=1, size(config_texture)
@ -710,11 +710,11 @@ subroutine material_parseTexture
do j = 1,9,2
select case (IO_stringValue(strings(i),chunkPos,j))
case('phi1')
texture_Gauss(1,t) = IO_floatValue(strings(i),chunkPos,j+1)*inRad
texture_Eulers(1,t) = IO_floatValue(strings(i),chunkPos,j+1)*inRad
case('phi')
texture_Gauss(2,t) = IO_floatValue(strings(i),chunkPos,j+1)*inRad
texture_Eulers(2,t) = IO_floatValue(strings(i),chunkPos,j+1)*inRad
case('phi2')
texture_Gauss(3,t) = IO_floatValue(strings(i),chunkPos,j+1)*inRad
texture_Eulers(3,t) = IO_floatValue(strings(i),chunkPos,j+1)*inRad
end select
enddo
enddo
@ -740,8 +740,8 @@ subroutine material_parseTexture
end select
enddo
if(dNeq(math_det33(texture_transformation),1.0_pReal)) call IO_error(157,t)
call eulers%fromEulerAngles(texture_Gauss(:,t))
texture_Gauss(:,t) = math_RtoEuler(matmul(eulers%asRotationMatrix(),texture_transformation))
call eulers%fromEulerAngles(texture_Eulers(:,t))
texture_Eulers(:,t) = math_RtoEuler(matmul(eulers%asRotationMatrix(),texture_transformation))
endif
enddo