forgot intent(in) statements needed for pure routines
This commit is contained in:
parent
f0b4281400
commit
59a265ec7f
|
@ -386,9 +386,10 @@ pure subroutine constitutive_j2_microstructure(Temperature,state,ipc,ip,el)
|
||||||
|
|
||||||
implicit none
|
implicit none
|
||||||
!* Definition of variables
|
!* Definition of variables
|
||||||
integer(pInt) ipc,ip,el, matID
|
integer(pInt), intent(in) :: ipc,ip,el
|
||||||
real(pReal) Temperature
|
real(pReal), intent(in) :: Temperature
|
||||||
type(p_vec), dimension(homogenization_maxNgrains,mesh_maxNips,mesh_NcpElems) :: state
|
type(p_vec), dimension(homogenization_maxNgrains,mesh_maxNips,mesh_NcpElems), intent(in) :: state
|
||||||
|
integer(pInt) :: matID
|
||||||
|
|
||||||
matID = phase_plasticityInstance(material_phase(ipc,ip,el))
|
matID = phase_plasticityInstance(material_phase(ipc,ip,el))
|
||||||
|
|
||||||
|
|
|
@ -640,10 +640,15 @@ end function constitutive_phenopowerlaw_homogenizedC
|
||||||
!> @brief calculate derived quantities from state (dummy subroutine, not used here)
|
!> @brief calculate derived quantities from state (dummy subroutine, not used here)
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
pure subroutine constitutive_phenopowerlaw_microstructure(Temperature,state,ipc,ip,el)
|
pure subroutine constitutive_phenopowerlaw_microstructure(Temperature,state,ipc,ip,el)
|
||||||
|
use prec, only: &
|
||||||
use prec, only: pReal,pInt,p_vec
|
p_vec
|
||||||
use mesh, only: mesh_NcpElems,mesh_maxNips
|
use mesh, only: &
|
||||||
use material, only: homogenization_maxNgrains,material_phase, phase_plasticityInstance
|
mesh_NcpElems, &
|
||||||
|
mesh_maxNips
|
||||||
|
use material, only: &
|
||||||
|
homogenization_maxNgrains, &
|
||||||
|
material_phase, &
|
||||||
|
phase_plasticityInstance
|
||||||
|
|
||||||
implicit none
|
implicit none
|
||||||
integer(pInt), intent(in) :: &
|
integer(pInt), intent(in) :: &
|
||||||
|
@ -652,7 +657,7 @@ pure subroutine constitutive_phenopowerlaw_microstructure(Temperature,state,ipc,
|
||||||
el !current element
|
el !current element
|
||||||
integer(pInt) :: matID
|
integer(pInt) :: matID
|
||||||
real(pReal), intent(in) :: Temperature ! temperature
|
real(pReal), intent(in) :: Temperature ! temperature
|
||||||
type(p_vec), dimension(homogenization_maxNgrains,mesh_maxNips,mesh_NcpElems) :: state
|
type(p_vec), dimension(homogenization_maxNgrains,mesh_maxNips,mesh_NcpElems), intent(in) :: state
|
||||||
|
|
||||||
matID = phase_plasticityInstance(material_phase(ipc,ip,el))
|
matID = phase_plasticityInstance(material_phase(ipc,ip,el))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue