parameters easier to identify

This commit is contained in:
Martin Diehl 2018-08-28 12:57:22 +02:00
parent 4112da183e
commit 7f00082d60
1 changed files with 21 additions and 4 deletions

View File

@ -21,16 +21,32 @@ module homogenization_RGC
homogenization_RGC_output ! name of each post result output
integer(pInt), dimension(:), allocatable,target, public :: &
homogenization_RGC_Noutput !< number of outputs per homog instance
type, private :: tParameters !< container type for internal constitutive parameters
integer(pInt), dimension(:), allocatable :: &
Nconstituents
real(pReal) :: &
xiAlpha, &
ciAlpha
real(pReal), dimension(:), allocatable :: &
dAlpha, &
angles
end type
! BEGIN DEPRECATED
integer(pInt), dimension(:,:), allocatable, private :: &
homogenization_RGC_Ngrains
real(pReal), dimension(:,:), allocatable, private :: &
homogenization_RGC_dAlpha, &
homogenization_RGC_angles
real(pReal), dimension(:,:,:,:), allocatable, private :: &
homogenization_RGC_orientation
real(pReal), dimension(:), allocatable, private :: &
homogenization_RGC_xiAlpha, &
homogenization_RGC_ciAlpha
! END DEPRECATED
real(pReal), dimension(:,:,:,:), allocatable, private :: &
homogenization_RGC_orientation
enum, bind(c)
enumerator :: undefined_ID, &
constitutivework_ID, &
@ -130,6 +146,7 @@ subroutine homogenization_RGC_init(fileUnit)
write(6,'(a16,1x,i5,/)') '# instances:',maxNinstance
allocate(homogenization_RGC_sizeState(maxNinstance), source=0_pInt)
allocate(homogenization_RGC_sizePostResults(maxNinstance), source=0_pInt)
allocate(homogenization_RGC_Noutput(maxNinstance), source=0_pInt)
allocate(homogenization_RGC_Ngrains(3,maxNinstance), source=0_pInt)
allocate(homogenization_RGC_ciAlpha(maxNinstance), source=0.0_pReal)