polishing

This commit is contained in:
Martin Diehl 2019-06-12 23:31:46 +02:00
parent 44cf2e890b
commit b49feea5e9
1 changed files with 6 additions and 8 deletions

View File

@ -360,6 +360,9 @@ subroutine material_init
enddo enddo
enddo enddo
call config_deallocate('material.config/microstructure')
call config_deallocate('material.config/texture')
#if defined(PETSc) || defined(DAMASK_HDF5) #if defined(PETSc) || defined(DAMASK_HDF5)
call results_openJobFile call results_openJobFile
call results_mapping_constituent(material_phaseAt,material_phaseMemberAt,phase_name) call results_mapping_constituent(material_phaseAt,material_phaseMemberAt,phase_name)
@ -552,14 +555,9 @@ subroutine material_parseMicrostructure
enddo enddo
enddo enddo
if (dNeq(sum(microstructure_fraction(:,m)),1.0_pReal)) call IO_error(153,ext_msg=microstructure_name(m))
enddo enddo
do m = 1, size(config_microstructure)
if (dNeq(sum(microstructure_fraction(:,m)),1.0_pReal)) &
call IO_error(153,ext_msg=microstructure_name(m))
enddo
call config_deallocate('material.config/microstructure')
end subroutine material_parseMicrostructure end subroutine material_parseMicrostructure
@ -702,6 +700,7 @@ subroutine material_parsePhase
end subroutine material_parsePhase end subroutine material_parsePhase
!-------------------------------------------------------------------------------------------------- !--------------------------------------------------------------------------------------------------
!> @brief parses the texture part in the material configuration file !> @brief parses the texture part in the material configuration file
!-------------------------------------------------------------------------------------------------- !--------------------------------------------------------------------------------------------------
@ -766,7 +765,6 @@ subroutine material_parseTexture
enddo enddo
call config_deallocate('material.config/texture')
end subroutine material_parseTexture end subroutine material_parseTexture