replaced FE_maxNipNeighbors with mesh_maxNipNeighbors, which is sufficient for memory allocation, since this gives the maximum of neighbors in all cp elements
This commit is contained in:
parent
77e9b80a16
commit
b559666436
|
@ -227,7 +227,7 @@ use debug, only: debug_level, &
|
||||||
debug_levelBasic
|
debug_levelBasic
|
||||||
use mesh, only: mesh_NcpElems, &
|
use mesh, only: mesh_NcpElems, &
|
||||||
mesh_maxNips, &
|
mesh_maxNips, &
|
||||||
FE_maxNipNeighbors
|
mesh_maxNipNeighbors
|
||||||
use material, only: homogenization_maxNgrains, &
|
use material, only: homogenization_maxNgrains, &
|
||||||
phase_plasticity, &
|
phase_plasticity, &
|
||||||
phase_plasticityInstance, &
|
phase_plasticityInstance, &
|
||||||
|
@ -737,7 +737,7 @@ constitutive_nonlocal_rhoDotAthermalAnnihilation = 0.0_pReal
|
||||||
constitutive_nonlocal_rhoDotThermalAnnihilation = 0.0_pReal
|
constitutive_nonlocal_rhoDotThermalAnnihilation = 0.0_pReal
|
||||||
constitutive_nonlocal_rhoDotEdgeJogs = 0.0_pReal
|
constitutive_nonlocal_rhoDotEdgeJogs = 0.0_pReal
|
||||||
|
|
||||||
allocate(constitutive_nonlocal_compatibility(2,maxTotalNslip, maxTotalNslip, FE_maxNipNeighbors, mesh_maxNips, mesh_NcpElems))
|
allocate(constitutive_nonlocal_compatibility(2,maxTotalNslip, maxTotalNslip, mesh_maxNipNeighbors, mesh_maxNips, mesh_NcpElems))
|
||||||
constitutive_nonlocal_compatibility = 0.0_pReal
|
constitutive_nonlocal_compatibility = 0.0_pReal
|
||||||
|
|
||||||
allocate(constitutive_nonlocal_peierlsStress(maxTotalNslip,2,maxNinstance))
|
allocate(constitutive_nonlocal_peierlsStress(maxTotalNslip,2,maxNinstance))
|
||||||
|
@ -1186,7 +1186,7 @@ use mesh, only: &
|
||||||
mesh_ipAreaNormal, &
|
mesh_ipAreaNormal, &
|
||||||
mesh_ipArea, &
|
mesh_ipArea, &
|
||||||
FE_NipNeighbors, &
|
FE_NipNeighbors, &
|
||||||
FE_maxNipNeighbors, &
|
mesh_maxNipNeighbors, &
|
||||||
FE_geomtype, &
|
FE_geomtype, &
|
||||||
FE_celltype
|
FE_celltype
|
||||||
use material, only: &
|
use material, only: &
|
||||||
|
@ -1258,7 +1258,7 @@ real(pReal), dimension(3,3) :: invFe, & ! inverse of elast
|
||||||
invFp, & ! inverse of plastic deformation gradient
|
invFp, & ! inverse of plastic deformation gradient
|
||||||
connections, &
|
connections, &
|
||||||
invConnections
|
invConnections
|
||||||
real(pReal), dimension(3,FE_maxNipNeighbors) :: &
|
real(pReal), dimension(3,mesh_maxNipNeighbors) :: &
|
||||||
connection_latticeConf
|
connection_latticeConf
|
||||||
real(pReal), dimension(2,constitutive_nonlocal_totalNslip(phase_plasticityInstance(material_phase(gr,ip,el)))) :: &
|
real(pReal), dimension(2,constitutive_nonlocal_totalNslip(phase_plasticityInstance(material_phase(gr,ip,el)))) :: &
|
||||||
rhoExcess
|
rhoExcess
|
||||||
|
@ -1269,7 +1269,7 @@ real(pReal), dimension(constitutive_nonlocal_totalNslip(phase_plasticityInstance
|
||||||
real(pReal), dimension(constitutive_nonlocal_totalNslip(phase_plasticityInstance(material_phase(gr,ip,el))), &
|
real(pReal), dimension(constitutive_nonlocal_totalNslip(phase_plasticityInstance(material_phase(gr,ip,el))), &
|
||||||
constitutive_nonlocal_totalNslip(phase_plasticityInstance(material_phase(gr,ip,el)))) :: &
|
constitutive_nonlocal_totalNslip(phase_plasticityInstance(material_phase(gr,ip,el)))) :: &
|
||||||
myInteractionMatrix ! corrected slip interaction matrix
|
myInteractionMatrix ! corrected slip interaction matrix
|
||||||
real(pReal), dimension(2,maxval(constitutive_nonlocal_totalNslip),FE_maxNipNeighbors) :: &
|
real(pReal), dimension(2,maxval(constitutive_nonlocal_totalNslip),mesh_maxNipNeighbors) :: &
|
||||||
neighboring_rhoExcess, & ! excess density at neighboring material point
|
neighboring_rhoExcess, & ! excess density at neighboring material point
|
||||||
neighboring_rhoTotal ! total density at neighboring material point
|
neighboring_rhoTotal ! total density at neighboring material point
|
||||||
real(pReal), dimension(3,constitutive_nonlocal_totalNslip(phase_plasticityInstance(material_phase(gr,ip,el))),2) :: &
|
real(pReal), dimension(3,constitutive_nonlocal_totalNslip(phase_plasticityInstance(material_phase(gr,ip,el))),2) :: &
|
||||||
|
@ -2059,7 +2059,6 @@ use math, only: math_norm3, &
|
||||||
use mesh, only: mesh_NcpElems, &
|
use mesh, only: mesh_NcpElems, &
|
||||||
mesh_maxNips, &
|
mesh_maxNips, &
|
||||||
mesh_element, &
|
mesh_element, &
|
||||||
mesh_maxNipNeighbors, &
|
|
||||||
mesh_ipNeighborhood, &
|
mesh_ipNeighborhood, &
|
||||||
mesh_ipVolume, &
|
mesh_ipVolume, &
|
||||||
mesh_ipArea, &
|
mesh_ipArea, &
|
||||||
|
|
Loading…
Reference in New Issue