2014-03-14 04:50:50 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
|
|
|
!> @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()
|
2018-02-02 17:06:09 +05:30
|
|
|
#if defined(__GFORTRAN__) || __INTEL_COMPILER >= 1800
|
2017-10-05 20:05:34 +05:30
|
|
|
use, intrinsic :: iso_fortran_env, only: &
|
|
|
|
compiler_version, &
|
|
|
|
compiler_options
|
|
|
|
#endif
|
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
|
2018-06-14 10:09:49 +05:30
|
|
|
use config
|
2014-03-14 04:50:50 +05:30
|
|
|
|
2014-08-21 23:18:20 +05:30
|
|
|
implicit none
|
2014-09-19 23:29:06 +05:30
|
|
|
integer(pInt) :: &
|
2018-08-25 14:37:56 +05:30
|
|
|
h, &
|
2014-09-19 23:29:06 +05:30
|
|
|
NofMyHomog
|
|
|
|
|
2017-11-21 19:38:45 +05:30
|
|
|
write(6,'(/,a)') ' <<<+- homogenization_'//HOMOGENIZATION_NONE_label//' init -+>>>'
|
|
|
|
write(6,'(a15,a)') ' Current time: ',IO_timeStamp()
|
2014-03-14 04:50:50 +05:30
|
|
|
#include "compilation_info.f90"
|
|
|
|
|
2018-08-25 14:37:56 +05:30
|
|
|
do h = 1_pInt, size(homogenization_type)
|
|
|
|
if (homogenization_type(h) /= HOMOGENIZATION_NONE_ID) cycle
|
2014-08-21 23:18:20 +05:30
|
|
|
|
2018-08-25 14:37:56 +05:30
|
|
|
NofMyHomog = count(material_homog == h)
|
|
|
|
homogState(h)%sizeState = 0_pInt
|
|
|
|
homogState(h)%sizePostResults = 0_pInt
|
|
|
|
allocate(homogState(h)%state0 (0_pInt,NofMyHomog), source=0.0_pReal)
|
|
|
|
allocate(homogState(h)%subState0(0_pInt,NofMyHomog), source=0.0_pReal)
|
|
|
|
allocate(homogState(h)%state (0_pInt,NofMyHomog), source=0.0_pReal)
|
|
|
|
|
|
|
|
enddo
|
2014-08-21 23:18:20 +05:30
|
|
|
|
2014-03-14 04:50:50 +05:30
|
|
|
end subroutine homogenization_none_init
|
|
|
|
|
|
|
|
end module homogenization_none
|