corrected constitutive_getVacancyPotentialDrivingForce function

This commit is contained in:
Pratheek Shanthraj 2014-11-26 00:04:06 +00:00
parent 36dc59b09f
commit 32ee3a4a66
1 changed files with 1 additions and 8 deletions

View File

@ -1799,17 +1799,10 @@ real(pReal) function constitutive_getVacancyPotentialDrivingForce(ipc, ip, el)
ipc, & !< grain number ipc, & !< grain number
ip, & !< integration point number ip, & !< integration point number
el !< element number el !< element number
real(pReal), dimension(3,3) :: &
constitutive_getVacancyMobility33
real(pReal), dimension(:), allocatable :: &
accumulatedSlip
integer(pInt) :: &
nSlip
select case(phase_vacancy(material_phase(ipc,ip,el))) select case(phase_vacancy(material_phase(ipc,ip,el)))
case (LOCAL_VACANCY_generation_ID) case (LOCAL_VACANCY_generation_ID)
call constitutive_getAccumulatedSlip(nSlip,accumulatedSlip,ipc,ip,el) constitutive_getVacancyPotentialDrivingForce = &
constitutive_getVacancyMobility33 = &
vacancy_generation_getVacancyPotentialDrivingForce(constitutive_getDamage(ipc, ip, el), & vacancy_generation_getVacancyPotentialDrivingForce(constitutive_getDamage(ipc, ip, el), &
ipc,ip,el) ipc,ip,el)