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
|
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) :: &
|
2014-08-21 23:18:20 +05:30
|
|
|
homog, &
|
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"
|
|
|
|
|
2017-11-21 19:38:45 +05:30
|
|
|
initializeInstances: do homog = 1_pInt, material_Nhomogenization
|
2014-08-21 23:18:20 +05:30
|
|
|
|
|
|
|
myhomog: if (homogenization_type(homog) == HOMOGENIZATION_none_ID) then
|
2014-09-19 23:29:06 +05:30
|
|
|
NofMyHomog = count(material_homog == homog)
|
|
|
|
homogState(homog)%sizeState = 0_pInt
|
2014-08-21 23:18:20 +05:30
|
|
|
homogState(homog)%sizePostResults = 0_pInt
|
2014-09-19 23:29:06 +05:30
|
|
|
allocate(homogState(homog)%state0 (0_pInt,NofMyHomog), source=0.0_pReal)
|
|
|
|
allocate(homogState(homog)%subState0(0_pInt,NofMyHomog), source=0.0_pReal)
|
|
|
|
allocate(homogState(homog)%state (0_pInt,NofMyHomog), source=0.0_pReal)
|
2014-08-21 23:18:20 +05:30
|
|
|
|
|
|
|
endif myhomog
|
|
|
|
enddo initializeInstances
|
2014-09-19 23:29:06 +05:30
|
|
|
|
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
|