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()
|
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-10-10 01:53:06 +05:30
|
|
|
use numerics, only: &
|
|
|
|
worldrank
|
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
|
|
|
|
|
2014-10-10 21:51:10 +05:30
|
|
|
mainProcess: if (worldrank == 0) then
|
|
|
|
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"
|
2014-10-10 21:51:10 +05:30
|
|
|
endif mainProcess
|
2014-03-14 04:50:50 +05:30
|
|
|
|
2014-08-21 23:18:20 +05:30
|
|
|
initializeInstances: do homog = 1_pInt, material_Nhomogenization
|
|
|
|
|
|
|
|
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
|