new mappings
This commit is contained in:
parent
74548d5f51
commit
248bc539cc
|
@ -29,13 +29,13 @@ module material
|
|||
integer, dimension(:), allocatable, public, protected :: & ! (elem)
|
||||
material_homogenizationAt, & !< homogenization ID of each element
|
||||
material_homogenizationID, & !< per cell
|
||||
material_homogenizationEntry !< cell
|
||||
material_homogenizationEntry !< per cell
|
||||
integer, dimension(:,:), allocatable :: & ! (ip,elem)
|
||||
material_homogenizationMemberAt !< position of the element within its homogenization instance
|
||||
integer, dimension(:,:), allocatable, public, protected :: & ! (constituent,elem)
|
||||
material_phaseAt, & !< phase ID of each element
|
||||
material_phaseID, & !< per constituent,cell
|
||||
material_phaseEntry !< per constituent, cell
|
||||
material_phaseID, & !< per (constituent,cell)
|
||||
material_phaseEntry !< per (constituent,cell
|
||||
integer, dimension(:,:,:), allocatable, public, protected :: & ! (constituent,IP,elem)
|
||||
material_phaseMemberAt !< position of the element within its phase instance
|
||||
|
||||
|
|
|
@ -226,10 +226,10 @@ module subroutine mechanical_init(materials,phases)
|
|||
allocate(phase_mechanical_P(phases%length))
|
||||
allocate(phase_mechanical_S0(phases%length))
|
||||
|
||||
allocate(material_orientation0(homogenization_maxNconstituents,phases%length,maxVal(material_phaseMemberAt)))
|
||||
allocate(material_orientation0(homogenization_maxNconstituents,phases%length,maxVal(material_phaseEntry)))
|
||||
|
||||
do ph = 1, phases%length
|
||||
Nmembers = count(material_phaseAt == ph) * discretization_nIPs
|
||||
Nmembers = count(material_phaseID == ph)
|
||||
|
||||
allocate(phase_mechanical_Fi(ph)%data(3,3,Nmembers))
|
||||
allocate(phase_mechanical_Fe(ph)%data(3,3,Nmembers))
|
||||
|
|
Loading…
Reference in New Issue