2014-03-14 04:50:50 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
|
|
|
! $Id$
|
|
|
|
!--------------------------------------------------------------------------------------------------
|
|
|
|
!> @author Franz Roters, Max-Planck-Institut für Eisenforschung GmbH
|
|
|
|
!> @author Philip Eisenlohr, Max-Planck-Institut für Eisenforschung GmbH
|
2014-05-08 23:14:28 +05:30
|
|
|
!> @author Martin Diehl, Max-Planck-Institut für Eisenforschung GmbH
|
|
|
|
!> @brief dummy homogenization homogenization scheme
|
2014-03-14 04:50:50 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
|
|
|
module homogenization_none
|
2014-05-08 23:14:28 +05:30
|
|
|
|
2014-03-14 04:50:50 +05:30
|
|
|
implicit none
|
|
|
|
private
|
|
|
|
|
|
|
|
public :: &
|
|
|
|
homogenization_none_init
|
|
|
|
|
|
|
|
contains
|
|
|
|
|
|
|
|
!--------------------------------------------------------------------------------------------------
|
|
|
|
!> @brief allocates all neccessary fields, reads information from material configuration file
|
|
|
|
!--------------------------------------------------------------------------------------------------
|
2014-05-08 23:14:28 +05:30
|
|
|
subroutine homogenization_none_init()
|
2014-03-14 04:50:50 +05:30
|
|
|
use, intrinsic :: iso_fortran_env ! to get compiler_version and compiler_options (at least for gfortran 4.6 at the moment)
|
2014-08-21 23:18:20 +05:30
|
|
|
use prec, only: &
|
|
|
|
pReal, &
|
|
|
|
pInt
|
2014-05-08 23:14:28 +05:30
|
|
|
use IO, only: &
|
|
|
|
IO_timeStamp
|
2014-08-21 23:18:20 +05:30
|
|
|
use material
|
2014-03-14 04:50:50 +05:30
|
|
|
|
2014-08-21 23:18:20 +05:30
|
|
|
implicit none
|
|
|
|
#ifdef NEWSTATE
|
|
|
|
integer :: &
|
|
|
|
homog, &
|
|
|
|
NofMyHomog, &
|
|
|
|
instance, &
|
|
|
|
sizeHState
|
|
|
|
#endif
|
2014-03-14 04:50:50 +05:30
|
|
|
write(6,'(/,a)') ' <<<+- homogenization_'//HOMOGENIZATION_NONE_label//' init -+>>>'
|
|
|
|
write(6,'(a)') ' $Id$'
|
|
|
|
write(6,'(a15,a)') ' Current time: ',IO_timeStamp()
|
|
|
|
#include "compilation_info.f90"
|
|
|
|
|
2014-08-21 23:18:20 +05:30
|
|
|
#ifdef NEWSTATE
|
|
|
|
initializeInstances: do homog = 1_pInt, material_Nhomogenization
|
|
|
|
|
|
|
|
myhomog: if (homogenization_type(homog) == HOMOGENIZATION_none_ID) then
|
|
|
|
NofMyHomog = count(material_homog == homog)
|
|
|
|
! instance = phase_plasticityInstance(phase)
|
|
|
|
|
|
|
|
! allocate homogenization state arrays
|
|
|
|
sizeHState = 0_pInt
|
|
|
|
homogState(homog)%sizeState = sizeHState
|
|
|
|
homogState(homog)%sizePostResults = 0_pInt
|
|
|
|
allocate(homogState(homog)%state0 ( sizeHState,NofMyHomog), source=0.0_pReal)
|
|
|
|
allocate(homogState(homog)%subState0 ( sizeHState,NofMyHomog), source=0.0_pReal)
|
|
|
|
allocate(homogState(homog)%state ( sizeHState,NofMyHomog), source=0.0_pReal)
|
|
|
|
|
|
|
|
endif myhomog
|
|
|
|
enddo initializeInstances
|
|
|
|
#endif
|
|
|
|
|
2014-03-14 04:50:50 +05:30
|
|
|
end subroutine homogenization_none_init
|
|
|
|
|
|
|
|
end module homogenization_none
|