added remark to include looping over sources of same type within one phase. (for instance to accommodate different activity periods.)

This commit is contained in:
Philip Eisenlohr 2015-07-16 17:20:18 +00:00
parent 3c9d6df889
commit 25a03e128a
1 changed files with 4 additions and 3 deletions

View File

@ -272,9 +272,10 @@ subroutine source_damage_isoBrittle_deltaState(C, Fe, ipc, ip, el)
stiffness(6,6), &
strainenergy
phase = mappingConstitutive(2,ipc,ip,el)
constituent = mappingConstitutive(1,ipc,ip,el)
instance = source_damage_isoBrittle_instance(phase)
phase = mappingConstitutive(2,ipc,ip,el) !< phase ID at ipc,ip,el
constituent = mappingConstitutive(1,ipc,ip,el) !< state array offset for phase ID at ipc,ip,el
! ToDo: capability for multiple instances of SAME source within given phase. Needs Ninstance loop from here on!
instance = source_damage_isoBrittle_instance(phase) !< instance of damage_isoBrittle source
sourceOffset = source_damage_isoBrittle_offset(phase)
stiffness = C